Skip to content

Instantly share code, notes, and snippets.

@franzramadhan
Created June 7, 2017 09:22
Show Gist options
  • Save franzramadhan/1396b23198f8f9e59c4fd9c7f6e4ae17 to your computer and use it in GitHub Desktop.
Save franzramadhan/1396b23198f8f9e59c4fd9c7f6e4ae17 to your computer and use it in GitHub Desktop.
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
Error running plan: 1 error(s) occurred:
* provider.proxmox: unexpected EOF
panic: runtime error: invalid memory address or nil pointer dereference
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: [signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x97f6dd]
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox:
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: goroutine 54 [running]:
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: github.com/Telmate/proxmox-api-go/proxmox.ResponseJSON(0x0, 0xb5a212)
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/github.com/Telmate/proxmox-api-go/proxmox/session.go:62 +0x4d
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: github.com/Telmate/proxmox-api-go/proxmox.(*Session).Login(0xc4202d6680, 0xc4202d04d0, 0x4, 0xc4202d0520, 0x7, 0xc4202d0901, 0xc4202d66c0)
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/github.com/Telmate/proxmox-api-go/proxmox/session.go:78 +0x1c3
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: github.com/Telmate/proxmox-api-go/proxmox.(*Client).Login(0xc4202d66c0, 0xc4202d04d0, 0x4, 0xc4202d0520, 0x7, 0xc420299180, 0xb58858)
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/github.com/Telmate/proxmox-api-go/proxmox/client.go:67 +0x8a
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: github.com/Telmate/terraform-provider-proxmox/proxmox.getClient(0xc42028f920, 0x21, 0xc4202d04d0, 0x4, 0xc4202d0520, 0x7, 0xc42028ed80, 0xc420294410, 0xc420294410)
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/github.com/Telmate/terraform-provider-proxmox/proxmox/provider.go:64 +0x1a2
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: github.com/Telmate/terraform-provider-proxmox/proxmox.providerConfigure(0xc420299180, 0xc420299180, 0xc42028f740, 0xc42028d540, 0x0)
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/github.com/Telmate/terraform-provider-proxmox/proxmox/provider.go:53 +0x143
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: github.com/hashicorp/terraform/helper/schema.(*Provider).Configure(0xc420298930, 0xc42028f740, 0x0, 0x0)
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/github.com/hashicorp/terraform/helper/schema/provider.go:223 +0xed
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Configure(0xc42028cd00, 0xc42028f740, 0xc420296408, 0x0, 0x0)
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/github.com/hashicorp/terraform/plugin/resource_provider.go:478 +0x42
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: reflect.Value.call(0xc42001d920, 0xc420296260, 0x13, 0xb51ba4, 0x4, 0xc42003df20, 0x3, 0x3, 0x20002, 0xc42023271c, ...)
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/reflect/value.go:434 +0x91f
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: reflect.Value.Call(0xc42001d920, 0xc420296260, 0x13, 0xc420232720, 0x3, 0x3, 0x9ddb92, 0x180001, 0x0)
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/reflect/value.go:302 +0xa4
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: net/rpc.(*service).call(0xc42028bd00, 0xc42028bcc0, 0xc420289f38, 0xc4202b8100, 0xc42028cda0, 0xafe8e0, 0xc42028f740, 0x16, 0xa31160, 0xc420296408, ...)
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/net/rpc/server.go:387 +0x144
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: created by net/rpc.(*Server).ServeCodec
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: /usr/local/go/src/net/rpc/server.go:481 +0x404
2017/06/07 16:16:57 [ERROR] root: eval: *terraform.EvalConfigProvider, err: unexpected EOF
2017/06/07 16:16:57 [ERROR] root: eval: *terraform.EvalSequence, err: unexpected EOF
2017/06/07 16:16:57 [ERROR] root: eval: *terraform.EvalOpFilter, err: unexpected EOF
2017/06/07 16:16:57 [ERROR] root: eval: *terraform.EvalSequence, err: unexpected EOF
2017/06/07 16:16:57 [TRACE] [walkPlan] Exiting eval tree: provider.proxmox
2017/06/07 16:16:57 [DEBUG] dag/walk: upstream errored, not walking "proxmox_vm_qemu.testing"
2017/06/07 16:16:57 [DEBUG] plugin: /usr/local/go/bin/terraform-provider-proxmox: plugin process exited
2017/06/07 16:16:57 [DEBUG] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)"
2017/06/07 16:16:57 [DEBUG] dag/walk: upstream errored, not walking "provider.proxmox (close)"
2017/06/07 16:16:57 [DEBUG] dag/walk: upstream errored, not walking "root"
2017/06/07 16:16:57 [DEBUG] plugin: waiting for all plugin processes to complete...
2017/06/07 16:16:57 [WARN] plugin: error closing client during Kill: connection is shut down
!!!!!!!!!!!!!!!!!!!!!!!!!!! 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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment