Git Product home page Git Product logo

Comments (8)

hashibot avatar hashibot commented on July 18, 2024

This comment was originally posted by @phinze as hashicorp/terraform#5180 (comment). It was migrated here as part of the provider split. The original comment is below.


Thanks for this report @pizzaops. Pulling out the relevant panic backtrace:

2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: panic: runtime error: invalid memory address or nil pointer dereference
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: [signal 0xb code=0x1 addr=0x0 pc=0xfd1b9]
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: 
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: goroutine 84 [running]:
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: github.com/hashicorp/terraform/vendor/github.com/vmware/govmomi/object.(*Task).WaitForResult(0x0, 0x1eba550, 0xc82005ec90, 0x0, 0x0, 0x49, 0x0, 0x0)
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere:     /private/tmp/terraform20160217-73210-145j4ow/terraform-0.6.11/src/github.com/hashicorp/terraform/vendor/github.com/vmware/govmomi/object/task.go:50 +0x39
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: github.com/hashicorp/terraform/vendor/github.com/vmware/govmomi/object.(*Task).Wait(0x0, 0x1eba550, 0xc82005ec90, 0x0, 0x0)
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere:     /private/tmp/terraform20160217-73210-145j4ow/terraform-0.6.11/src/github.com/hashicorp/terraform/vendor/github.com/vmware/govmomi/object/task.go:45 +0x4d
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: github.com/hashicorp/terraform/builtin/providers/vsphere.(*virtualMachine).createVirtualMachine(0xc820116120, 0xc8205a12b0, 0x0, 0x0)
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere:     /private/tmp/terraform20160217-73210-145j4ow/terraform-0.6.11/src/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_virtual_machine.go:961 +0x212a
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: github.com/hashicorp/terraform/builtin/providers/vsphere.resourceVSphereVirtualMachineCreate(0xc820514540, 0xf4c000, 0xc8205a12b0, 0x0, 0x0)
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere:     /private/tmp/terraform20160217-73210-145j4ow/terraform-0.6.11/src/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_virtual_machine.go:399 +0x2865
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc8205b37c0, 0xc820554a80, 0xc8205a1a00, 0xf4c000, 0xc8205a12b0, 0x10101, 0x0, 0x0)
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere:     /private/tmp/terraform20160217-73210-145j4ow/terraform-0.6.11/src/github.com/hashicorp/terraform/helper/schema/resource.go:145 +0x28e
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc820014ab0, 0xc8200f7340, 0xc820554a80, 0xc8205a1a00, 0x1, 0x0, 0x0)
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere:     /private/tmp/terraform20160217-73210-145j4ow/terraform-0.6.11/src/github.com/hashicorp/terraform/helper/schema/provider.go:162 +0x1ed
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: github.com/hashicorp/terraform/rpc.(*ResourceProviderServer).Apply(0xc8202fed80, 0xc82056d740, 0xc8205a1de0, 0x0, 0x0)
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere:     /private/tmp/terraform20160217-73210-145j4ow/terraform-0.6.11/src/github.com/hashicorp/terraform/rpc/resource_provider.go:323 +0x76
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: reflect.Value.call(0xbf7300, 0xefeac0, 0x13, 0xf68248, 0x4, 0xc820387ea8, 0x3, 0x3, 0x0, 0x0, ...)
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere:     /usr/local/Cellar/go/1.5.3/libexec/src/reflect/value.go:432 +0x120a
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere: reflect.Value.Call(0xbf7300, 0xefeac0, 0x13, 0xc820387ea8, 0x3, 0x3, 0x0, 0x0, 0x0)
2016/02/17 16:23:50 [DEBUG] terraform-provider-vsphere:     /usr/local/Cellar/go/1.5.3/libexec/src/reflect/value.go:300 +0xb1

Tagging and we'll take a look!

from terraform-provider-vsphere.

hashibot avatar hashibot commented on July 18, 2024

This comment was originally posted by @pizzaops as hashicorp/terraform#5180 (comment). It was migrated here as part of the provider split. The original comment is below.


Sure thing. It's vSphere 5.5 btw.

from terraform-provider-vsphere.

hashibot avatar hashibot commented on July 18, 2024

This comment was originally posted by @pizzaops as hashicorp/terraform#5180 (comment). It was migrated here as part of the provider split. The original comment is below.


Heya @phinze! How are things going on this? Any thoughts on if or when there might be a fix?

At some point I need to learn Go so that I can contribute to this...

from terraform-provider-vsphere.

hashibot avatar hashibot commented on July 18, 2024

This comment was originally posted by @phinze as hashicorp/terraform#5180 (comment). It was migrated here as part of the provider split. The original comment is below.


Hi @pizzaops - my apologies for not getting around to this yet - we're still without an official Terraform vSphere Provider maintainer so vsphere issues are slower going.

Do you still experience this crash on Terraform v0.6.14? Can you also include the config that produces the crash for you?

from terraform-provider-vsphere.

vancluever avatar vancluever commented on July 18, 2024

Hey @pizzaops! Very sorry for the delay here. We have recently merged a update to govmomi that may fix these issues - if you have the capabilities, can you attempt to build a custom provider binary and see if this fixes your issue? If not, we will be releasing a new version next week.

Thanks again and sorry for the delays!

from terraform-provider-vsphere.

big-samantha avatar big-samantha commented on July 18, 2024

@vancluever I discovered this bug in February 2016 as I was exploring various provisioning tools to see what we might use for vSphere, at a client of an employer I no longer work for.

I have not touched terraform even once since February 2016 :)

from terraform-provider-vsphere.

vancluever avatar vancluever commented on July 18, 2024

Thanks @pizzaops. Sorry you had issues with the tool at the time. 😞

Just a note - I am now the official vSphere provider maintainer that @phinze was referring to - so if you find your way in TF-land again, we are planning on fleshing out the resources offered in the provider and also making sure bugs are addressed in a timely manner.

Take care and thanks for the response!

from terraform-provider-vsphere.

big-samantha avatar big-samantha commented on July 18, 2024

Highly likely that I'll be in tf land again soon, highly unlikely it'll be with vSphere though. Thanks for all your efforts!

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.