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

[ibm_container_vpc_cluster ] wait_till = "Normal" does not work #4214

Closed
ocofaigh opened this issue Dec 2, 2022 · 3 comments · Fixed by #4225
Closed

[ibm_container_vpc_cluster ] wait_till = "Normal" does not work #4214

ocofaigh opened this issue Dec 2, 2022 · 3 comments · Fixed by #4225
Labels
service/Kubernetes Service Issues related to Kubernetes Service Issues

Comments

@ocofaigh
Copy link
Contributor

ocofaigh commented Dec 2, 2022

wait_till = "Normal" was added in 1.48.0 however it always fails with:
Error: unexpected state 'critical', wanted target 'normal'. last error: %!s(<nil>)

After reproducing locally, I checked the state of the cluster in the UI and it showed as:
image

However according to the docs, Normal is:

All worker nodes in a cluster are up and running. You can access the cluster and deploy apps to the cluster. This state is considered healthy and does not require an action from you.

After a few more minutes, all worker nodes went green:
image

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform IBM Provider Version

Affected Resource(s)

  • ibm_container_vpc_cluster

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please share a link to the ZIP file.

Debug Output

trace.log

Panic Output

Expected Behavior

Cluster provisioning should pass in terraform

Actual Behavior

Error: unexpected state 'critical', wanted target 'normal'. last error: %!s(<nil>)

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@ocofaigh
Copy link
Contributor Author

ocofaigh commented Jan 4, 2023

Still not working correctly in 1.49.0. See #4266

@vburckhardt
Copy link

does this need to be reopened? @ocofaigh @hkantare

@ocofaigh
Copy link
Contributor Author

ocofaigh commented Jul 5, 2023

No Its fixed now @vburckhardt in 1.50.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/Kubernetes Service Issues related to Kubernetes Service Issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants