-
Notifications
You must be signed in to change notification settings - Fork 222
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
ARMOCP-417: enable arm64 for agent installer #4441
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #4441 +/- ##
==========================================
- Coverage 67.56% 67.55% -0.01%
==========================================
Files 203 203
Lines 30300 30312 +12
==========================================
+ Hits 20471 20477 +6
- Misses 8021 8027 +6
Partials 1808 1808
|
/retest |
1b1c7d7
to
bf0f742
Compare
1b36342
to
12a4e28
Compare
Do we think we need to normalize these? This is comparing the architecture in the infraEnv CR with the one in the preprovisioningimage (detected by ironic in some way). Although I don't think this PR will change either of those as one is provided by the user and the other is provided by ironic so maybe it's fine (or at least as fine as it was before). |
I haven't hit this in my local testing w/agent installer. FWIW, my first attempts was normalizing all comparisons, didn't work and was kinda messy. Normalizing the inputs seems to be the best route.
|
You wouldn't, this is a ZTP-specific section of the code, but I think we can leave it for now. Looks like you'll need to address the subsystem test failure though. |
@jeffdyoung: The following tests failed, say
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/test-infra repository. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carbonin, jeffdyoung 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 |
FWIW this also resolves https://issues.redhat.com/browse/MGMT-13386 |
There is an inconsistency about the name of the architecture to use in the InfraEnv and other CRDs using the OSImage object. Users can easily provide a different string for the CPUArchitecture fields in such CRs and no error would arise from them as they are not validated, making it harder for the user to debug and understand how to proceed with their deployment. This commit adds validation for the architecture field among the values in the set {arm64, ppc64le, s390x, x86_64} Related to openshift#4441
Translate arm64-> aarch64 in instances where we reference rhcos (should mirror x86_64 -> amd64 mapping)
In parallel with openshift-installer change for agent installer: openshift/installer#6401
List all the issues related to this PR
What environments does this code impact?
How was this code tested?
Manually created agent.iso and installed OCP with arm64 BM HW in our RDU2 lab
Checklist
docs
, README, etc)Reviewers Checklist