-
Notifications
You must be signed in to change notification settings - Fork 328
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
[release-4.17] OCPBUGS-44927: Add multi-arch validation for HC/NodePool compatibility #5238
base: release-4.17
Are you sure you want to change the base?
Conversation
@bryan-cox: This pull request references Jira Issue OCPBUGS-44927, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In 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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/jira refresh |
@bryan-cox: This pull request references Jira Issue OCPBUGS-44927, which is invalid:
Comment In 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. |
/jira refresh |
@bryan-cox: This pull request references Jira Issue OCPBUGS-44927, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: In 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. |
/retest for konflux |
@bryan-cox: This pull request references Jira Issue OCPBUGS-44927, which is valid. 7 validation(s) were run on this bug
Requesting review from QA contact: In 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. |
/retest |
2 similar comments
/retest |
/retest |
Hey @bryan-cox I think this and the above bugs need the Release Note thing. |
/retest |
This commit refactors the multi-arch release image/stream validation into the core CLI since Agent, AWS, and Azure are capable of multi-arch HostedClusters. Signed-off-by: Bryan Cox <brcox@redhat.com>
Add PayloadArch field to HostedCluster Status track the CPU architecture of the HostedCluster release image. This information informs if the HostedCluster is multi-arch capable or not. Signed-off-by: Bryan Cox <brcox@redhat.com>
Validate the NodePool's CPU architecture can be supported by the HostedCluster's release image payload. Signed-off-by: Bryan Cox <brcox@redhat.com>
Create a function to retrieve the pull secret bytes from a HostedCluster Signed-off-by: Bryan Cox <brcox@redhat.com>
Deprecate MultiArch API field and CLI flag. Multi-arch validation is now automatically performed based on the release image. Signed-off-by: Bryan Cox <brcox@redhat.com>
Add a NodePool CPU check in the Azure and AWS NodePool Create CLI commands. This check will make sure the HostedCluster payload arch supports the NodePool CPU architecture. Signed-off-by: Bryan Cox <brcox@redhat.com>
This commit: - adds ArchitectureMulti to NodePool API so we are comparing to `multi` consistently in our codebase. Signed-off-by: Bryan Cox <brcox@redhat.com>
Validates HostedCluster.Status.PayloadArch is set correctly in e2e. Signed-off-by: Bryan Cox <brcox@redhat.com>
ce21af3
to
bddbc29
Compare
@bryan-cox: all tests passed! Full PR test history. Your PR dashboard. 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/retest |
1 similar comment
/retest |
/hold |
What this PR does / why we need it:
This is a manual backport of
Some notes...
I did not backport this specific commit since it was an upstreams doc commit - 7092f44.
There's an extra commit on this PR, which is the last commit. It was the run
make update
commit since some of the API go.mod libraries were bumped in the original PR that are not in 4.17.Which issue(s) this PR fixes:
Fixes OCPBUGS-44927
Checklist