-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Bug 1818140: Backport adding groundwork for multi-arch images #3233
Bug 1818140: Backport adding groundwork for multi-arch images #3233
Conversation
@Prashanth684: No Bugzilla bug is referenced in the title of this pull request. 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 kubernetes/test-infra repository. |
/assign @wking |
I don't see the s390x image variants. Is that intentional? I want to double check the amd64 variants as well. /hold |
Yes. the 4.3 s390x images need to be put in |
/hold cancel Can you drop that last commit (enabling s390x as a valid platform) until we have the build metadata? |
I added the build metadata for s390x. I was just not aware that the URL used for getting the metadata was a public version of the internal URL. |
@miabbott is the RHCOS team comfortable with this version being used for s390x? @Prashanth684 does the QEMU variant of this image use the config-drive or do we need a similar hack to the one we used in 4.2? |
we need coreos/ignition#905 (or something similar) for the QEMU variant to use config drive |
Okay, let's hold this PR for now. We'll need to get a fix into the OS and then update the build metadata. Same goes for ppc64. /hold |
Comparing the But the Of course, this is moot if we need a fix to Ignition and have to respin everything anyways... |
exactly. i am waiting for coreos/ignition#905 to merge and then re-spin ignition for 4.3. |
5385cea
to
0bdcc34
Compare
This adds an architecture parameter to the RHCOS image lookup process and a corresponding field to MachinePool. This is a backward-compatible change, defaulting the architecture to AMD64 if none has been specified. This also enforces that the control plane and compute nodes share an architecture, since we don't support heterogeneous clusters today. (cherry picked from commit 2583ba4)
Not everyone has python3 installed into /usr/bin/. (cherry picked from commit 8428471)
0bdcc34
to
a36ffdb
Compare
This splits the RHCOS build metadata into architecture-specific files. This will allow the metadata to contain information about bootimages of multiple architectures. In order to preserve backward compatibility (there are a few users, including certain CI jobs, that pull rhcos.json from GitHub directly), I've opted to use separate files for each architecture. Normally, we could have just symlinked the legacy metadata file, but when hosted on raw.githubcontent.com, the symlinks aren't followed. When updating the RHCOS bootimages, this script will need to be run once for each architecture that is being updated. (cherry picked from commit b1726d2)
(cherry picked from commit b7d7474)
Similar to commit openshift@b1381e5 for 4.2 This was generated by: ./hack/update-rhcos-bootimage.py https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.3-s390x/43.81.202003172338.0/s390x/meta.json s390x
Similar to previous commit, add metadata for ppc64le which is a supported arch 4.3 onwards. This was generated by: ./hack/update-rhcos-bootimage.py https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.3-ppc64le/43.81.202003172241.0/ppc64le/meta.json ppc64le
a36ffdb
to
84608d9
Compare
@crawford @miabbott updated PR with latest bootimage for s390x and ppc64le which includes support in ignition for coreos/ignition#936 |
The versions for The versions roughly align with /approve |
Bump terraform libvirt provider to use the openshift/terraform-provider-libvirt multi_arch branch which has the support for fetching ignition for s390x and ppc64le. The multi_arch branch is based on the 40b0cda5333a29dd9f33d1cfdc206bfad3a8af96 commit of the provider and just adds - dmacvicar/terraform-provider-libvirt#718
@crawford bumped terraform with the latest commit. We have all that we need. Should be good to go. |
@Prashanth684: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: crawford, miabbott 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 |
/retitle Bug 1818140: [release-4.3]: Backport adding groundwork for multi-arch images |
@Prashanth684: This pull request references Bugzilla bug 1818140, 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 kubernetes/test-infra repository. |
/bugzilla refresh |
@Prashanth684: This pull request references Bugzilla bug 1818140, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 6 validation(s) were run on this bug
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 kubernetes/test-infra repository. |
/hold cancel |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
@Prashanth684: All pull requests linked via external trackers have merged: openshift/installer#3233. Bugzilla bug 1818140 has been moved to the MODIFIED state. 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 kubernetes/test-infra repository. |
A backport of #2885 and backport of one commit from #2933 - which is to enable s390x boot image support.
List of commits which are being backported:
2583ba4
8428471
b1726d2
b7d7474
/cc @crawford @jaypoulz