Skip to content

Instantly share code, notes, and snippets.

@k3ypad
Created October 5, 2017 14:25
Show Gist options
  • Save k3ypad/cf1b7449207593c496179504924b409d to your computer and use it in GitHub Desktop.
Save k3ypad/cf1b7449207593c496179504924b409d to your computer and use it in GitHub Desktop.
Spotinst elastigroup delete in console bug output
2017/10/05 15:24:21 [INFO] Terraform version: 0.10.7
2017/10/05 15:24:21 [INFO] Go runtime version: go1.9
2017/10/05 15:24:21 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.10.7/bin/terraform", "plan"}
2017/10/05 15:24:21 [DEBUG] Attempting to open CLI config file: /Users/bendoyle/.terraformrc
2017/10/05 15:24:21 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/10/05 15:24:21 [DEBUG] CLI Config is main.Config{Providers:map[string]string{}, Provisioners:map[string]string{}, DisableCheckpoint:false, DisableCheckpointSignature:false, PluginCacheDir:""}
2017/10/05 15:24:21 [INFO] CLI command args: []string{"plan"}
2017/10/05 15:24:21 [INFO] command: empty terraform config, returning nil
2017/10/05 15:24:21 [DEBUG] command: no data state file found for backend config
2017/10/05 15:24:21 [DEBUG] New state was assigned lineage "96f99674-b39b-42ce-bae2-3e3a88a99c71"
2017/10/05 15:24:21 [INFO] command: backend initialized: <nil>
2017/10/05 15:24:21 [DEBUG] checking for provider in "."
2017/10/05 15:24:21 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.10.7/bin"
2017/10/05 15:24:21 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2017/10/05 15:24:21 [DEBUG] found provider "terraform-provider-spotinst_v0.1.0_x4"
2017/10/05 15:24:21 [DEBUG] found valid plugin: "spotinst"
2017/10/05 15:24:21 [DEBUG] checking for provisioner in "."
2017/10/05 15:24:21 [DEBUG] checking for provisioner in "/usr/local/Cellar/terraform/0.10.7/bin"
2017/10/05 15:24:21 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2017/10/05 15:24:21 [INFO] command: backend <nil> is not enhanced, wrapping in local
2017/10/05 15:24:21 [INFO] backend/local: starting Plan operation
2017/10/05 15:24:21 [INFO] terraform: building graph: GraphTypeInput
2017/10/05 15:24:21 [DEBUG] Attaching resource state to "spotinst_aws_group.bug_test": &terraform.ResourceState{Type:"spotinst_aws_group", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420364af0), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/10/05 15:24:21 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: []
2017/10/05 15:24:21 [DEBUG] ReferenceTransformer: "provider.spotinst" references: []
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.ReferenceTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeAbstractResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/05 15:24:21 [DEBUG] Starting graph walk: walkInput
2017-10-05T15:24:21.546+0100 [DEBUG] plugin: starting plugin: path=/Users/bendoyle/gitspace/cc-terraform/stage/main_eu-west-1/spotinst_debug/.terraform/plugins/darwin_amd64/terraform-provider-spotinst_v0.1.0_x4 args=[/Users/bendoyle/gitspace/cc-terraform/stage/main_eu-west-1/spotinst_debug/.terraform/plugins/darwin_amd64/terraform-provider-spotinst_v0.1.0_x4]
2017-10-05T15:24:21.549+0100 [DEBUG] plugin: waiting for RPC address: path=/Users/bendoyle/gitspace/cc-terraform/stage/main_eu-west-1/spotinst_debug/.terraform/plugins/darwin_amd64/terraform-provider-spotinst_v0.1.0_x4
2017-10-05T15:24:21.556+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/05 15:24:21 [DEBUG] plugin: plugin address: unix /var/folders/jq/xmftntp522n47744kkzksdfh0000gp/T/plugin362215369
2017/10/05 15:24:21 [INFO] terraform: building graph: GraphTypeValidate
2017/10/05 15:24:21 [DEBUG] Attaching resource state to "spotinst_aws_group.bug_test": &terraform.ResourceState{Type:"spotinst_aws_group", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420364af0), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.AttachStateTransformer:
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.RootVariableTransformer:
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.MissingProviderTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.ProviderTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.DisableProviderTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.ParentProviderTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/05 15:24:21 [TRACE] Attach provider request: []string{} spotinst
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.AttachProviderConfigTransformer:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.graphTransformerMulti:
provider.spotinst - *terraform.NodeApplyableProvider
spotinst_aws_groupseProvider
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource
root - terraform.graphNodeRoot
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.spotinst (close) - *terraform.graphNodeCloseProvider
spotinst_aws_group.bug_test - *terraform.NodeValidatableResource
provider.spotinst - *terraform.NodeApplyableProvider
2017/10/05 15:24:21 [DEBUG] Starting graph walk: walkValidate
2017/10/05 15:24:21 [TRACE] dag/walk: added new vertex: "root"
2017/10/05 15:24:21 [TRACE] dag/walk: added new vertex: "spotinst_aws_group.bug_test"
2017/10/05 15:24:21 [TRACE] dag/walk: added new vertex: "provider.spotinst"
2017/10/05 15:24:21 [TRACE] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2017/10/05 15:24:21 [TRACE] dag/walk: added new vertex: "provider.spotinst (close)"
2017/10/05 15:24:21 [TRACE] dag/walk: added edge: "root" waiting on "provider.spotinst (close)"
2017/10/05 15:24:21 [TRACE] dag/walk: added edge: "spotinst_aws_group.bug_test" waiting on "provider.spotinst"
2017/10/05 15:24:21 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "spotinst_aws_group.bug_test"
2017/10/05 15:24:21 [TRACE] dag/walk: added edge: "provider.spotinst (close)" waiting on "spotinst_aws_group.bug_test"
2017/10/05 15:24:21 [TRACE] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2017/10/05 15:24:21 [TRACE] dag/walk: dependencies changed for "root", sending new deps
2017/10/05 15:24:21 [TRACE] dag/walk: dependencies changed for "spotinst_aws_group.bug_test", sending new deps
2017/10/05 15:24:21 [TRACE] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2017/10/05 15:24:21 [TRACE] dag/walk: dependencies changed for "provider.spotinst (close)", sending new deps
2017/10/05 15:24:21 [DEBUG] Attaching resource state to "spotinst_aws_group.bug_test": &terraform.ResourceState{Type:"spotinst_aws_group", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420364af0), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.AttachStateTransformer:
spotinst_aws_group.bug_test - *terraform.NodeValidatableResourceInstance
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.TargetsTransformer:
spotinst_aws_group.bug_test - *terraform.NodeValidatableResourceInstance
2017/10/05 15:24:21 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: []
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.ReferenceTransformer:
spotinst_aws_group.bug_test - *terraform.NodeValidatableResourceInstance
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.RootTransformer:
spotinst_aws_group.bug_test - *terraform.NodeValidatableResourceInstance
2017/10/05 15:24:21 [TRACE] dag/walk: added new vertex: "spotinst_aws_group.bug_test"
2017/10/05 15:24:21 [INFO] backend/local: plan calling Refresh
Refreshing Terraform state in-memory prior to plan...
2017/10/05 15:24:21 [INFO] terraform: building graph: GraphTypeRefresh
2017/10/05 15:24:21 [TRACE] ConfigTransformer: Starting for path: []
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.ConfigTransformer:
spotinst_aws_group.bug_test - *terraform.NodeRefreshableManagedResource
2017/10/05 15:24:21 [TRACE] ConfigTransformer: Starting for path: []
2017/10/05 15:24:21 [TRACE] Graph after step *terraform.ConfigTransformer:
spotinst_aws_group.bug_test - *terraform.NodeRefreshableManagedResource
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
2017/10/05 15:24:21 [DEBUG] Attaching resource state to "spotinst_aws_group.bug_test": &terraform.ResourceState{Type:"spotinst_aws_group", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202463c0), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/10/05 15:24:21 [DEBUG] ReferenceTransformer: "spotinst_aws_group.bug_test" references: []
2017/10/05 15:24:21 [DEBUG] ReferenceTransformer: "provider.spotinst" references: []
2017/10/05 15:24:21 [DEBUG] Starting graph walk: walkRefresh
2017-10-05T15:24:21.570+0100 [DEBUG] plugin.terraform-provider-spotinst_v0.1.0_x4: 2017/10/05 15:24:21 [INFO] Spotinst client configured
2017/10/05 15:24:21 [DEBUG] Attaching resource state to "spotinst_aws_group.bug_test": &terraform.ResourceState{Type:"spotinst_aws_group", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4202463c0), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/10/05 15:24:21 [DEBUG] ReferenceTransspotinst_aws_group.bug_test: Refreshing state... (ID: sig-3b62936e)
former: "spotinst_aws_group.bug_test" references: []
2017/10/05 15:24:22 [ERROR] root: eval: *terraform.EvalRefresh, err: spotinst_aws_group.bug_test: Error retrieving group: GET https://api.spotinst.io/aws/ec2/group/sig-3b62936e: 400 (request: "de02b4a2-4c0b-4b7d-a3a4-fe94e6ecf046") GROUP_DOESNT_EXIST: Group does not exist
2017/10/05 15:24:22 [ERROR] root: eval: *terraform.EvalSequence, err: spotinst_aws_group.bug_test: Error retrieving group: GET https://api.spotinst.io/aws/ec2/group/sig-3b62936e: 400 (request: "de02b4a2-4c0b-4b7d-a3a4-fe94e6ecf046") GROUP_DOESNT_EXIST: Group does not exist
2017/10/05 15:24:22 [TRACE] [walkRefresh] Exiting eval tree: spotinst_aws_group.bug_test
2017/10/05 15:24:22 [DEBUG] plugin: waiting for all plugin processes to complete...
Error refreshing state: 1 error(s) occurred:
* spotinst_aws_group.bug_test: 1 error(s) occurred:
* spotinst_aws_group.bug_test: spotinst_aws_group.bug_test: Error retrieving group: GET https://api.spotinst.io/aws/ec2/group/sig-3b62936e: 400 (request: "de02b4a2-4c0b-4b7d-a3a4-fe94e6ecf046") GROUP_DOESNT_EXIST: Group does not exist
2017-10-05T15:24:22.142+0100 [DEBUG] plugin: plugin process exited: path=/Users/bendoyle/gitspace/cc-terraform/stage/main_eu-west-1/spotinst_debug/.terraform/plugins/darwin_amd64/terraform-provider-spotinst_v0.1.0_x4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment