You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vote on this issue by adding a π reaction to the original issue initial description to help the maintainers prioritize.
Do not leave "+1" or other comments that do not add relevant information or questions.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Terraform
1.4.6
Terraform Provider
v2.6.0
VMware vSphere
8.0.2 Build 22617221
Description
Attempting to use the resource vsphere_virtual_machine to clone an existing VM template with 4x network adaptors, that are all of type vmxnet3. You can see this is the outputs below, but the adaptors on the template vs the provisioned resource should look like this β
Network adapter #4 should be replaced by the new sr-iov network adapter , sr-iov network adapter #5 should be added as new dapter
Actual Behavior
Error: error reconfiguring virtual machine: error processing network device changes post-clone: network_interface.3: changing the network_interface list such that there is a change in adapter_type to or from sriov for a particular index of network_interface is not supported.
Index 3, old adapter_type vmxnet3, new adapter_type sriov
Delete all the sriov network interfaces, apply, and then re-add network interfaces and reapply instead.
with module.f5_pci_t2_vm_instances.vsphere_virtual_machine.appliance_vms[1],
on .terraform/modules/f5_pci_t2_vm_instances/main.tf line 49, in resource "vsphere_virtual_machine" "appliance_vms":
49: resource "vsphere_virtual_machine" "appliance_vms" {
Steps to Reproduce
Deploy template with 4 vxnet3 network adapters. On clone replace vmxnet3 adapter 4 with sr-iov network adapter and add one more sr-iov adapter
Environment Details
No response
Screenshots
No response
References
No response
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days β³. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Guidelines
Terraform
1.4.6
Terraform Provider
v2.6.0
VMware vSphere
8.0.2 Build 22617221
Description
Attempting to use the resource vsphere_virtual_machine to clone an existing VM template with 4x network adaptors, that are all of type vmxnet3. You can see this is the outputs below, but the adaptors on the template vs the provisioned resource should look like this β
VM Template Adapters β
#1 β vmxnet3
#2 β vmxnet3
#3 β vmxnet3
#4 β vmxnet3
Provisioned Resource Adapters
#1 β vmxnet3
#2 β vmxnet3
#3 β vmxnet3
#4 β sriov
#5 - sriov
When doing so, it appears that the check for existing SR-IOV adaptors is getting triggered even when there arenβt existing SR-IOV adaptors.
Affected Resources or Data Sources
resource vsphere_virtual_machine
Terraform Configuration
Debug Output
N/A
Panic Output
No response
Expected Behavior
Network adapter #4 should be replaced by the new sr-iov network adapter , sr-iov network adapter #5 should be added as new dapter
Actual Behavior
Steps to Reproduce
Deploy template with 4 vxnet3 network adapters. On clone replace vmxnet3 adapter 4 with sr-iov network adapter and add one more sr-iov adapter
Environment Details
No response
Screenshots
No response
References
No response
The text was updated successfully, but these errors were encountered: