Comments (6)
This comment was originally opened by @ethankhall as hashicorp/terraform#4302 (comment). It was migrated here as part of the provider split. The original comment is below.
The issue happens when you have a network interface that doesn't have an IP address. Making the second NIC get an IP lets apply continue. This can happen if you use systemd-networkd and you don't have the catchall dhcp setup and only one nic get an IP.
from terraform-provider-vsphere.
This comment was originally opened by @phinze as hashicorp/terraform#4302 (comment). It was migrated here as part of the provider split. The original comment is below.
Relevant snippet from the crash log:
2015/12/13 18:34:37 [DEBUG] terraform-provider-vsphere: panic: interface conversion: interface is nil, not string
2015/12/13 18:34:37 [DEBUG] terraform-provider-vsphere:
2015/12/13 18:34:37 [DEBUG] terraform-provider-vsphere: goroutine 82 [running]:
2015/12/13 18:34:37 [DEBUG] terraform-provider-vsphere: github.com/hashicorp/terraform/builtin/providers/vsphere.resourceVSphereVirtualMachineRead(0xc8202e7980, 0xefc100, 0xc8203d7eb0, 0x0, 0x0)
2015/12/13 18:34:37 [DEBUG] terraform-provider-vsphere: /private/tmp/terraform20151202-21396-jm3im7/terraform-0.6.8/src/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_virtual_machine.go:427 +0x2121
2015/12/13 18:34:37 [DEBUG] terraform-provider-vsphere: github.com/hashicorp/terraform/builtin/providers/vsphere.resourceVSphereVirtualMachineCreate(0xc8202e7980, 0xefc100, 0xc8203d7eb0, 0x0, 0x0)
2015/12/13 18:34:37 [DEBUG] terraform-provider-vsphere: /private/tmp/terraform20151202-21396-jm3im7/terraform-0.6.8/src/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_virtual_machine.go:344 +0x1af3
from terraform-provider-vsphere.
This comment was originally opened by @chrislovecnm as hashicorp/terraform#4302 (comment). It was migrated here as part of the provider split. The original comment is below.
We are currently rewriting that block of code, because of another issue.hashicorp/terraform#4112 - this is not a duplicate issue, but is in the exact same code blocks.
@tkak something else to consider. I noticed that possible nil previously, and forgot to file an issue.
from terraform-provider-vsphere.
This comment was originally opened by @chrislovecnm as hashicorp/terraform#4302 (comment). It was migrated here as part of the provider split. The original comment is below.
Will push this in a large PR that I am working on
from terraform-provider-vsphere.
This comment was originally opened by @chrislovecnm as hashicorp/terraform#4302 (comment). It was migrated here as part of the provider split. The original comment is below.
Fixed in hashicorp/terraform#7031 - when merged
from terraform-provider-vsphere.
This issue is dated, and with the 1.x release, the referenced bug is more than likely no longer relevant. If anyone is still getting a crash related to this issue, please open a new issue with the pertinent details!
from terraform-provider-vsphere.
Related Issues (20)
- Each apply reboots for attributes update `ept_rvi_mode` and `hv_mode` HOT 4
- Add support to configure auto-start / power-on of virtual machine resources HOT 1
- Add support for [or cluster for 3 zone Deployments HOT 3
- error: error reconfiguring virtual machine: error reconfiguring virtual machine: Invalid operation for device '0' HOT 3
- `customize { windows_options { domain_ou` path containing spaces fails with error HOT 17
- Unable to create/add additional disks to virtual machine HOT 4
- domain_ou unable to find proper ou and dc HOT 5
- error: error reconfiguring virtual machine: error reconfiguring virtual machine: Invalid operation for device '0' HOT 3
- Virtual machine is rebooted when a new SCSI Controller is added to the machine HOT 1
- custom_attributes are not applying to vsphere_vapp_container resource HOT 6
- Add support for adding notes to vsphere_vapp_container HOT 4
- Add support for custom_attributes in resource vsphere_vapp_container HOT 1
- The resource vim.dvs.DistributedVirtualPort is not available in vim.dvs.DistributedVirtualPortgroup HOT 6
- add a disk on a exists vm will recreate this VM HOT 6
- Add support for shutdown or start VM HOT 1
- Creating r/virtual_machine with multiple PCI passthrough devices is not supported
- Plugin did not respond : Stack trace from the terraform-provider-vsphere_v2.8.2_x5.exe plugin HOT 5
- provider is not using HTTPS_PROXY variable HOT 2
- Error: error cloning virtual machine: A specified parameter was not correct: spec.disk.backing.crypto HOT 1
- Needing help with pull request for vapp_transport HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-vsphere.