Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vsphere network interfaces #3560

Closed
eloycoto opened this issue Oct 20, 2015 · 4 comments
Closed

Vsphere network interfaces #3560

eloycoto opened this issue Oct 20, 2015 · 4 comments

Comments

@eloycoto
Copy link
Contributor

Hi,

Using the following config, we have the following issue:

resource "vsphere_virtual_machine" "testb" {
  datacenter = "XXX"
  cluster = "XXX"
  name   = "terraformweb4"
  vcpu   = 1
  memory = 256

  network_interface {
    label = "Staging"
  }

  disk {
    datastore = "datastore_XXX"
    template =  "x_template"
    size=10
  }
}

The template (x_template) has one network address, when terraform clone the template, terraform added a new network interface, so the vsphere crash with NicSeetingMismatch.

1 error(s) occurred:
* vsphere_virtual_machine.testb: fault.NicSettingMismatch.summary
2015/10/20 10:14:35 [DEBUG] vertex provider.vsphere (close), got dep: vsphere_virtual_machine.testb
re_virtual_machine.testb: fault.NicSettingMismatch.summary

2015/10/20 10:14:35 [DEBUG] vertex root, got dep: provider.vsphere (close)
2015/10/20 10:14:35 [DEBUG] vertex root, got dep: provisioner.remote-exec
2015/10/20 10:14:35 [DEBUG] vertex root, got dep: provisioner.chef
2015/10/20 10:14:35 [DEBUG] waiting for all plugin processes to complete...
2015/10/20 10:14:35 [DEBUG] /Users/eloy/.go/bin/terraform-provisioner-remote-exec: plugin process exited
2015/10/20 10:14:35 [DEBUG] /Users/eloy/.go/bin/terraform-provisioner-local-exec: plugin process exited
2015/10/20 10:14:35 [DEBUG] /Users/eloy/.go/bin/terTerraform does not araform-provider-vsphere: plugin process exited
2015/10/20 10:14:35 [DEBUG] /Users/eloy/.go/bin/terraform-provisioner-chef: plugin process exited
2015/10/20 10:14:35 [DEBUG] /Users/eloy/.go/bin/terraform-provisioner-file: plugin process exited
utomatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

If my template doesn't have any network interface works ok. Is this the correct process? Or the system need to update the label of the interfaces?

If the template has one interface, the system added a new one.

Our POV is the system need to update the interfaces or create a new ones, but not sure that we are correct.

Regards.

@eloycoto
Copy link
Contributor Author

Hi,

You can merge into #3559, looks like that @mkuzmin and me are working on this at the same time.

Cheers.

@mkuzmin
Copy link
Contributor

mkuzmin commented Oct 20, 2015

As an issue reporter, you can close it by yourself.

@eloycoto
Copy link
Contributor Author

@mkuzmin yep, thanks.

@ghost
Copy link

ghost commented Apr 30, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants