Giter Club home page Giter Club logo

Comments (6)

hashibot avatar hashibot commented on August 27, 2024

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.

hashibot avatar hashibot commented on August 27, 2024

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.

hashibot avatar hashibot commented on August 27, 2024

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.

hashibot avatar hashibot commented on August 27, 2024

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.

hashibot avatar hashibot commented on August 27, 2024

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.

vancluever avatar vancluever commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.