Skip to content

Instantly share code, notes, and snippets.

@felipeneuwald
Created September 23, 2020 16:10
Show Gist options
  • Save felipeneuwald/6374449273ce2b345f29da03254e405c to your computer and use it in GitHub Desktop.
Save felipeneuwald/6374449273ce2b345f29da03254e405c to your computer and use it in GitHub Desktop.
20200923 terraform netbox error
$ terraform apply
...
netbox_virtual_machine.testvm: Creating...
2020/09/23 16:57:47 [DEBUG] EvalApply: ProviderMeta config value set
2020/09/23 16:57:47 [DEBUG] netbox_virtual_machine.testvm: applying the planned Create change
2020/09/23 16:57:47 [TRACE] GRPCProvider: ApplyResourceChange
2020/09/23 16:57:47 [DEBUG] netbox_virtual_machine.testvm: apply errored, but we're indicating that via the Error pointer rather than returning it: unknown error (status 400): {}
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalMaybeTainted
2020/09/23 16:57:47 [TRACE] EvalMaybeTainted: netbox_virtual_machine.testvm encountered an error during creation, so it is now marked as tainted
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalWriteState
2020/09/23 16:57:47 [TRACE] EvalWriteState: removing state object for netbox_virtual_machine.testvm
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalApplyProvisioners
2020/09/23 16:57:47 [TRACE] EvalApplyProvisioners: netbox_virtual_machine.testvm has no state, so skipping provisioners
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalMaybeTainted
2020/09/23 16:57:47 [TRACE] EvalMaybeTainted: netbox_virtual_machine.testvm encountered an error during creation, so it is now marked as tainted
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalWriteState
2020/09/23 16:57:47 [TRACE] EvalWriteState: removing state object for netbox_virtual_machine.testvm
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalIf
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalIf
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalWriteDiff
2020/09/23 16:57:47 [TRACE] eval: *terraform.EvalApplyPost
2020/09/23 16:57:47 [ERROR] eval: *terraform.EvalApplyPost, err: unknown error (status 400): {}
2020/09/23 16:57:47 [ERROR] eval: *terraform.EvalSequence, err: unknown error (status 400): {}
2020/09/23 16:57:47 [TRACE] [walkApply] Exiting eval tree: netbox_virtual_machine.testvm
2020/09/23 16:57:47 [TRACE] vertex "netbox_virtual_machine.testvm": visit complete
2020/09/23 16:57:47 [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/e-breuninger/netbox\"] (close)" errored, so skipping
2020/09/23 16:57:47 [TRACE] dag/walk: upstream of "meta.count-boundary (EachMode fixup)" errored, so skipping
2020/09/23 16:57:47 [TRACE] dag/walk: upstream of "root" errored, so skipping
2020/09/23 16:57:47 [DEBUG] POST https://gitlab.***.com/api/v4/projects/***/terraform/state/***?ID=***
2020/09/23 16:57:48 [DEBUG] DELETE https://gitlab.***.com/api/v4/projects/***/terraform/state/***/lock
Error: unknown error (status 400): {}
Releasing state lock. This may take a few moments...
2020-09-23T16:57:48.492+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2020-09-23T16:57:48.493+0100 [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/e-breuninger/netbox/0.0.3/darwin_amd64/terraform-provider-netbox_v0.0.3 pid=95728
2020-09-23T16:57:48.493+0100 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment