Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
terraform debug
digitalocean_record.CNAME-etcd-master[0]: Destroying... (ID: 53624507)
digitalocean_record.CNAME-etcd-slave: Destroying... (ID: 53624508)
digitalocean_record.CNAME-etcd-master[1]: Destroying... (ID: 53624510)
digitalocean_record.CNAME-etcd-master[2]: Destroying... (ID: 53624509)
digitalocean_droplet.etcd-master[0]: Modifying... (ID: 107157586)
ipv6: "" => "true"
digitalocean_droplet.etcd-master[1]: Modifying... (ID: 107157585)
ipv6: "" => "true"
digitalocean_droplet.etcd-master[2]: Modifying... (ID: 107157588)
ipv6: "" => "true"
digitalocean_droplet.etcd-slave: Modifying... (ID: 107157589)
ipv6: "" => "true"
digitalocean_record.CNAME-etcd-slave: Destruction complete after 0s
digitalocean_record.CNAME-etcd-master[2]: Destruction complete after 1s
digitalocean_record.CNAME-etcd-master[1]: Destruction complete after 1s
digitalocean_record.CNAME-etcd-master[0]: Destruction complete after 1s
digitalocean_droplet.etcd-master.0: Still modifying... (ID: 107157586, 10s elapsed)
digitalocean_droplet.etcd-master.1: Still modifying... (ID: 107157585, 10s elapsed)
digitalocean_droplet.etcd-master.2: Still modifying... (ID: 107157588, 10s elapsed)
digitalocean_droplet.etcd-slave: Still modifying... (ID: 107157589, 10s elapsed)
Error: Error applying plan:
4 error(s) occurred:
* digitalocean_droplet.etcd-master[2]: 1 error(s) occurred:
* digitalocean_droplet.etcd-master.2: unexpected EOF
* digitalocean_droplet.etcd-master[0]: 1 error(s) occurred:
* digitalocean_droplet.etcd-master.0: unexpected EOF
* digitalocean_droplet.etcd-master[1]: 1 error(s) occurred:
* digitalocean_droplet.etcd-master.1: unexpected EOF
* digitalocean_droplet.etcd-slave: 1 error(s) occurred:
* digitalocean_droplet.etcd-slave: 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 bool, not string
2018-08-26T06:51:06.495+0300 [DEBUG] plugin.terraform-provider-digitalocean_v0.1.3_x4:
2018-08-26T06:51:06.495+0300 [DEBUG] plugin.terraform-provider-digitalocean_v0.1.3_x4: goroutine 186 [running]:
2018-08-26T06:51:06.495+0300 [DEBUG] plugin.terraform-provider-digitalocean_v0.1.3_x4: github.com/terraform-providers/terraform-provider-digitalocean/digitalocean.newDropletStateRefreshFunc.func1(0xc420384f20, 0x1, 0x0, 0x0, 0xc4200b7805, 0x8)
2018-08-26T06:51:06.495+0300 [DEBUG] plugin.terraform-provider-digitalocean_v0.1.3_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-digitalocean/digitalocean/resource_digitalocean_droplet.go:619 +0x5af
2018-08-26T06:51:06.495+0300 [DEBUG] plugin.terraform-provider-digitalocean_v0.1.3_x4: github.com/terraform-providers/terraform-provider-digitalocean/vendor/github.com/hashicorp/terraform/helper/resource.(*StateChangeConf).WaitForState.func1(0xc420398e40, 0xc420267880, 0xc4203cb2c0, 0xc4202622a0, 0xc42048db10, 0xc42048db08)
2018-08-26T06:51:06.495+0300 [DEBUG] plugin.terraform-provider-digitalocean_v0.1.3_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-digitalocean/vendor/github.com/hashicorp/terraform/helper/resource/state.go:103 +0x4e0
2018-08-26T06:51:06.495+0300 [DEBUG] plugin.terraform-provider-digitalocean_v0.1.3_x4: created by github.com/terraform-providers/terraform-provider-digitalocean/vendor/github.com/hashicorp/terraform/helper/resource.(*StateChangeConf).WaitForState
2018-08-26T06:51:06.495+0300 [DEBUG] plugin.terraform-provider-digitalocean_v0.1.3_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-digitalocean/vendor/github.com/hashicorp/terraform/helper/resource/state.go:80 +0x1d0
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteState
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteState
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteState
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalApplyProvisioners
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalIf
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteState
2018-08-26T06:51:06.496+0300 [DEBUG] plugin: plugin process exited: path=/home/holms/Dev/contracts/lympo/app-devops/prod/terraform/.terraform/plugins/linux_amd64/terraform-provider-digitalocean_v0.1.3_x4
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteDiff
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalApplyPost
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalApplyProvisioners
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalIf
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteState
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteDiff
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalApplyPost
2018/08/26 06:51:06 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* digitalocean_droplet.etcd-master.2: unexpected EOF
2018/08/26 06:51:06 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* digitalocean_droplet.etcd-master.2: unexpected EOF
2018/08/26 06:51:06 [TRACE] [walkApply] Exiting eval tree: digitalocean_droplet.etcd-master[2]
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalApplyProvisioners
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalIf
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteState
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteDiff
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalApplyPost
2018/08/26 06:51:06 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* digitalocean_droplet.etcd-master.1: unexpected EOF
2018/08/26 06:51:06 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* digitalocean_droplet.etcd-master.1: unexpected EOF
2018/08/26 06:51:06 [TRACE] [walkApply] Exiting eval tree: digitalocean_droplet.etcd-master[1]
2018/08/26 06:51:06 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* digitalocean_droplet.etcd-slave: unexpected EOF
2018/08/26 06:51:06 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* digitalocean_droplet.etcd-slave: unexpected EOF
2018/08/26 06:51:06 [TRACE] [walkApply] Exiting eval tree: digitalocean_droplet.etcd-slave
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteState
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalApplyProvisioners
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalIf
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteState
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalWriteDiff
2018/08/26 06:51:06 [TRACE] root: eval: *terraform.EvalApplyPost
2018/08/26 06:51:06 [TRACE] dag/walk: upstream errored, not walking "digitalocean_record.CNAME-etcd-slave-ipv4"
2018/08/26 06:51:06 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred:
* digitalocean_droplet.etcd-master.0: unexpected EOF
2018/08/26 06:51:06 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred:
* digitalocean_droplet.etcd-master.0: unexpected EOF
2018/08/26 06:51:06 [TRACE] [walkApply] Exiting eval tree: digitalocean_droplet.etcd-master[0]
2018/08/26 06:51:06 [TRACE] dag/walk: upstream errored, not walking "digitalocean_record.CNAME-etcd-master-ipv4[2]"
2018/08/26 06:51:06 [TRACE] dag/walk: upstream errored, not walking "digitalocean_record.CNAME-etcd-master-ipv4[1]"
2018/08/26 06:51:06 [TRACE] dag/walk: upstream errored, not walking "provisioner.remote-exec (close)"
2018/08/26 06:51:06 [TRACE] dag/walk: upstream errored, not walking "digitalocean_record.CNAME-etcd-master-ipv4[0]"
2018/08/26 06:51:06 [TRACE] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)"
2018/08/26 06:51:06 [TRACE] dag/walk: upstream errored, not walking "provider.digitalocean (close)"
2018/08/26 06:51:06 [TRACE] dag/walk: upstream errored, not walking "root"
2018/08/26 06:51:06 [TRACE] Preserving existing state lineage "12c86453-488a-4ae1-86e7-89134865d46c"
2018/08/26 06:51:06 [TRACE] Preserving existing state lineage "12c86453-488a-4ae1-86e7-89134865d46c"
2018/08/26 06:51:06 [TRACE] Preserving existing state lineage "12c86453-488a-4ae1-86e7-89134865d46c"
2018/08/26 06:51:06 [DEBUG] plugin: waiting for all plugin processes to complete...
2018-08-26T06:51:06.516+0300 [WARN ] plugin: error closing client during Kill: err="connection is shut down"
2018-08-26T06:51:06.517+0300 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2018/08/26 06:51:06 [ERR] plugin: plugin server: accept unix /tmp/plugin078466860: use of closed network connection
2018-08-26T06:51:06.517+0300 [DEBUG] plugin.terraform: remote-exec-provisioner (internal) 2018/08/26 06:51:06 [DEBUG] plugin: waiting for all plugin processes to complete...
2018-08-26T06:51:06.517+0300 [DEBUG] plugin.terraform: file-provisioner (internal) 2018/08/26 06:51:06 [ERR] plugin: plugin server: accept unix /tmp/plugin716563785: use of closed network connection
2018-08-26T06:51:06.517+0300 [DEBUG] plugin.terraform: file-provisioner (internal) 2018/08/26 06:51:06 [DEBUG] plugin: waiting for all plugin processes to complete...
2018-08-26T06:51:06.518+0300 [DEBUG] plugin.terraform-provider-ansible_v0.0.4: 2018/08/26 06:51:06 [ERR] plugin: plugin server: accept unix /tmp/plugin241474539: use of closed network connection
2018-08-26T06:51:06.522+0300 [DEBUG] plugin: plugin process exited: path=/usr/local/bin/terraform
2018-08-26T06:51:06.526+0300 [DEBUG] plugin: plugin process exited: path=/home/holms/Dev/contracts/lympo/app-devops/prod/terraform/.terraform/plugins/linux_amd64/terraform-provider-aws_v1.27.0_x4
2018-08-26T06:51:06.526+0300 [DEBUG] plugin: plugin process exited: path=/home/holms/Dev/contracts/lympo/app-devops/prod/terraform/.terraform/plugins/linux_amd64/terraform-provider-mysql_v1.1.0_x4
2018-08-26T06:51:06.527+0300 [DEBUG] plugin: plugin process exited: path=/usr/local/bin/terraform
2018-08-26T06:51:06.528+0300 [DEBUG] plugin: plugin process exited: path=/home/holms/.terraform.d/plugins/linux_amd64/terraform-provider-ansible_v0.0.4
!!!!!!!!!!!!!!!!!!!!!!!!!!! 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
You can’t perform that action at this time.