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

Terraform crash on Mac OSX #19531

Closed
wiwa1978 opened this issue Dec 2, 2018 · 2 comments
Closed

Terraform crash on Mac OSX #19531

wiwa1978 opened this issue Dec 2, 2018 · 2 comments

Comments

@wiwa1978
Copy link

wiwa1978 commented Dec 2, 2018

Terraform version: 0.11.10
Go runtime version: go1.11.2
MAC OSX: 10.14.1

Use case: Trying to create a virtual machine on vSphere.

The attached zip file contains the files "ubuntu-01.tf" and "variables.tf" that can be used for debugging.

Archive.zip
crash.log

Stack Trace:

2018-12-02T19:53:28.196+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: panic: interface conversion: interface {} is nil, not string
2018-12-02T19:53:28.196+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 
2018-12-02T19:53:28.196+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: goroutine 199 [running]:
2018-12-02T19:53:28.196+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: github.com/terraform-providers/terraform-provider-vsphere/vsphere/internal/helper/structure.SliceInterfacesToStrings(0xc42030d310, 0x1, 0x1, 0x1de20a0, 0xc42069c600, 0x0)
2018-12-02T19:53:28.196+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vsphere/vsphere/internal/helper/structure/structure_helper.go:35 +0x1a6
2018-12-02T19:53:28.196+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: github.com/terraform-providers/terraform-provider-vsphere/vsphere/internal/vmworkflow.expandCustomizationGlobalIPSettings(0xc4202e2e00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
2018-12-02T19:53:28.196+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vsphere/vsphere/internal/vmworkflow/virtual_machine_customize_subresource.go:272 +0xa4
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: github.com/terraform-providers/terraform-provider-vsphere/vsphere/internal/vmworkflow.ExpandCustomizationSpec(0xc4202e2e00, 0xc420523700, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vsphere/vsphere/internal/vmworkflow/virtual_machine_customize_subresource.go:476 +0x9d
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: github.com/terraform-providers/terraform-provider-vsphere/vsphere.resourceVSphereVirtualMachineCreateClone(0xc4202e2e00, 0x1e73b80, 0xc420436ff0, 0x1de20a0, 0xc42069c720, 0x0)
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vsphere/vsphere/resource_vsphere_virtual_machine.go:1106 +0x1c33
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: github.com/terraform-providers/terraform-provider-vsphere/vsphere.resourceVSphereVirtualMachineCreate(0xc4202e2e00, 0x1e73b80, 0xc420436ff0, 0xc4202e2e00, 0x0)
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vsphere/vsphere/resource_vsphere_virtual_machine.go:238 +0x1f7
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: github.com/terraform-providers/terraform-provider-vsphere/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc420285340, 0xc4202bb040, 0xc42069c3e0, 0x1e73b80, 0xc420436ff0, 0x1, 0xc420434b10, 0x0)
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vsphere/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:227 +0x364
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: github.com/terraform-providers/terraform-provider-vsphere/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc420285b90, 0xc4202baff0, 0xc4202bb040, 0xc42069c3e0, 0x340e000, 0x0, 0x0)
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vsphere/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:283 +0xa4
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: github.com/terraform-providers/terraform-provider-vsphere/vendor/github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Apply(0xc4207c7500, 0xc42069c380, 0xc42030d1d0, 0x0, 0x0)
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vsphere/vendor/github.com/hashicorp/terraform/plugin/resource_provider.go:527 +0x57
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: reflect.Value.call(0xc42005b920, 0xc42000c008, 0x13, 0x20fdf68, 0x4, 0xc42052cf20, 0x3, 0x3, 0x0, 0x0, ...)
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/usr/local/go/src/reflect/value.go:434 +0x905
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: reflect.Value.Call(0xc42005b920, 0xc42000c008, 0x13, 0xc4203f8f20, 0x3, 0x3, 0xc4204cd5c0, 0xc4203f8f28, 0xc420182340)
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/usr/local/go/src/reflect/value.go:302 +0xa4
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: net/rpc.(*service).call(0xc4207c2040, 0xc420082050, 0xc42080c0b0, 0xc42030e000, 0xc420714020, 0x1d8f2e0, 0xc42069c380, 0x16, 0x1d8f320, 0xc42030d1d0, ...)
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/usr/local/go/src/net/rpc/server.go:381 +0x142
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: created by net/rpc.(*Server).ServeCodec
2018-12-02T19:53:28.197+0100 [DEBUG] plugin.terraform-provider-vsphere_v1.5.0_x4: 	/usr/local/go/src/net/rpc/server.go:475 +0x36b
@wiwa1978 wiwa1978 changed the title Terraform crasg on Mac OSX Terraform crash on Mac OSX Dec 2, 2018
@ghost ghost added bug crash labels Dec 3, 2018
@ghost
Copy link

ghost commented Dec 3, 2018

This issue has been automatically migrated to hashicorp/terraform-provider-vsphere#665 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to hashicorp/terraform-provider-vsphere#665.

@ghost ghost closed this as completed Dec 3, 2018
@ghost
Copy link

ghost commented Mar 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 Mar 30, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants