-
Notifications
You must be signed in to change notification settings - Fork 30
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
Wait until ingress is ready #747
Comments
In order to run the script at https://github.com/terraform-ibm-modules/terraform-ibm-base-ocp-vpc/blob/404cb937a0d9f9e558c77c8852a5f88b3ff21d84/main.tf#L383 in landing zone you would need access to the private network to be able to connect to cluster with kubectl since public endpoint is disabled by default. There may also be other network restrictions in place that might block that connection? |
We think think this is why many of the tests used in the MAS PR test pipeline fail intermittently too - seems the cluster is not fully ready. |
I do believe we can easily recreate this. Even after the cluster ingress goes green, the master seems to then get restarted to configure KMS encryption: After reaching out to IKS, this seems to be a known issue:
There is an internal issue tracking this with IKS: https://github.ibm.com/alchemy-containers/armada-network/issues/8843 Meanwhile, perhaps we could add extra checks on the master status AFTER the ingress has gone green? |
I tried running the confirm_network_healthy.sh script but it didn't help. The Ingress is green and the script passed after 2 seconds however the master status was "Key management service enablement in progress". |
Things seem alot better in OCP 4.14. They fixed the issue I quoted above and confirmed the following:
|
IKS team has confirmed there is an issue with the terraform provider marking the cluster as ready too early. This is what they said:
|
This might help:
Going to test it out |
The fix for this was added in https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone/releases/tag/v5.25.0 |
Description
Some reports that clusters are not fully ready after install terraform-ibm-modules/terraform-ibm-mas#24
There is already a condition at
terraform-ibm-landing-zone/variables.tf
Line 909 in a28231d
Possibly porting https://github.com/terraform-ibm-modules/terraform-ibm-base-ocp-vpc/blob/404cb937a0d9f9e558c77c8852a5f88b3ff21d84/main.tf#L383 may be sufficient, to investigate.
New or affected modules
By submitting this issue, you agree to follow our Code of Conduct
The text was updated successfully, but these errors were encountered: