Skip to content

Instantly share code, notes, and snippets.

@mkuzmin
Created April 8, 2017 12:24
Show Gist options
  • Save mkuzmin/d95d79c149d99674e892d0b665dfdccc to your computer and use it in GitHub Desktop.
Save mkuzmin/d95d79c149d99674e892d0b665dfdccc to your computer and use it in GitHub Desktop.
terraform-provider-vmware crash
C:\Users\michael.kuzmin\Projects\go\src\github.com\mkuzmin\terraform-provider-vmware>terraform apply test\1-empty
vmware_virtual_machine.vm: Creating...
cpus: "" => "<computed>"
datacenter: "" => "<computed>"
datastore: "" => "<computed>"
folder: "" => "<computed>"
host: "" => "<computed>"
image: "" => "empty"
ip_address: "" => "<computed>"
linked_clone: "" => "false"
memory: "" => "<computed>"
name: "" => "vm-1"
power_on: "" => "false"
resource_pool: "" => "<computed>"
Error applying plan:
1 error(s) occurred:
* vmware_virtual_machine.vm: 1 error(s) occurred:
* vmware_virtual_machine.vm: unexpected EOF
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
anypanic: interface conversion: interface {} is main.providerMeta, not *main.providerMeta
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe:
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: goroutine 81 [running]:
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: main.resourceVirtualMachineCreate(0xc0423cebd0, 0xf9d660, 0xc042441f40, 0x0, 0x0)
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: C:/Users/michael.kuzmin/Projects/go/src/github.com/mkuzmin/terraform-provider-vmware/resource_virt
ual_machine.go:112 +0x4115
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: github.com/mkuzmin/terraform-provider-vmware/vendor/github.com/hashicorp/terraform/helper/schema.(*Reso
urce).Apply(0xc0423ccc60, 0xc042273770, 0xc0423d75c0, 0xf9d660, 0xc042441f40, 0x1, 0x28, 0xc0423fe4e0)
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: C:/Users/michael.kuzmin/Projects/go/src/github.com/mkuzmin/terraform-provider-vmware/vendor/github
.com/hashicorp/terraform/helper/schema/resource.go:186 +0x494
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: github.com/mkuzmin/terraform-provider-vmware/vendor/github.com/hashicorp/terraform/helper/schema.(*Prov
ider).Apply(0xc0423ce930, 0xc042273720, 0xc042273770, 0xc0423d75c0, 0x2d10920, 0x0, 0x0)
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: C:/Users/michael.kuzmin/Projects/go/src/github.com/mkuzmin/terraform-provider-vmware/vendor/github
.com/hashicorp/terraform/helper/schema/provider.go:242 +0xa2
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: github.com/mkuzmin/terraform-provider-vmware/vendor/github.com/hashicorp/terraform/plugin.(*ResourcePro
viderServer).Apply(0xc0423d6ee0, 0xc0423d7020, 0xc0423d5180, 0x0, 0x0)
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: C:/Users/michael.kuzmin/Projects/go/src/github.com/mkuzmin/terraform-provider-vmware/vendor/github
.com/hashicorp/terraform/plugin/resource_provider.go:488 +0x5e
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: reflect.Value.call(0xc04226fe00, 0xc04235a318, 0x13, 0x10b0b39, 0x4, 0xc04238bf20, 0x3, 0x3, 0xc042244e
a0, 0xe0fa60, ...)
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: C:/Tools/go-1.8.0/src/reflect/value.go:434 +0x926
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: reflect.Value.Call(0xc04226fe00, 0xc04235a318, 0x13, 0xc04238bf20, 0x3, 0x3, 0xc042275bc0, 0x0, 0x0)
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: C:/Tools/go-1.8.0/src/reflect/value.go:302 +0xab
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: net/rpc.(*service).call(0xc042299ac0, 0xc042299a80, 0xc042293f98, 0xc04235cb80, 0xc0423aac00, 0xdd6ea0,
0xc0423d7020, 0x16, 0xdd6ee0, 0xc0423d5180, ...)
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: C:/Tools/go-1.8.0/src/net/rpc/server.go:387 +0x14b
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: created by net/rpc.(*Server).ServeCodec
2017/04/08 15:12:33 [DEBUG] plugin: terraform-provider-vmware.exe: C:/Tools/go-1.8.0/src/net/rpc/server.go:481 +0x40b
2017/04/08 15:12:33 [DEBUG] root: eval: *terraform.EvalWriteState
2017/04/08 15:12:33 [DEBUG] root: eval: *terraform.EvalApplyProvisioners
2017/04/08 15:12:33 [DEBUG] root: eval: *terraform.EvalIf
2017/04/08 15:12:33 [DEBUG] root: eval: *terraform.EvalWriteState
2017/04/08 15:12:33 [DEBUG] root: eval: *terraform.EvalWriteDiff
2017/04/08 15:12:33 [DEBUG] root: eval: *terraform.EvalApplyPost
2017/04/08 15:12:33 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* vmware_virtual_machine.vm: unexpected EOF
2017/04/08 15:12:33 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* vmware_virtual_machine.vm: unexpected EOF
2017/04/08 15:12:33 [TRACE] [walkApply] Exiting eval tree: vmware_virtual_machine.vm
2017/04/08 15:12:33 [DEBUG] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)"
2017/04/08 15:12:33 [TRACE] Preserving existing state lineage "b7d08c8b-a7e8-4420-8408-f2a0751e96b5"
2017/04/08 15:12:33 [DEBUG] plugin: C:\Users\michael.kuzmin\Projects\go\src\github.com\mkuzmin\terraform-provider-vmware\terraform-provider-vmware.exe: plugin process exi
ted
2017/04/08 15:12:33 [TRACE] Preserving existing state lineage "b7d08c8b-a7e8-4420-8408-f2a0751e96b5"
2017/04/08 15:12:33 [DEBUG] plugin: waiting for all plugin processes to complete...
2017/04/08 15:12:33 [WARN] plugin: error closing client during Kill: connection is shut down
resources th
a!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.
When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
t successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
C:\Users\michael.kuzmin\Projects\go\src\github.com\mkuzmin\terraform-provider-vmware>terraform version
Terraform v0.9.1
Your version of Terraform is out of date! The latest version
is 0.9.2. You can update by downloading from www.terraform.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment