Skip to content

Wait for stable cluster after openshift_setup configuration changes#3908

Open
mnietoji wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
mnietoji:fix/wait-stable-cluster-after-openshift-setup
Open

Wait for stable cluster after openshift_setup configuration changes#3908
mnietoji wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
mnietoji:fix/wait-stable-cluster-after-openshift-setup

Conversation

@mnietoji
Copy link
Copy Markdown
Contributor

@mnietoji mnietoji commented May 7, 2026

The openshift_setup role modifies cluster-wide resources (Image/cluster additionalTrustedCA, registrySources, ImageContentSourcePolicy, Network operator config) that trigger rolling updates of the API server and other control plane components. Without waiting for these rollouts to complete, subsequent tasks (e.g. kustomize_deploy) fail with 401 Unauthorized because the API server pods are being recycled.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 7, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign michburk for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mnietoji mnietoji force-pushed the fix/wait-stable-cluster-after-openshift-setup branch 2 times, most recently from f6142a7 to 976c753 Compare May 7, 2026 11:01
@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/895050da6bad4d9caa2e1f6d13377bfa

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 28m 50s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 27m 36s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 32m 54s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 1h 31m 26s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 58s
adoption-standalone-to-crc-ceph-provider POST_FAILURE in 2h 53m 27s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 54s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 26s
✔️ cifmw-molecule-cifmw_setup SUCCESS in 2m 14s

@mnietoji mnietoji force-pushed the fix/wait-stable-cluster-after-openshift-setup branch from 976c753 to d3f2fe1 Compare May 8, 2026 08:51
Comment thread roles/cifmw_setup/tasks/infra.yml
@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/ae417c8551e64468be18c7e3bb69b455

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 39m 27s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 32m 01s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 41m 14s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 03m 34s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 53s
adoption-standalone-to-crc-ceph-provider POST_FAILURE in 1h 33m 07s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 7m 57s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 09s
✔️ cifmw-molecule-cifmw_setup SUCCESS in 2m 48s

@mnietoji mnietoji force-pushed the fix/wait-stable-cluster-after-openshift-setup branch 2 times, most recently from 00d90a5 to 143fc63 Compare May 8, 2026 12:11
The openshift_setup role modifies cluster-wide resources
(Image/cluster additionalTrustedCA, registrySources,
ImageContentSourcePolicy, Network operator config) that trigger
rolling updates of the API server and other control plane components.
Without waiting for these rollouts to complete, subsequent tasks
(e.g. kustomize_deploy) fail with 401 Unauthorized because the API
server pods are being recycled.

Signed-off-by: Miguel Angel Nieto Jimenez <mnietoji@redhat.com>
@mnietoji mnietoji force-pushed the fix/wait-stable-cluster-after-openshift-setup branch from 143fc63 to fb5ae82 Compare May 8, 2026 12:15
@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/ea15ad11a4534b67bb7207838b20049d

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 29m 35s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 25m 14s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 06m 27s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 1h 03m 10s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 25s
adoption-standalone-to-crc-ceph-provider POST_FAILURE in 3h 04m 57s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 16s
cifmw-pod-pre-commit FAILURE in 8m 02s
✔️ cifmw-molecule-cifmw_setup SUCCESS in 2m 23s

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/6b2c867d5b754697b3d2a13a75dc76b1

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 29m 16s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 28m 08s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 41m 59s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 1h 02m 50s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 59s
adoption-standalone-to-crc-ceph-provider POST_FAILURE in 3h 05m 58s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 08s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 04s
✔️ cifmw-molecule-cifmw_setup SUCCESS in 2m 13s

@brjackma
Copy link
Copy Markdown
Contributor

brjackma commented May 8, 2026

recheck

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/27fac6906fcf4a9c83ddf3c6b1a78a7c

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 19m 58s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 28m 20s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 01m 30s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 1h 05m 39s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 11s
adoption-standalone-to-crc-ceph-provider POST_FAILURE in 3h 06m 41s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 15s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 59s
✔️ cifmw-molecule-cifmw_setup SUCCESS in 2m 22s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants