Skip to content

Instantly share code, notes, and snippets.

@kpettijohn kpettijohn/debug.txt Secret
Created Nov 14, 2019

Embed
What would you like to do?
Provider produced inconsistent result after apply
TF_LOG=debug terraform apply
2019/11/14 13:15:51 [INFO] Terraform version: 0.12.9
2019/11/14 13:15:51 [INFO] Go runtime version: go1.12.9
2019/11/14 13:15:51 [INFO] CLI args: []string{"/Users/myuser/bin/terraform", "apply"}
2019/11/14 13:15:51 [DEBUG] Attempting to open CLI config file: /Users/myuser/.terraformrc
2019/11/14 13:15:51 Loading CLI configuration from /Users/myuser/.terraformrc
2019/11/14 13:15:51 [DEBUG] checking for credentials in "/Users/myuser/.terraform.d/plugins"
2019/11/14 13:15:51 [INFO] Checkpoint disabled. Not running.
2019/11/14 13:15:51 [INFO] CLI command args: []string{"apply"}
2019/11/14 13:15:51 [DEBUG] New state was assigned lineage "db314bbb-6b13-4ed9-4e97-f1be71a8d75a"
2019/11/14 13:15:51 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2019/11/14 13:15:51 [DEBUG] checking for provider in "."
2019/11/14 13:15:51 [DEBUG] checking for provider in "/Users/myuser/bin"
2019/11/14 13:15:51 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2019/11/14 13:15:51 [DEBUG] found provider "terraform-provider-consul_v2.6.0_x4"
2019/11/14 13:15:51 [DEBUG] checking for provider in "/Users/myuser/.terraform.d/plugins"
2019/11/14 13:15:51 [ERROR] ignoring non-file /Users/myuser/.terraform.d/plugins/terraform-provider-ct-v0.3.2-darwin-amd64
2019/11/14 13:15:51 [WARN] found legacy provider "terraform-provider-ct-v0.3.2-darwin-amd64.tar.gz"
2019/11/14 13:15:51 [DEBUG] found provider "terraform-provider-ct_v0.3.2"
2019/11/14 13:15:51 [DEBUG] found valid plugin: "ct", "0.3.2", "/Users/myuser/.terraform.d/plugins/terraform-provider-ct_v0.3.2"
2019/11/14 13:15:51 [DEBUG] found valid plugin: "consul", "2.6.0", "/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4"
2019/11/14 13:15:51 [DEBUG] found valid plugin: "ct-v0.3.2-darwin-amd64.tar.gz", "0.0.0", "/Users/myuser/.terraform.d/plugins/terraform-provider-ct-v0.3.2-darwin-amd64.tar.gz"
2019/11/14 13:15:51 [DEBUG] checking for provisioner in "."
2019/11/14 13:15:51 [DEBUG] checking for provisioner in "/Users/myuser/bin"
2019/11/14 13:15:51 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2019/11/14 13:15:51 [DEBUG] checking for provisioner in "/Users/myuser/.terraform.d/plugins"
2019/11/14 13:15:51 [INFO] backend/local: starting Apply operation
2019-11-14T13:15:51.612-0800 [INFO] plugin: configuring client automatic mTLS
2019-11-14T13:15:51.638-0800 [DEBUG] plugin: starting plugin: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 args=[/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4]
2019-11-14T13:15:51.641-0800 [DEBUG] plugin: plugin started: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 pid=47364
2019-11-14T13:15:51.641-0800 [DEBUG] plugin: waiting for RPC address: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4
2019-11-14T13:15:51.654-0800 [INFO] plugin.terraform-provider-consul_v2.6.0_x4: configuring server automatic mTLS: timestamp=2019-11-14T13:15:51.654-0800
2019-11-14T13:15:51.680-0800 [DEBUG] plugin: using plugin: version=5
2019-11-14T13:15:51.680-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: plugin address: network=unix address=/var/folders/3_/mmt6yql51jz600vf7gb0hk1hd_kl8v/T/plugin593396459 timestamp=2019-11-14T13:15:51.680-0800
2019-11-14T13:15:51.739-0800 [DEBUG] plugin: plugin process exited: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 pid=47364
2019-11-14T13:15:51.739-0800 [DEBUG] plugin: plugin exited
2019/11/14 13:15:51 [INFO] terraform: building graph: GraphTypeValidate
2019/11/14 13:15:51 [DEBUG] ReferenceTransformer: "consul_acl_policy.consul_test" references: []
2019/11/14 13:15:51 [DEBUG] ReferenceTransformer: "provider.consul" references: []
2019/11/14 13:15:51 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2019/11/14 13:15:51 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2019/11/14 13:15:51 [DEBUG] Starting graph walk: walkValidate
2019-11-14T13:15:51.742-0800 [INFO] plugin: configuring client automatic mTLS
2019-11-14T13:15:51.770-0800 [DEBUG] plugin: starting plugin: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 args=[/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4]
2019-11-14T13:15:51.774-0800 [DEBUG] plugin: plugin started: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 pid=47365
2019-11-14T13:15:51.774-0800 [DEBUG] plugin: waiting for RPC address: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4
2019-11-14T13:15:51.788-0800 [INFO] plugin.terraform-provider-consul_v2.6.0_x4: configuring server automatic mTLS: timestamp=2019-11-14T13:15:51.788-0800
2019-11-14T13:15:51.818-0800 [DEBUG] plugin: using plugin: version=5
2019-11-14T13:15:51.818-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: plugin address: address=/var/folders/3_/mmt6yql51jz600vf7gb0hk1hd_kl8v/T/plugin125099344 network=unix timestamp=2019-11-14T13:15:51.818-0800
2019-11-14T13:15:51.879-0800 [DEBUG] plugin: plugin process exited: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 pid=47365
2019-11-14T13:15:51.879-0800 [DEBUG] plugin: plugin exited
2019/11/14 13:15:51 [INFO] backend/local: apply calling Refresh
2019/11/14 13:15:51 [INFO] terraform: building graph: GraphTypeRefresh
2019/11/14 13:15:51 [TRACE] No managed resources in state during refresh; skipping managed resource transformer
2019/11/14 13:15:51 [TRACE] Executing graph transform *terraform.ConfigTransformer
2019/11/14 13:15:51 [TRACE] ConfigTransformer: Starting for path:
2019/11/14 13:15:51 [INFO] terraform: building graph: GraphTypePlan
2019/11/14 13:15:51 [TRACE] Executing graph transform *terraform.ConfigTransformer
2019/11/14 13:15:51 [TRACE] ConfigTransformer: Starting for path:
2019/11/14 13:15:51 [DEBUG] ReferenceTransformer: "provider.consul" references: []
2019/11/14 13:15:51 [DEBUG] ReferenceTransformer: "consul_acl_policy.consul_test" references: []
2019/11/14 13:15:51 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2019/11/14 13:15:51 [DEBUG] Starting graph walk: walkPlan
2019/11/14 13:15:51 [TRACE] dag/walk: updating graph
2019/11/14 13:15:51 [TRACE] dag/walk: added new vertex: "provider.consul (close)"
2019-11-14T13:15:51.881-0800 [INFO] plugin: configuring client automatic mTLS
2019-11-14T13:15:51.906-0800 [DEBUG] plugin: starting plugin: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 args=[/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4]
2019-11-14T13:15:51.910-0800 [DEBUG] plugin: plugin started: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 pid=47366
2019-11-14T13:15:51.910-0800 [DEBUG] plugin: waiting for RPC address: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4
2019-11-14T13:15:51.923-0800 [INFO] plugin.terraform-provider-consul_v2.6.0_x4: configuring server automatic mTLS: timestamp=2019-11-14T13:15:51.923-0800
2019-11-14T13:15:51.955-0800 [DEBUG] plugin: using plugin: version=5
2019-11-14T13:15:51.955-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: plugin address: address=/var/folders/3_/mmt6yql51jz600vf7gb0hk1hd_kl8v/T/plugin133852709 network=unix timestamp=2019-11-14T13:15:51.955-0800
2019-11-14T13:15:52.031-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: 2019/11/14 13:15:52 [INFO] Initializing Consul client
2019-11-14T13:15:52.040-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: 2019/11/14 13:15:52 [INFO] Consul Client configured with address: '10.10.10.101:8501', scheme: 'https', datacenter: 'mydc', insecure_https: 'true'
2019/11/14 13:15:52 [DEBUG] Resource instance state not found for node "consul_acl_policy.consul_test", instance consul_acl_policy.consul_test
2019/11/14 13:15:52 [DEBUG] ReferenceTransformer: "consul_acl_policy.consul_test" references: []
2019-11-14T13:15:52.046-0800 [DEBUG] plugin: plugin process exited: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 pid=47366
2019-11-14T13:15:52.046-0800 [DEBUG] plugin: plugin exited
2019/11/14 13:15:52 [TRACE] [walkPlan] Exiting eval tree: provider.consul (close)
2019/11/14 13:15:52 [TRACE] vertex "provider.consul (close)": visit complete
2019/11/14 13:15:52 [TRACE] dag/walk: visiting "root"
2019/11/14 13:15:52 [TRACE] vertex "root": starting visit (terraform.graphNodeRoot)
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
2019/11/14 13:15:52 [DEBUG] command: asking for input: "Do you want to perform these actions?"
Terraform will perform the following actions:
# consul_acl_policy.consul_test will be created
+ resource "consul_acl_policy" "consul_test" {
+ id = (known after apply)
+ name = "consul-test"
+ rules = "acl = \"read\"\nnode \"consul-test\" {\n policy = \"write\"\n}\n"
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2019/11/14 13:15:55 [INFO] backend/local: apply calling Apply
2019/11/14 13:15:55 [INFO] terraform: building graph: GraphTypeApply
2019-11-14T13:15:55.319-0800 [INFO] plugin: configuring client automatic mTLS
2019-11-14T13:15:55.351-0800 [DEBUG] plugin: starting plugin: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 args=[/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4]
2019-11-14T13:15:55.356-0800 [DEBUG] plugin: plugin started: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 pid=47372
2019-11-14T13:15:55.356-0800 [DEBUG] plugin: waiting for RPC address: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4
2019-11-14T13:15:55.370-0800 [INFO] plugin.terraform-provider-consul_v2.6.0_x4: configuring server automatic mTLS: timestamp=2019-11-14T13:15:55.370-0800
2019-11-14T13:15:55.399-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: plugin address: address=/var/folders/3_/mmt6yql51jz600vf7gb0hk1hd_kl8v/T/plugin682295099 network=unix timestamp=2019-11-14T13:15:55.398-0800
2019-11-14T13:15:55.399-0800 [DEBUG] plugin: using plugin: version=5
2019-11-14T13:15:55.459-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: 2019/11/14 13:15:55 [INFO] Initializing Consul client
2019-11-14T13:15:55.467-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: 2019/11/14 13:15:55 [INFO] Consul Client configured with address: '10.10.10.101:8501', scheme: 'https', datacenter: 'mydc', insecure_https: 'true'
consul_acl_policy.consul_test: Creating...
2019/11/14 13:15:55 [DEBUG] consul_acl_policy.consul_test: applying the planned Create change
2019/11/14 13:15:55 [TRACE] GRPCProvider: ApplyResourceChange
2019-11-14T13:15:55.469-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: 2019/11/14 13:15:55 [INFO] Consul Client configured with address: '10.10.10.101:8501', scheme: 'https', datacenter: 'mydc', insecure_https: 'true'
2019-11-14T13:15:55.469-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: 2019/11/14 13:15:55 [DEBUG] Creating ACL policy
2019-11-14T13:15:55.599-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: 2019/11/14 13:15:55 [DEBUG] Created ACL policy "a905f759-9864-1a46-3218-dca8b4358a11"
2019-11-14T13:15:55.601-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: 2019/11/14 13:15:55 [INFO] Consul Client configured with address: '10.10.10.101:8501', scheme: 'https', datacenter: 'mydc', insecure_https: 'true'
2019-11-14T13:15:55.601-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: 2019/11/14 13:15:55 [DEBUG] Reading ACL policy "a905f759-9864-1a46-3218-dca8b4358a11"
2019-11-14T13:15:55.706-0800 [DEBUG] plugin.terraform-provider-consul_v2.6.0_x4: 2019/11/14 13:15:55 [WARN] ACL policy not found, removing from state
2019/11/14 13:15:55 [DEBUG] consul_acl_policy.consul_test: apply errored, but we're indicating that via the Error pointer rather than returning it: Provider produced inconsistent result after apply: When applying changes to consul_acl_policy.consul_test, provider "consul" produced an unexpected new value for was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own issue tracker.
2019/11/14 13:15:55 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2019/11/14 13:15:55 [TRACE] EvalMaybeTainted: consul_acl_policy.consul_test encountered an error during creation, so it is now marked as tainted
2019/11/14 13:15:55 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: Provider produced inconsistent result after apply: When applying changes to consul_acl_policy.consul_test, provider "consul" produced an unexpected new value for was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own issue tracker.
2019/11/14 13:15:55 [ERROR] <root>: eval: *terraform.EvalSequence, err: Provider produced inconsistent result after apply: When applying changes to consul_acl_policy.consul_test, provider "consul" produced an unexpected new value for was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own issue tracker.
2019/11/14 13:15:55 [TRACE] [walkApply] Exiting eval tree: consul_acl_policy.consul_test
Error: Provider produced inconsistent result after apply
When applying changes to consul_acl_policy.consul_test, provider "consul"
produced an unexpected new value for was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
2019-11-14T13:15:55.721-0800 [DEBUG] plugin: plugin process exited: path=/Users/myuser/terraform/vsphere/consul/acl/.terraform/plugins/darwin_amd64/terraform-provider-consul_v2.6.0_x4 pid=47372
2019-11-14T13:15:55.721-0800 [DEBUG] plugin: plugin exited
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.