Skip to content

Instantly share code, notes, and snippets.

@gpetrousov
Created December 5, 2018 14:15
Show Gist options
  • Save gpetrousov/437c9002d7045b25faaaf27edf78b0c6 to your computer and use it in GitHub Desktop.
Save gpetrousov/437c9002d7045b25faaaf27edf78b0c6 to your computer and use it in GitHub Desktop.
Terraform crash on vdc dnat config
2018/12/05 15:05:22 [TRACE] root: eval: *terraform.EvalApply
2018/12/05 15:05:22 [DEBUG] apply: vcd_dnat.ssh: executing Apply
2018-12-05T15:05:22.115+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: 2018/12/05 15:05:22 [DEBUG] Waiting for state to become: [success]
2018-12-05T15:05:23.096+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: 2018/12/05 15:05:23 [TRACE] Waiting 500ms before next try
2018-12-05T15:05:23.388+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: 2018/12/05 15:05:23 [DEBUG] Waiting for state to become: [success]
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: panic: runtime error: invalid memory address or nil pointer dereference
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x15a71f0]
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4:
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: goroutine 50 [running]:
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: github.com/terraform-providers/terraform-provider-vcd/vendor/github.com/ukcloud/govcloudair.(*EdgeGateway).AddNATPortMapping(0xc42000f9d0, 0x1783fd7, 0x4, 0xc42000f8e0, 0xb, 0xc42000f960, 0x5, 0xc42000f890, 0xe, 0xc42000f9c8, ...)
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vcd/vendor/github.com/ukcloud/govcloudair/edgegateway.go:215 +0xd0
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: github.com/terraform-providers/terraform-provider-vcd/vcd.resourceVcdDNATCreate.func1(0x2)
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vcd/vcd/resource_vcd_dnat.go:79 +0x188
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: github.com/terraform-providers/terraform-provider-vcd/vendor/github.com/hashicorp/terraform/helper/resource.Retry.func1(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vcd/vendor/github.com/hashicorp/terraform/helper/resource/wait.go:22 +0x78
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: github.com/terraform-providers/terraform-provider-vcd/vendor/github.com/hashicorp/terraform/helper/resource.(*StateChangeConf).WaitForState.func1(0xc420445e00, 0xc42025afc0, 0xc420319680, 0xc420445e60, 0xc42046dd60, 0xc42046dd28)
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vcd/vendor/github.com/hashicorp/terraform/helper/resource/state.go:103 +0x1c8
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: created by github.com/terraform-providers/terraform-provider-vcd/vendor/github.com/hashicorp/terraform/helper/resource.(*StateChangeConf).WaitForState
2018-12-05T15:05:23.391+0100 [DEBUG] plugin.terraform-provider-vcd_v1.0.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-vcd/vendor/github.com/hashicorp/terraform/helper/resource/state.go:195 +0x249
2018-12-05T15:05:23.395+0100 [DEBUG] plugin: plugin process exited: path=/Users/ipetro/workdir/terraform_example/.terraform/plugins/darwin_amd64/terraform-provider-vcd_v1.0.0_x4
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalWriteState
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalApplyProvisioners
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalIf
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalWriteState
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalWriteDiff
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalApplyPost
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalWriteState
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalApplyProvisioners
2018/12/05 15:05:23 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* vcd_dnat.ssh: unexpected EOF
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalIf
2018/12/05 15:05:23 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* vcd_dnat.ssh: unexpected EOF
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalWriteState
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalWriteDiff
2018/12/05 15:05:23 [TRACE] root: eval: *terraform.EvalApplyPost
2018/12/05 15:05:23 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* vcd_vapp.terravapp: unexpected EOF
2018/12/05 15:05:23 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* vcd_vapp.terravapp: unexpected EOF
2018/12/05 15:05:23 [TRACE] [walkApply] Exiting eval tree: vcd_dnat.ssh
2018/12/05 15:05:23 [TRACE] [walkApply] Exiting eval tree: vcd_vapp.terravapp
2018/12/05 15:05:23 [TRACE] dag/walk: upstream errored, not walking "vcd_vapp_vm.terravm0"
2018/12/05 15:05:23 [TRACE] dag/walk: upstream errored, not walking "vcd_vapp_vm.terravm1"
2018/12/05 15:05:23 [TRACE] dag/walk: upstream errored, not walking "provider.vcd (close)"
2018/12/05 15:05:23 [TRACE] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)"
2018/12/05 15:05:23 [TRACE] dag/walk: upstream errored, not walking "root"
2018/12/05 15:05:23 [TRACE] Preserving existing state lineage "6321090c-f1df-60c6-a456-f06a5fdffd4a"
2018/12/05 15:05:23 [TRACE] Preserving existing state lineage "6321090c-f1df-60c6-a456-f06a5fdffd4a"
2018/12/05 15:05:23 [TRACE] Preserving existing state lineage "6321090c-f1df-60c6-a456-f06a5fdffd4a"
2018/12/05 15:05:23 [DEBUG] plugin: waiting for all plugin processes to complete...
2018-12-05T15:05:23.402+0100 [WARN ] plugin: error closing client during Kill: err="connection is shut down"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment