Created
December 29, 2017 01:08
-
-
Save charandas/c224e1835ffaccc318094118a1b12ca4 to your computer and use it in GitHub Desktop.
data.rancher_environment terraform output
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
1 ❯ TF_LOG=DEBUG terraform apply | |
2017/12/28 20:07:01 [INFO] Terraform version: 0.11.1 a42fdb08a43c7fabb8898fe8c286b793bbaa4835+CHANGES | |
2017/12/28 20:07:01 [INFO] Go runtime version: go1.9 | |
2017/12/28 20:07:01 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"} | |
2017/12/28 20:07:01 [DEBUG] Attempting to open CLI config file: /Users/charandas/.terraformrc | |
2017/12/28 20:07:01 Loading CLI configuration from /Users/charandas/.terraformrc | |
2017/12/28 20:07:01 [INFO] CLI command args: []string{"apply"} | |
2017/12/28 20:07:01 [INFO] command: empty terraform config, returning nil | |
2017/12/28 20:07:01 [DEBUG] command: no data state file found for backend config | |
2017/12/28 20:07:01 [DEBUG] New state was assigned lineage "470805ca-a49b-4a98-960a-c9adb80530eb" | |
2017/12/28 20:07:01 [INFO] command: backend initialized: <nil> | |
2017/12/28 20:07:01 [DEBUG] checking for provider in "." | |
2017/12/28 20:07:01 [DEBUG] checking for provider in "/usr/local/bin" | |
2017/12/28 20:07:01 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64" | |
2017/12/28 20:07:01 [DEBUG] found provider "terraform-provider-rancher_v1.2.0_x4" | |
2017/12/28 20:07:01 [DEBUG] found valid plugin: "rancher" | |
2017/12/28 20:07:01 [DEBUG] found valid plugin: "ct" | |
2017/12/28 20:07:01 [DEBUG] found valid plugin: "vsphere" | |
2017/12/28 20:07:01 [DEBUG] checking for provisioner in "." | |
2017/12/28 20:07:01 [DEBUG] checking for provisioner in "/usr/local/bin" | |
2017/12/28 20:07:01 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64" | |
2017/12/28 20:07:01 [INFO] command: backend <nil> is not enhanced, wrapping in local | |
2017/12/28 20:07:01 [INFO] backend/local: starting Apply operation | |
2017/12/28 20:07:01 [INFO] terraform: building graph: GraphTypeInput | |
2017/12/28 20:07:01 [DEBUG] Attaching resource state to "data.rancher_environment.default": &terraform.ResourceState{Type:"rancher_environment", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202e0910), Deposed:[]*terraform.InstanceState{}, Provider:"provider.rancher", mu:sync.Mutex{state:0, sema:0x0}} | |
2017/12/28 20:07:01 [DEBUG] ReferenceTransformer: "provider.rancher" references: [] | |
2017/12/28 20:07:01 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
data.rancher_environment.default - *terraform.NodeAbstractResource | |
provider.rancher - *terraform.NodeApplyableProvider | |
provider.rancher - *terraform.NodeApplyableProvider | |
2017-12-28T20:07:01.943-0500 [DEBUG] plugin: starting plugin: path=/Users/charandas/Desktop/.terraform/plugins/darwin_amd64/terraform-provider-rancher_v1.2.0_x4 args=[/Users/charandas/Desktop/.terraform/plugins/darwin_amd64/terraform-provider-rancher_v1.2.0_x4] | |
2017-12-28T20:07:01.947-0500 [DEBUG] plugin: waiting for RPC address: path=/Users/charandas/Desktop/.terraform/plugins/darwin_amd64/terraform-provider-rancher_v1.2.0_x4 | |
2017-12-28T20:07:01.955-0500 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: 2017/12/28 20:07:01 [DEBUG] plugin: plugin address: unix /var/folders/js/gmc33xtx61bdnt9_p3bq998w0000gn/T/plugin952488559 | |
2017/12/28 20:07:01 [INFO] terraform: building graph: GraphTypeValidate | |
2017/12/28 20:07:01 [DEBUG] Attaching resource state to "data.rancher_environment.default": &terraform.ResourceState{Type:"rancher_environment", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202e0910), Deposed:[]*terraform.InstanceState{}, Provider:"provider.rancher", mu:sync.Mutex{state:0, sema:0x0}} | |
2017/12/28 20:07:01 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
data.rancher_environment.default - *terraform.NodeValidatableResource | |
2017/12/28 20:07:01 [DEBUG] resource data.rancher_environment.default using provider provider.rancher | |
2017/12/28 20:07:01 [DEBUG] ReferenceTransformer: "data.rancher_environment.default" references: [] | |
2017/12/28 20:07:01 [DEBUG] ReferenceTransformer: "provider.rancher" references: [] | |
2017/12/28 20:07:01 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
data.rancher_environment.default - *terraform.NodeValidatableResource | |
provider.rancher - *terraform.NodeApplyableProvider | |
provider.rancher - *terraform.NodeApplyableProvider | |
2017/12/28 20:07:01 [DEBUG] Starting graph walk: walkValidate | |
2017/12/28 20:07:01 [DEBUG] Attaching resource state to "data.rancher_environment.default": &terraform.ResourceState{Type:"rancher_environment", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202e0910), Deposed:[]*terraform.InstanceState{}, Provider:"provider.rancher", mu:sync.Mutex{state:0, sema:0x0}} | |
2017/12/28 20:07:01 [DEBUG] ReferenceTransformer: "data.rancher_environment.default" references: [] | |
2017/12/28 20:07:01 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
data.rancher_environment.default - *terraform.NodeValidatableResourceInstance | |
2017/12/28 20:07:01 [TRACE] Graph after step *terraform.RootTransformer: | |
data.rancher_environment.default - *terraform.NodeValidatableResourceInstance | |
2017/12/28 20:07:01 [INFO] backend/local: apply calling Refresh | |
2017/12/28 20:07:01 [INFO] terraform: building graph: GraphTypeRefresh | |
2017/12/28 20:07:01 [DEBUG] Attaching resource state to "data.rancher_environment.default": &terraform.ResourceState{Type:"rancher_environment", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202f4b40), Deposed:[]*terraform.InstanceState{}, Provider:"provider.rancher", mu:sync.Mutex{state:0, sema:0x0}} | |
2017/12/28 20:07:01 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
data.rancher_environment.default - *terraform.NodeRefreshableDataResource | |
2017/12/28 20:07:01 [TRACE] AttachResourceConfigTransformer: Beginning... | |
2017/12/28 20:07:01 [TRACE] AttachResourceConfigTransformer: Attach resource config request: data.rancher_environment.default | |
2017/12/28 20:07:01 [TRACE] Attaching resource config: &config.Resource{Mode:1, Name:"default", Type:"rancher_environment", RawCount:(*config.RawConfig)(0xc42040a4d0), RawConfig:(*config.RawConfig)(0xc42040a460), Provisioners:[]*config.Provisioner{}, Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}} | |
2017/12/28 20:07:01 [DEBUG] ReferenceTransformer: "data.rancher_environment.default" references: [] | |
2017/12/28 20:07:01 [DEBUG] ReferenceTransformer: "provider.rancher" references: [] | |
2017/12/28 20:07:01 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
data.rancher_environment.default - *terraform.NodeRefreshableDataResource | |
provider.rancher - *terraform.NodeApplyableProvider | |
provider.rancher - *terraform.NodeApplyableProvider | |
2017/12/28 20:07:01 [TRACE] Graph after step *terraform.TargetsTransformer: | |
data.rancher_environment.default - *terraform.NodeRefreshableDataResource | |
provider.rancher - *terraform.NodeApplyableProvider | |
provider.rancher - *terraform.NodeApplyableProvider | |
2017/12/28 20:07:01 [DEBUG] Starting graph walk: walkRefresh | |
2017-12-28T20:07:03.776-0500 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: 2017/12/28 20:07:03 [INFO] Rancher Client configured for url: https://rancher.asurity.net | |
2017/12/28 20:07:03 [DEBUG] Attaching resource state to "data.rancher_environment.default": &terraform.ResourceState{Type:"rancher_environment", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202f4b40), Deposed:[]*terraform.InstanceState{}, Provider:"provider.rancher", mu:sync.Mutex{state:0, sema:0x0}} | |
2017/12/28 20:07:03 [TRACE] Graph after step *terraform.AttachStateTransformer: | |
data.rancher_environment.default - *terraform.NodeRefreshableDataResourceInstance | |
2017/12/28 20:07:03 [DEBUG] ReferenceTransformer: "data.rancher_environment.default" references: [] | |
2017/12/28 20:07:03 [TRACE] Graph after step *terraform.ReferenceTransformer: | |
data.rancher_environment.default - *terraform.NodeRefreshableDataResourceInstance | |
data.rancher_environment.default: Refreshing state... | |
2017-12-28T20:07:03.778-0500 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: 2017/12/28 20:07:03 [INFO] Refreshing Rancher Environment: buildcl | |
2017-12-28T20:07:04.053-0500 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: 2017/12/28 20:07:04 [INFO] Rancher Client configured for url: https://rancher.asurity.net/v2-beta | |
2017-12-28T20:07:04.053-0500 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: 2017/12/28 20:07:04 [DEBUG] Waiting for state to become: [active] | |
2017-12-28T20:07:05.147-0500 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: 2017/12/28 20:07:05 [TRACE] Waiting 3s before next try | |
2017-12-28T20:07:08.217-0500 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: 2017/12/28 20:07:08 [TRACE] Waiting 6s before next try | |
^CInterrupt received. | |
Please wait for Terraform to exit or data loss may occur. |
Oh, it also hangs for non-existing environments. But that may not be a big issue.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This kind of hanging forever only happened with rancher terraform provider because I had to create a new account access credential after shifting to LDAP/Access Control.
Once new keys were created, they do not have this problem with
data.rancher_environment
.