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
Ok. So I am confused. The title of this issue reflects the error that I am currently receiving when attempting to clone a vm from a template. Based on the research that I have done, this is not a new issue (see references at bottom), but these various issues have been closed as resolved. I found that a merge was performed into the Master branch to address this issue, so I am dumbfounded as to why I am still getting the error:
Based on what I have read, the issue used to occur due to the fact that terraform requires that a network adapter be configured and added to the vm being created, which would generate the error due to the fact the vm would always have one additional nic than the number of nics originally present in the template. Apparently, terraform was updated in such a way that, when terraform clones a vm, terrraform will first removes all of the nics from the vm being cloned so that it can then add them back using the configurations in the terraform file. So, once again, dumbfounded as to why I am getting this error, as the terrafrom configuration file that I am using is almost completely copied from the vsphere provider "vsphere_virtual_machine resource" template provided for cloning a vm: https://www.terraform.io/docs/providers/vsphere/r/virtual_machine.html
the vm resource was not created with the below logged error:
vsphere_virtual_machine.vm: error sending customization spec: fault.NicSettingMismatch.summary
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
This issue was originally opened by @whiggs as hashicorp/terraform#18717. It was migrated here as a result of the provider split. The original body of the issue is below.
Ok. So I am confused. The title of this issue reflects the error that I am currently receiving when attempting to clone a vm from a template. Based on the research that I have done, this is not a new issue (see references at bottom), but these various issues have been closed as resolved. I found that a merge was performed into the Master branch to address this issue, so I am dumbfounded as to why I am still getting the error:
vsphere_virtual_machine.vm: error sending customization spec: fault.NicSettingMismatch.summary
Based on what I have read, the issue used to occur due to the fact that terraform requires that a network adapter be configured and added to the vm being created, which would generate the error due to the fact the vm would always have one additional nic than the number of nics originally present in the template. Apparently, terraform was updated in such a way that, when terraform clones a vm, terrraform will first removes all of the nics from the vm being cloned so that it can then add them back using the configurations in the terraform file. So, once again, dumbfounded as to why I am getting this error, as the terrafrom configuration file that I am using is almost completely copied from the vsphere provider "vsphere_virtual_machine resource" template provided for cloning a vm:
https://www.terraform.io/docs/providers/vsphere/r/virtual_machine.html
Terraform Version
Terraform v0.11.8
vSphere Provider Version
Affected Resource(s)
vsphere_virtual_machine
Terraform Configuration Files
Debug Output
https://gist.github.com/whiggs/4f6ae08aa2fbbe68f41cd9da68aab339
Expected Behavior
The vm should be created in vsphere
Actual Behavior
the vm resource was not created with the below logged error:
vsphere_virtual_machine.vm: error sending customization spec: fault.NicSettingMismatch.summary
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
vsphere vCenter Server Version 5.5.0
References
hashicorp/terraform#3559
hashicorp/terraform#3560
hashicorp/terraform#3624
hashicorp/terraform#3652
The text was updated successfully, but these errors were encountered: