Terraform Crash

640 views
Skip to first unread message

Sanjay Shitole

unread,
Feb 27, 2017, 4:12:00 PM2/27/17
to Terraform
Hello Team,
I saw this crash on Terraform any help will be appreciated. Please let me know how to proceed with the bug.




  tag:        "" => "120"

bigip_ltm_pool.pool: Creating...

  allow_nat:           "" => "true"

  allow_snat:          "" => "false"

  load_balancing_mode: "" => "round-robin"

  monitors.#:          "" => "1"

  monitors.1095875955: "" => "/Common/terraform_monitor"

  name:                "" => "/Common/terraform-pool"

  nodes.#:             "" => "1"

  nodes.3780987411:    "" => "19.19.19.19:80"

Error applying plan:


2 error(s) occurred:


* bigip_ltm_pool.pool: unexpected EOF

* bigip_ltm_vlan.vlan: unexpected EOF


Terraform does not automatically rollback in the face of errors.

Instead, your Terraform state file has been partially updated with

any resources that successfully completed. Please address the error

above and apply again to incrementally change your infrastructure.

panic: interface conversion: interface is string, not int

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: 

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: goroutine 24 [running]:

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: panic(0x5b6fc0, 0xc4202a5600)

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: /usr/local/go/src/runtime/panic.go:500 +0x1a1

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: github.com/terraform-provider-bigip/bigip.resourceBigipLtmVlanCreate(0xc42021ca80, 0x6510e0, 0xc42029a9b0, 0x5b8f20, 0xc784)

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: /Users/shitole/dev/src/github.com/terraform-provider-bigip/bigip/resource_bigip_ltm_vlan.go:50 +0x124

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: github.com/terraform-provider-bigip/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc4203670e0, 0xc42053a1e0, 0xc420296ee0, 0x6510e0, 0xc42029a9b0, 0x1, 0xc4202bf230, 0x0)

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: /Users/shitole/dev/src/github.com/terraform-provider-bigip/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:162 +0x30e

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: github.com/terraform-provider-bigip/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc420367140, 0xc42053a190, 0xc42053a1e0, 0xc420296ee0, 0x0, 0x18, 0x18)

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: /Users/shitole/dev/src/github.com/terraform-provider-bigip/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:212 +0x9b

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: github.com/terraform-provider-bigip/vendor/github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Apply(0xc4204790c0, 0xc420296940, 0xc4202b8de0, 0x0, 0x0)

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: /Users/shitole/dev/src/github.com/terraform-provider-bigip/vendor/github.com/hashicorp/terraform/plugin/resource_provider.go:488 +0x57

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: reflect.Value.call(0xc42021d500, 0xc4202cc488, 0x13, 0x654d6d, 0x4, 0xc42036bee0, 0x3, 0x3, 0x0, 0x0, ...)

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: /usr/local/go/src/reflect/value.go:434 +0x5c8

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: reflect.Value.Call(0xc42021d500, 0xc4202cc488, 0x13, 0xc42036bee0, 0x3, 0x3, 0x0, 0x0, 0x0)

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: /usr/local/go/src/reflect/value.go:302 +0xa4

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: net/rpc.(*service).call(0xc420484fc0, 0xc420484f80, 0xc4204a22e0, 0xc4202c4c00, 0xc4204ca540, 0x5588e0, 0xc420296940, 0x16, 0x558920, 0xc4202b8de0, ...)

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: /usr/local/go/src/net/rpc/server.go:383 +0x148

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: created by net/rpc.(*Server).ServeCodec

2017/02/27 13:07:44 [DEBUG] plugin: terraform-provider-bigip: /usr/local/go/src/net/rpc/server.go:477 +0x421

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalApplyProvisioners

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalIf

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalApplyPost

2017/02/27 13:07:44 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:


* bigip_ltm_pool.pool: unexpected EOF

2017/02/27 13:07:44 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:


* bigip_ltm_pool.pool: unexpected EOF

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalApplyProvisioners

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalIf

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalApplyPost

2017/02/27 13:07:44 [TRACE] [walkApply] Exiting eval tree: bigip_ltm_pool.pool

2017/02/27 13:07:44 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:


* bigip_ltm_vlan.vlan: unexpected EOF

2017/02/27 13:07:44 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:


* bigip_ltm_vlan.vlan: unexpected EOF

2017/02/27 13:07:44 [TRACE] [walkApply] Exiting eval tree: bigip_ltm_vlan.vlan

2017/02/27 13:07:44 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "bigip_ltm_vlan.vlan"

2017/02/27 13:07:44 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "bigip_ltm_pool.pool"

2017/02/27 13:07:44 [INFO] Starting shadow graph walk: walkApply

2017/02/27 13:07:44 [DEBUG] Waiting for shadow graph to complete...

2017/02/27 13:07:44 [DEBUG] plugin: /Users/shitole/dev/src/github.com/terraform-provider-bigip/terraform-provider-bigip: plugin process exited

