Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation of any resources of "confluentcloud" provider is running indefinitly #49

Open
Zico56 opened this issue Nov 19, 2020 · 8 comments

Comments

@Zico56
Copy link

Zico56 commented Nov 19, 2020

Hello,

I'm facing to the following issue:

The process is blocked:
"confluentcloud_environment.environment: Still creating... [1min30s elapsed]"...and infinitely incrementing

Initially, I wanted to create a "confluentcloud_service_account" using environment & cluster already existing in Confluent Cloud,
not working.....

Then try to create new resources "confluentcloud_environment" and "confluentcloud_kafka_cluster" using TF....it neither work.
The process get stuck.

Any help or advice on this problem ?

Originally posted by @Zico56 in #15 (comment)

@Mongey
Copy link
Owner

Mongey commented Nov 19, 2020

@Zico56 Can you post some logs with TF_LOG=debug terraform apply

Thanks

@Zico56
Copy link
Author

Zico56 commented Nov 20, 2020

Hello,

Sure, here are some logs...
Let me know if you need anything else.
For information, I'm using the Windows_amd64 version.

2020/11/20 12:04:04 [INFO] backend/local: apply calling Apply
2020/11/20 12:04:04 [INFO] terraform: building graph: GraphTypeApply
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.ConfigTransformer
2020/11/20 12:04:04 [TRACE] ConfigTransformer: Starting for path:
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.DiffTransformer
2020/11/20 12:04:04 [TRACE] DiffTransformer starting
2020/11/20 12:04:04 [TRACE] DiffTransformer: found Create change for confluentcloud_environment.environment
2020/11/20 12:04:04 [TRACE] DiffTransformer: confluentcloud_environment.environment will be represented by confluentcloud_environment.environment
2020/11/20 12:04:04 [TRACE] DiffTransformer complete
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.DiffTransformer with new graph:
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2020/11/20 12:04:04 [TRACE] AttachResourceConfigTransformer: attaching to "confluentcloud_environment.environment (expand)" (*terraform.nodeExpandApplyableResource) config from main.tf:6,1-52
2020/11/20 12:04:04 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to confluentcloud_environment.environment (expand)
2020/11/20 12:04:04 [TRACE] AttachResourceConfigTransformer: attaching to "confluentcloud_environment.environment" (*terraform.NodeApplyableResourceInstance) config from main.tf:6,1-52
2020/11/20 12:04:04 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to confluentcloud_environment.environment
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2020/11/20 12:04:04 [DEBUG] Resource state not found for node "confluentcloud_environment.environment", instance confluentcloud_environment.environment
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.LocalTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.OutputTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2020/11/20 12:04:04 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2020/11/20 12:04:04 [TRACE] ProviderConfigTransformer: attaching to "provider["registry.terraform.io/mongey/confluentcloud"]" provider configuration from main.tf:1,1-26
2020/11/20 12:04:04 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
2020/11/20 12:04:04 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2020/11/20 12:04:04 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2020/11/20 12:04:04 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2020/11/20 12:04:04 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/mongey/confluentcloud"] serving confluentcloud_environment.environment (expand)
2020/11/20 12:04:04 [DEBUG] ProviderTransformer: "confluentcloud_environment.environment (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/mongey/confluentcloud"]
2020/11/20 12:04:04 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/mongey/confluentcloud"] serving confluentcloud_environment.environment
2020/11/20 12:04:04 [DEBUG] ProviderTransformer: "confluentcloud_environment.environment" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/mongey/confluentcloud"]
2020/11/20 12:04:04 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
2020/11/20 12:04:04 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2020/11/20 12:04:04 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2020/11/20 12:04:04 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2020/11/20 12:04:04 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2020/11/20 12:04:04 [TRACE] AttachSchemaTransformer: attaching resource schema to confluentcloud_environment.environment (expand)
2020/11/20 12:04:04 [TRACE] AttachSchemaTransformer: attaching resource schema to confluentcloud_environment.environment
2020/11/20 12:04:04 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/mongey/confluentcloud"]
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2020/11/20 12:04:04 [DEBUG] ReferenceTransformer: "confluentcloud_environment.environment" references: []
2020/11/20 12:04:04 [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/mongey/confluentcloud"]" references: []
2020/11/20 12:04:04 [DEBUG] ReferenceTransformer: "confluentcloud_environment.environment (expand)" references: []
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2020/11/20 12:04:04 [TRACE] AttachDependenciesTransformer: confluentcloud_environment.environment depends on []
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2020/11/20 12:04:04 [TRACE] ForcedCBDTransformer: "confluentcloud_environment.environment" (*terraform.NodeApplyableResourceInstance) has no CBD descendent, so skipping
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.CBDEdgeTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.CBDEdgeTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.destroyRootOutputTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.destroyRootOutputTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.TargetsTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/mongey/confluentcloud"] (close) - *terraform.graphNodeCloseProvider
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.CloseProvisionerTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.CloseProvisionerTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.applyDestroyNodeReferenceFixupTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.applyDestroyNodeReferenceFixupTransformer (no changes)
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/mongey/confluentcloud"] (close) - *terraform.graphNodeCloseProvider
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
provider["registry.terraform.io/mongey/confluentcloud"] (close) - *terraform.graphNodeCloseProvider
2020/11/20 12:04:04 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2020/11/20 12:04:04 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
confluentcloud_environment.environment (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
provider["registry.terraform.io/mongey/confluentcloud"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/mongey/confluentcloud"] (close) - *terraform.graphNodeCloseProvider
confluentcloud_environment.environment - *terraform.NodeApplyableResourceInstance
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
provider["registry.terraform.io/mongey/confluentcloud"] (close) - *terraform.graphNodeCloseProvider
2020/11/20 12:04:04 [DEBUG] Starting graph walk: walkApply
2020/11/20 12:04:04 [TRACE] dag/walk: visiting "provider["registry.terraform.io/mongey/confluentcloud"]"
2020/11/20 12:04:04 [TRACE] vertex "provider["registry.terraform.io/mongey/confluentcloud"]": starting visit (*terraform.NodeApplyableProvider)
2020/11/20 12:04:04 [TRACE] vertex "provider["registry.terraform.io/mongey/confluentcloud"]": evaluating
2020/11/20 12:04:04 [TRACE] [walkApply] Entering eval tree: provider["registry.terraform.io/mongey/confluentcloud"]
2020/11/20 12:04:04 [TRACE] eval: *terraform.EvalSequence
2020/11/20 12:04:04 [TRACE] eval: *terraform.EvalInitProvider
2020-11-20T12:04:04.184+0100 [INFO] plugin: configuring client automatic mTLS
2020-11-20T12:04:04.207+0100 [DEBUG] plugin: starting plugin: path=.terraform/plugins/registry.terraform.io/mongey/confluentcloud/0.0.5/windows_amd64/terraform-provider-confluentcloud_v0.0.5.exe args=[.terraform/plugins/registry.terraform.io/mongey/confluentcloud/0.0.5/windows_amd64/terraform-provider-confluentcloud_v0.0.5.exe]
2020-11-20T12:04:04.214+0100 [DEBUG] plugin: plugin started: path=.terraform/plugins/registry.terraform.io/mongey/confluentcloud/0.0.5/windows_amd64/terraform-provider-confluentcloud_v0.0.5.exe pid=25456
2020-11-20T12:04:04.214+0100 [DEBUG] plugin: waiting for RPC address: path=.terraform/plugins/registry.terraform.io/mongey/confluentcloud/0.0.5/windows_amd64/terraform-provider-confluentcloud_v0.0.5.exe
2020-11-20T12:04:04.261+0100 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.5.exe: 2020/11/20 12:04:04 [INFO] Creating Provider
2020-11-20T12:04:04.261+0100 [INFO] plugin.terraform-provider-confluentcloud_v0.0.5.exe: configuring server automatic mTLS: timestamp=2020-11-20T12:04:04.261+0100
2020-11-20T12:04:04.285+0100 [DEBUG] plugin: using plugin: version=5
2020-11-20T12:04:04.285+0100 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.5.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2020-11-20T12:04:04.285+0100
2020/11/20 12:04:04 [TRACE] BuiltinEvalContext: Initialized "provider["registry.terraform.io/mongey/confluentcloud"]" provider for provider["registry.terraform.io/mongey/confluentcloud"]
2020-11-20T12:04:04.331+0100 [TRACE] plugin.stdio: waiting for stdio data
2020/11/20 12:04:04 [TRACE] eval: terraform.EvalNoop
2020/11/20 12:04:04 [TRACE] eval: *terraform.EvalOpFilter
2020/11/20 12:04:04 [TRACE] eval: *terraform.EvalSequence
2020/11/20 12:04:04 [TRACE] eval: *terraform.EvalGetProvider
2020/11/20 12:04:04 [TRACE] eval: *terraform.EvalOpFilter
2020/11/20 12:04:04 [TRACE] eval: *terraform.EvalSequence
2020/11/20 12:04:04 [TRACE] eval: *terraform.EvalConfigProvider
2020/11/20 12:04:04 [TRACE] buildProviderConfig for provider["registry.terraform.io/mongey/confluentcloud"]: using explicit config only
2020/11/20 12:04:04 [TRACE] GRPCProvider: GetSchema
2020-11-20T12:04:04.332+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio"
2020/11/20 12:04:04 [TRACE] No provider meta schema returned
2020/11/20 12:04:04 [TRACE] GRPCProvider: Configure
2020-11-20T12:04:04.333+0100 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.5.exe: 2020/11/20 12:04:04 [INFO] Initializing ConfluentCloud client
2020/11/20 12:04:05 [TRACE] eval: terraform.EvalNoop
2020/11/20 12:04:05 [TRACE] [walkApply] Exiting eval tree: provider["registry.terraform.io/mongey/confluentcloud"]
2020/11/20 12:04:05 [TRACE] vertex "provider["registry.terraform.io/mongey/confluentcloud"]": visit complete
2020/11/20 12:04:05 [TRACE] dag/walk: visiting "confluentcloud_environment.environment (expand)"
2020/11/20 12:04:05 [TRACE] vertex "confluentcloud_environment.environment (expand)": starting visit (*terraform.nodeExpandApplyableResource)
2020/11/20 12:04:05 [TRACE] vertex "confluentcloud_environment.environment (expand)": expanding dynamic subgraph
2020/11/20 12:04:05 [TRACE] vertex "confluentcloud_environment.environment (expand)": entering dynamic subgraph
2020/11/20 12:04:05 [TRACE] dag/walk: visiting "confluentcloud_environment.environment"
2020/11/20 12:04:05 [TRACE] vertex "confluentcloud_environment.environment": starting visit (*terraform.NodeApplyableResource)
2020/11/20 12:04:05 [TRACE] vertex "confluentcloud_environment.environment": evaluating
2020/11/20 12:04:05 [TRACE] [walkApply] Entering eval tree: confluentcloud_environment.environment
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalWriteResourceState
2020/11/20 12:04:05 [TRACE] [walkApply] Exiting eval tree: confluentcloud_environment.environment
2020/11/20 12:04:05 [TRACE] vertex "confluentcloud_environment.environment": visit complete
2020/11/20 12:04:05 [TRACE] vertex "confluentcloud_environment.environment (expand)": dynamic subgraph completed successfully
2020/11/20 12:04:05 [TRACE] vertex "confluentcloud_environment.environment (expand)": visit complete
2020/11/20 12:04:05 [TRACE] dag/walk: visiting "confluentcloud_environment.environment"
2020/11/20 12:04:05 [TRACE] vertex "confluentcloud_environment.environment": starting visit (*terraform.NodeApplyableResourceInstance)
2020/11/20 12:04:05 [TRACE] vertex "confluentcloud_environment.environment": evaluating
2020/11/20 12:04:05 [TRACE] [walkApply] Entering eval tree: confluentcloud_environment.environment
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalSequence
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalGetProvider
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalReadDiff
2020/11/20 12:04:05 [TRACE] EvalReadDiff: Read Create change from plan for confluentcloud_environment.environment
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalIf
2020/11/20 12:04:05 [TRACE] eval: terraform.EvalNoop
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalIf
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalReadState
2020/11/20 12:04:05 [TRACE] EvalReadState: reading state for confluentcloud_environment.environment
2020/11/20 12:04:05 [TRACE] EvalReadState: no state present for confluentcloud_environment.environment
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalReadDiff
2020/11/20 12:04:05 [TRACE] EvalReadDiff: Read Create change from plan for confluentcloud_environment.environment
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalDiff
2020/11/20 12:04:05 [TRACE] Re-validating config for "confluentcloud_environment.environment"
2020/11/20 12:04:05 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2020/11/20 12:04:05 [TRACE] GRPCProvider: PlanResourceChange
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalCheckPlannedChange
2020/11/20 12:04:05 [TRACE] EvalCheckPlannedChange: Verifying that actual change (action Create) matches planned change (action Create)
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalGetProvider
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalReadState
2020/11/20 12:04:05 [TRACE] EvalReadState: reading state for confluentcloud_environment.environment
2020/11/20 12:04:05 [TRACE] EvalReadState: no state present for confluentcloud_environment.environment
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalReduceDiff
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalIf
2020/11/20 12:04:05 [TRACE] eval: terraform.EvalNoop
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalApplyPre
2020/11/20 12:04:05 [TRACE] eval: *terraform.EvalApply
2020/11/20 12:04:05 [DEBUG] EvalApply: ProviderMeta config value set
2020/11/20 12:04:05 [DEBUG] confluentcloud_environment.environment: applying the planned Create change
2020/11/20 12:04:05 [TRACE] GRPCProvider: ApplyResourceChange
2020-11-20T12:04:05.456+0100 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.5.exe: 2020/11/20 12:04:05 [INFO] Creating Environment tf-test
confluentcloud_environment.environment: Creating...
2020/11/20 12:04:09 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2020/11/20 12:04:09 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:09 [TRACE] dag/walk: vertex "provider["registry.terraform.io/mongey/confluentcloud"] (close)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:14 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:14 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2020/11/20 12:04:14 [TRACE] dag/walk: vertex "provider["registry.terraform.io/mongey/confluentcloud"] (close)" is waiting for "confluentcloud_environment.environment"
confluentcloud_environment.environment: Still creating... [10s elapsed]
2020/11/20 12:04:19 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2020/11/20 12:04:19 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:19 [TRACE] dag/walk: vertex "provider["registry.terraform.io/mongey/confluentcloud"] (close)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:24 [TRACE] dag/walk: vertex "provider["registry.terraform.io/mongey/confluentcloud"] (close)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:24 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2020/11/20 12:04:24 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "confluentcloud_environment.environment"
confluentcloud_environment.environment: Still creating... [20s elapsed]
2020/11/20 12:04:29 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:29 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2020/11/20 12:04:29 [TRACE] dag/walk: vertex "provider["registry.terraform.io/mongey/confluentcloud"] (close)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:34 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:34 [TRACE] dag/walk: vertex "provider["registry.terraform.io/mongey/confluentcloud"] (close)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:34 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
confluentcloud_environment.environment: Still creating... [30s elapsed]
2020/11/20 12:04:39 [TRACE] dag/walk: vertex "provider["registry.terraform.io/mongey/confluentcloud"] (close)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:39 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2020/11/20 12:04:39 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:44 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "confluentcloud_environment.environment"
2020/11/20 12:04:44 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2020/11/20 12:04:44 [TRACE] dag/walk: vertex "provider["registry.terraform.io/mongey/confluentcloud"] (close)" is waiting for "confluentcloud_environment.environment"
confluentcloud_environment.environment: Still creating... [40s elapsed]
...
...
...and so on

@Zico56
Copy link
Author

Zico56 commented Nov 24, 2020

Any news on this issue ?

@Zico56
Copy link
Author

Zico56 commented Nov 25, 2020

Hello,

Tested with linux version. It is working (same configuration, terraform version).
Problem seems to occur only on windows 10

Any ideas ? Plugin compilation problem ?
I need this to work on windows too....linux test was done in order to check, but professional conf is windows based.

@Zico56
Copy link
Author

Zico56 commented Nov 25, 2020

Me again :)

I went deeper in the analysis.
I compiled projet in local with some logs added.

I found that, on windows only (as it works on linux), in the case of creation of a new envrionment for instance, the process is lock in function "getOrganizationID" from resource_environment.go.
I got a log before, but nothing just after.

Seems that program stay stuck when reusing ccloud client object. The request is hanging on

Seems a bit similar to follwoing issue:
hashicorp/terraform#22006

I don't have sufficient knwoledge in Go and TF to do more investigation on this point.
Please, any help on this ?

@Zico56
Copy link
Author

Zico56 commented Nov 26, 2020

One more update...

I tested with local compile with both packages "confluentcloud" and "ccloud" saved in local (on windows)....and it's OK
Restested with release_0.0.6...KO
Restested with local compile but remoted package....KO

I believe it's something in compilation process....but what ?

@dgilboa
Copy link

dgilboa commented Dec 10, 2020

happens to us as well (linux/mac).

@nbob31
Copy link
Contributor

nbob31 commented Jan 21, 2021

This is happening for me with the creation of Kafka and Schema Registry API keys. If I do not provide the user_id block it creates it fine tied to the user I am authenticating with. @Mongey Is there any update on this issue or a workaround?

Terraform: 0.13.5
Terraform Confluent Cloud Plugin: 0.0.7
Terraform Kafka Plugin: 0.2.11
Mac OS: 10.15.7

resource "confluentcloud_api_key" "devops_kafka_api_key" {
  cluster_id     = confluentcloud_kafka_cluster.confluentcloud_kafka_cluster.id
  environment_id = confluentcloud_environment.confluentcloud_environment.id
  description    = "DevOps key for ${var.env_short[var.environment]} cluster"
  user_id        = confluentcloud_service_account.devops_service_account.id
}

resource "confluentcloud_api_key" "devops_schema_registry_api_key" {
  environment_id   = confluentcloud_environment.confluentcloud_environment.id
  logical_clusters = [confluentcloud_schema_registry.schema_registry.id]
  user_id          = confluentcloud_service_account.devops_service_account.id
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants