[18.0-fr6] Fix cert-manager CA rotation race in TLS cert rotation KUTTL test#1967
Conversation
The ctlplane-tls-cert-rotation KUTTL test fails intermittently because the custom_duration patch changes both CA and leaf cert durations simultaneously. cert-manager processes Certificate resources in parallel, so leaf certs can be re-issued before the CA itself is re-issued, resulting in some certs signed by the old CA and others by the new CA. This causes cross-service SSL verification failures (e.g. neutron cannot connect to OVN NB due to CA mismatch). Fix by removing CA duration changes from the patch so only leaf cert durations change, preventing the CA key from rotating. Also add cert-manager re-issuance waits and control plane stability checks in step 03, and add retry logic to the non-API service cert check in step 04. Ref: https://redhat.atlassian.net/browse/OSPRH-32142 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abays, openshift-cherrypick-robot The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
f8ee522
into
openstack-k8s-operators:18.0-fr6
|
@openshift-cherrypick-robot: The following test failed, say Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |

This is an automated cherry-pick of #1964
/assign abays