2017/02/27 13:07:44 [DEBUG] vertex 'root.provider.bigip': walking

2017/02/27 13:07:44 [DEBUG] vertex 'root.provider.bigip': evaluating

2017/02/27 13:07:44 [TRACE] [walkApply] Entering eval tree: provider.bigip

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalSequence

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalInitProvider

2017/02/27 13:07:44 [DEBUG] root: eval: terraform.EvalNoop

2017/02/27 13:07:44 [DEBUG] root: eval: terraform.EvalNoop

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalOpFilter

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalSequence

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalGetProvider

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalInterpolate

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalSetProviderConfig

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalOpFilter

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalSequence

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalConfigProvider

2017/02/27 13:07:44 [TRACE] [walkApply] Exiting eval tree: provider.bigip

2017/02/27 13:07:44 [DEBUG] vertex "bigip_ltm_vlan.vlan", got dep: "provider.bigip"

2017/02/27 13:07:44 [DEBUG] vertex 'root.bigip_ltm_vlan.vlan': walking

2017/02/27 13:07:44 [DEBUG] vertex "bigip_ltm_pool.pool", got dep: "provider.bigip"

2017/02/27 13:07:44 [DEBUG] vertex 'root.bigip_ltm_pool.pool': walking

2017/02/27 13:07:44 [DEBUG] vertex 'root.bigip_ltm_vlan.vlan': evaluating

2017/02/27 13:07:44 [TRACE] [walkApply] Entering eval tree: bigip_ltm_vlan.vlan

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalSequence

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalInstanceInfo

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalReadDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalIf

2017/02/27 13:07:44 [DEBUG] root: eval: terraform.EvalNoop

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalIf

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalInterpolate

2017/02/27 13:07:44 [DEBUG] vertex 'root.bigip_ltm_pool.pool': evaluating

2017/02/27 13:07:44 [TRACE] [walkApply] Entering eval tree: bigip_ltm_pool.pool

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalSequence

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalInstanceInfo

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalReadDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalIf

2017/02/27 13:07:44 [DEBUG] root: eval: terraform.EvalNoop

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalIf

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalInterpolate

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalGetProvider

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalReadState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalValidateResource

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalReadDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalCompareDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalGetProvider

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalReadState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalApply

2017/02/27 13:07:44 [DEBUG] apply: bigip_ltm_vlan.vlan: executing Apply

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalApplyProvisioners

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalIf

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalApplyPost

2017/02/27 13:07:44 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:


* bigip_ltm_vlan.vlan: unexpected EOF

2017/02/27 13:07:44 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:


* bigip_ltm_vlan.vlan: unexpected EOF

2017/02/27 13:07:44 [TRACE] [walkApply] Exiting eval tree: bigip_ltm_vlan.vlan

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalGetProvider

2017/02/27 13:07:44 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "bigip_ltm_vlan.vlan"

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalReadState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalValidateResource

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalReadDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalCompareDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalGetProvider

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalReadState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalApply

2017/02/27 13:07:44 [DEBUG] apply: bigip_ltm_pool.pool: executing Apply

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalApplyProvisioners

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalIf

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteState

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalWriteDiff

2017/02/27 13:07:44 [DEBUG] root: eval: *terraform.EvalApplyPost

2017/02/27 13:07:44 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:


* bigip_ltm_pool.pool: unexpected EOF

2017/02/27 13:07:44 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:


* bigip_ltm_pool.pool: unexpected EOF

2017/02/27 13:07:44 [TRACE] [walkApply] Exiting eval tree: bigip_ltm_pool.pool

2017/02/27 13:07:44 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "bigip_ltm_pool.pool"

2017/02/27 13:07:44 [ERROR] Shadow graph error: 2 error(s) occurred:


* bigip_ltm_vlan.vlan: unexpected EOF

* bigip_ltm_pool.pool: unexpected EOF

2017/02/27 13:07:44 [TRACE] Preserving existing state lineage "f9bf6e09-57ad-4e87-845c-39a95aa36ddf"

2017/02/27 13:07:44 [TRACE] Preserving existing state lineage "f9bf6e09-57ad-4e87-845c-39a95aa36ddf"

2017/02/27 13:07:44 [DEBUG] plugin: waiting for all plugin processes to complete...




!!!!!!!!!!!!!!!!!!!!!!!!!!! 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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!

SJC-ML-SHITOLE:terraform-provider-bigip shitole$ 

Sanjay Shitole

unread,
Feb 27, 2017, 4:25:42 PM2/27/17
to Terraform

SJC-ML-SHITOLE:terraform-provider-bigip shitole$ terraform --version

Terraform v0.8.1


Your version of Terraform is out of date! The latest version

is 0.8.7. You can update by downloading from www.terraform.io

SJC-ML-SHITOLE:terraform-provider-bigip shitole$ 

Reply all
Reply to author
Forward
0 new messages