Created
May 16, 2017 15:27
-
-
Save githubvick/a3b0384d44627cdd98f9a8846f70a2a6 to your computer and use it in GitHub Desktop.
Terraform - Vcloud gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jenkins@jenkins vcloud]$ terraform apply | |
vcd_network.mgt_net: Creating... | |
dns1: "" => "11.48.115.52" | |
dns2: "" => "11.48.115.54" | |
edge_gateway: "" => "OrgVDC_Net_Blue_VL2024" | |
fence_mode: "" => "natRouted" | |
gateway: "" => "11.168.27.254" | |
href: "" => "<computed>" | |
name: "" => "Management Network" | |
netmask: "" => "255.255.252.0" | |
static_ip_pool.#: "" => "1" | |
static_ip_pool.2194538580.end_address: "" => "11.168.27.245" | |
static_ip_pool.2194538580.start_address: "" => "11.168.24.11" | |
Error applying plan: | |
1 error(s) occurred: | |
* vcd_network.mgt_net: 1 error(s) occurred: | |
* vcd_network.mgt_net: 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: runtime error: invalid memory address or nil pointer dereference | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x3ade652] | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: goroutine 63 [running]: | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/vendor/github.com/ukcloud/govcloudair.(*Vdc).FindEdgeGateway(0xc4200b5950, 0xc420896f40, 0x16, 0x43746e0, 0xc4203f0690, 0x40, 0xc4203c2728) | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: /opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/ukcloud/govcloudair/vdc.go:164 +0x5a2 | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/builtin/providers/vcd.resourceVcdNetworkCreate(0xc4203d8fc0, 0x4bad1c0, 0xc4204cb1a0, 0x0, 0x0) | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: /opt/gopath/src/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_network.go:130 +0x1ab | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc42043f4a0, 0xc42088bf90, 0xc420896f20, 0x4bad1c0, 0xc4204cb1a0, 0x1, 0x28, 0xc4204345d0) | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/resource.go:186 +0x48d | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc4202f97a0, 0xc42088bf40, 0xc42088bf90, 0xc420896f20, 0x7f9bdf835000, 0x0, 0x0) | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/provider.go:242 +0x9b | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Apply(0xc4204ca2c0, 0xc4208969a0, 0xc4203f0600, 0x0, 0x0) | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: /opt/gopath/src/github.com/hashicorp/terraform/plugin/resource_provider.go:488 +0x57 | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: reflect.Value.call(0xc42043ff80, 0xc42000d058, 0x13, 0x505c04a, 0x4, 0xc42054bf20, 0x3, 0x3, 0x0, 0xc4203c4480, ...) | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: /opt/go/src/reflect/value.go:434 +0x91f | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: reflect.Value.Call(0xc42043ff80, 0xc42000d058, 0x13, 0xc420647f20, 0x3, 0x3, 0xc420218840, 0x79ef480, 0xc420012450) | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: /opt/go/src/reflect/value.go:302 +0xa4 | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: net/rpc.(*service).call(0xc4204b3e80, 0xc4204b3dc0, 0xc420256010, 0xc42057c400, 0xc4204cb040, 0x41f8a80, 0xc4208969a0, 0x16, 0x41f8ac0, 0xc4203f0600, ...) | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: /opt/go/src/net/rpc/server.go:387 +0x144 | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: created by net/rpc.(*Server).ServeCodec | |
2017/05/16 11:24:35 [DEBUG] plugin: terraform: /opt/go/src/net/rpc/server.go:481 +0x404 | |
2017/05/16 11:24:35 [DEBUG] root: eval: *terraform.EvalWriteState | |
2017/05/16 11:24:35 [DEBUG] root: eval: *terraform.EvalApplyProvisioners | |
2017/05/16 11:24:35 [DEBUG] root: eval: *terraform.EvalIf | |
2017/05/16 11:24:35 [DEBUG] root: eval: *terraform.EvalWriteState | |
2017/05/16 11:24:35 [DEBUG] root: eval: *terraform.EvalWriteDiff | |
2017/05/16 11:24:35 [DEBUG] root: eval: *terraform.EvalApplyPost | |
2017/05/16 11:24:35 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred: | |
* vcd_network.mgt_net: unexpected EOF | |
2017/05/16 11:24:35 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred: | |
* vcd_network.mgt_net: unexpected EOF | |
2017/05/16 11:24:35 [TRACE] [walkApply] Exiting eval tree: vcd_network.mgt_net | |
2017/05/16 11:24:35 [DEBUG] dag/walk: upstream errored, not walking "vcd_vapp.kube_terraform" | |
2017/05/16 11:24:35 [DEBUG] dag/walk: upstream errored, not walking "provider.vcd (close)" | |
2017/05/16 11:24:35 [DEBUG] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)" | |
2017/05/16 11:24:35 [DEBUG] dag/walk: upstream errored, not walking "root" | |
2017/05/16 11:24:35 [TRACE] Preserving existing state lineage "4a63c408-c327-4de0-979c-94c26b0627f1" | |
2017/05/16 11:24:35 [DEBUG] plugin: /home/jenkins/terraform: plugin process exited | |
2017/05/16 11:24:35 [TRACE] Preserving existing state lineage "4a63c408-c327-4de0-979c-94c26b0627f1" | |
2017/05/16 11:24:35 [DEBUG] plugin: waiting for all plugin processes to complete... | |
2017/05/16 11:24:35 [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