-
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 1793128: enable s390x bootimage support #2933
Bug 1793128: enable s390x bootimage support #2933
Conversation
Don't allow people to point to e.g. an RHT-internal endpoint. See: #2462
Not everyone has python3 installed into /usr/bin/.
@crawford: 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. |
/hold Waiting to know that this is the correct version for s390x. |
$ git --no-pager grep buildid origin/pr/2933 -- data/data
origin/pr/2933:data/data/rhcos-amd64.json: "buildid": "42.80.20191002.0",
origin/pr/2933:data/data/rhcos-s390x.json: "buildid": "42s390x.81.20191224.0",
origin/pr/2933:data/data/rhcos.json: "buildid": "42.80.20191002.0", We're ok with this divergence? Should we be bumping AWS to a December build at the same time? Or are our AMIs frozen out? Do we have a summary of what chanced between October and December? |
We haven't made new AMIs for 4.2 since the GA release.
The biggest change is a bump from RHEL 8.0 to RHEL 8.1 content. Using the https://gist.github.com/miabbott/1e790139031706c4b47eec10f2870e40 |
The latest build for s390x is here: That said no changes have gone in to redhat-coreos or coreos-assembler for the 4.2-multiarch branch since 2019/12/19 so I don't think there would be any benefit to changing that version to the latest from the 2019/12/24 build. |
/retest |
You'll need a bug to get the |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sdodson 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 |
Comparing with the master-ward PR:
|
Oh, hanging a bug on this will need a 4.3 backport of #2885 as well. Which I guess will not include these s390x commits? |
Two nits: the |
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. The build metadata was resynced with the following: ./hack/update-rhcos-bootimage.py https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.2/42.80.20191002.0/meta.json amd64
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.
These images differ in version from the AMD64 variants because the s390x variants don't exist. Support for s390x was added after 4.2 was released. The version used here has been the one tested in CI. This was generated with the following: ./hack/update-rhcos-bootimage.py https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.2-s390x/42s390x.81.20191224.0/meta.json s390x
@wking Good catches. I've updated the commits to address both. |
@crawford: This pull request references Bugzilla bug 1793128, 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. |
We've come to an agreement that this is the desired image. /hold cancel |
I'm manually changing the BZ validity label because this change cannot (at this time) be verified in the 4.3 branch. Once Z ships, we will then start on forward-porting these changes to the release-4.3 branch. A little backward, I know. |
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
@crawford: Bugzilla bug 1793128 is in an unrecognized state (MODIFIED) and will not be 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. |
This is a backport of #2885 along with two other commits that enable and add s390x images. The latter two weren't included in master because there are no 4.4 builds for s390x.