You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Intermittent errors: Error downloading the cluster config [c2skm3gd0nm0nnpu9uj0]: Could not login to openshift account runtime error: slice bounds out of range [8:0]
Re-running a few times the command get past this - it does seem to be some race condition?
Steps to Reproduce
terraform apply
Important Factoids
VPC OpenShift clusters. Reproducable on various machines.
References
#0000
The text was updated successfully, but these errors were encountered:
vburckhardt
changed the title
Intermittent errors in ibm_container_cluster_config (race conditions?)
Intermittent errors in ibm_container_cluster_config (slice bounds out of range [8:0] - race condition?)
Jun 14, 2021
experiencing same issue doing terraform plan, apply or destroy, re-running one or twice usually fixes it like @vburckhardt says, but it is becoming really persistent lately.
I am running Terraform v1.0.0 and provider registry.terraform.io/ibm-cloud/ibm v1.26.2
I think this is some kind of intermittent or race condition where the master url of the cluster is not reachable...
We are planning to add some retries on such race condition...
This is PR which is in development to handle retries #2774
We are planning to make this fix available in next release planned in couple of days(v1.27.0)
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
data "ibm_container_cluster_config"
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Git with full trace: https://gist.github.com/vburckhardt/49b914b363383a4113114970cbb18efe
Panic Output
Expected Behavior
Actual Behavior
Intermittent errors:
Error downloading the cluster config [c2skm3gd0nm0nnpu9uj0]: Could not login to openshift account runtime error: slice bounds out of range [8:0]
Re-running a few times the command get past this - it does seem to be some race condition?
Steps to Reproduce
terraform apply
Important Factoids
VPC OpenShift clusters. Reproducable on various machines.
References
The text was updated successfully, but these errors were encountered: