Comments (8)
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.
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.
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.
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.
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.
@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.
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.
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)
- vsphere_virtual_disk created on v2.6.1 errors when running terraform plan with v2.7.0 HOT 4
- After some changes in network configuration VM is recreating HOT 4
- DNS not working after deploying from a template in Rocky Linux HOT 3
- ovf_deploy fails in Terraform on Windows 10 HOT 3
- vsphere guest os customization not applying HOT 5
- Add support for "High with Hyperthreading" option for `latency_sensitivity` HOT 3
- Terraform apply cpu/memory change would reboot guest VM even if hot add is enabled for CPU and memory HOT 12
- Support for hot add CPU and memory is broken HOT 3
- Provider crashes after converting vm to template HOT 3
- Unpredictable disk type creation when cloning VM from the template with thin disk type HOT 4
- Add support for domain_OU windows customization HOT 4
- Add support for vSphere Zones as Terraform Resources HOT 1
- Plan/Apply shows wrong disk values and created clone with wrong disk values HOT 2
- ept_rvi_mode and hv_mode Changing Value after v2.8.0 update HOT 6
- Add reference to `api_timeout` in `r/vsphere_virtual_machine` documentation HOT 2
- Add instance_uuid parameter to datasource vsphere_virtual_machine HOT 3
- Issue with disks upon restore/snapshot revert HOT 3
- 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 2
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.