OCPBUGS-90633: Fix bootstrap failure in openshift-e2e-aws-disconnected#80851
Conversation
|
@mdbooth: This pull request references Jira Issue OCPBUGS-90633, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (3)
WalkthroughAdds the environment variable ChangesDisconnected Techpreview Job Configuration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/jira refresh |
|
@tthvo: This pull request references Jira Issue OCPBUGS-90633, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
aws-provision-cco-manual-users-static was incorrectly filtering CredentialRequest manifests, resulting in attempting to create a CR secret in a namespace which was not created in the cluster. oc adm release extract --included is the modern solution to this.
3e3a428 to
e1d4809
Compare
|
Rebased to pull in #80814. pj-rehearse should now succeed. |
|
@mdbooth: This pull request references Jira Issue OCPBUGS-90633, which is valid. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse pull-ci-openshift-cluster-capi-operator-main-e2e-aws-capi-disconnected-techpreview |
|
@mdbooth: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: damdo, mdbooth, tthvo 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 |
|
/pj-rehearse ack |
|
@mdbooth: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@mdbooth: all tests passed! 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. |
|
@mdbooth: Jira Issue OCPBUGS-90633: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-90633 has been moved to the MODIFIED state. DetailsIn response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
aws-provision-cco-manual-users-static was incorrectly filtering CredentialRequest manifests, resulting in attempting to create a CR secret in a namespace which was not created in the cluster.
oc adm release extract --included is the modern solution to this.
This latent bug was triggered by openshift/karpenter-operator#12
Unfortunately I think this is untestable without first merging #80814, as that failure occurs first, and afaik pj-rehearse can't do anything like 'testwith'.
Summary by CodeRabbit
This PR fixes a bootstrap failure affecting the
openshift-e2e-aws-disconnectedtest job in the cluster-capi-operator CI configurations. The failure was triggered byaws-provision-cco-manual-users-staticincorrectly filtering CredentialRequest manifests, causing the job to try to create a CredentialRequest secret in a namespace that had not been created in the cluster.To address this, the CI job now enables the modern manifest extraction path by setting
EXTRACT_MANIFEST_INCLUDED: "true"on thee2e-aws-capi-disconnected-techpreviewtest step environment. This allows the job to useoc adm release extract --included, ensuring the correct set of manifests are extracted and applied.Updated CI configurations:
ci-operator/config/openshift/cluster-capi-operator/openshift-cluster-capi-operator-main.yamlci-operator/config/openshift/cluster-capi-operator/openshift-cluster-capi-operator-release-4.23.yamlci-operator/config/openshift/cluster-capi-operator/openshift-cluster-capi-operator-release-5.0.yamlci-operator/config/openshift/cluster-capi-operator/openshift-cluster-capi-operator-release-5.1.yamlThe underlying latent bug was exposed by changes in the
karpenter-operatorrepository.CI/Jira validation note: The referenced Jira issue (
OCPBUGS-90633) was re-validated after an initial invalidation, and the OpenShift CI bot confirmed it as valid following/jira refresh(including a transition to the POST state and matching the expected 5.0.0 target version for the branch).