opentelekomcloud / terraform-provider-opentelekomcloud

Terraform OpenTelekomCloud provider
https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest
Mozilla Public License 2.0
84 stars 76 forks source link

Please check CCE-Cluster provisioning time/notification ... #2158

Closed uli-max closed 1 year ago

uli-max commented 1 year ago

Terraform provider version

Terraform v1.3.5 on darwin_arm64

Affected Resource(s)

opentelekomcloud_cce_cluster_v3

Terraform Configuration Files

Just an runtime issue ... 

Debug Output/Panic Output

In OTC-UI Cluster is shown finished after 6.5min.

image

But terraform show 10 more minutes "Still creating" ... ... module.cce.opentelekomcloud_cce_cluster_v3.cluster: Still creating... [17m0s elapsed] module.cce.opentelekomcloud_cce_cluster_v3.cluster: Still creating... [17m10s elapsed] module.cce.opentelekomcloud_cce_cluster_v3.cluster: Still creating... [17m20s elapsed] module.cce.opentelekomcloud_cce_cluster_v3.cluster: Creation complete after 17m25s [id=c910abd6-eb49-11ed-bef8-02550a10004e]

Steps to Reproduce

  1. terraform apply

Expected Behavior

Please check, why "provider" didn't recognize that OTC is already finished with creation.

Actual Behavior

Provider wait or need over 10min to recognize that OTC is already finished.

Important Factoids

None ...

References

Internal-Jira: CONT-1665

anton-sidelnikov commented 1 year ago

@uli-max This cluster with addons or without? Because now if you set no_addons key - terraform will wait additionally because addons statuses was changed and we should wait before deletion

Nils-Magnus commented 1 year ago

Could you please provide a stripped down tf template that exemplifies the long-running behavior? Just to rule out to compare apples with pears.

victorgetz commented 1 year ago

Uli is using our project factory: https://github.com/iits-consulting/terraform-opentelekomcloud-project-factory/tree/master/modules/cce

We install autoscaler and metrics

anton-sidelnikov commented 1 year ago

@uli-max Hi check on latest please

uli-max commented 1 year ago

@anton-sidelnikov: My Results today: 05_42_21

Looking good for me! Only 2-3min lost instead of 10min.

Thanks for the fix !!!