-
Notifications
You must be signed in to change notification settings - Fork 71
OCPBUGS-25019: building rhel8/rhel9/static clis in payload image #704
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
Conversation
/hold WIP |
currently builds everything, but transplants only the linux opm binary from the rhel8 builder. -rwxr-xr-x. 1 root root 80551544 Feb 28 21:11 opm
-rwxr-xr-x. 1 root root 80310624 Feb 28 21:07 opm-rhel8 but the ldd output is not what I expected. I thought that the resulting container would be in the context of rhel9 so the rhel8 binary would have some dangling library links, but they all appear to be satisfied: bash-5.1$ ldd opm
linux-vdso.so.1 (0x00007ffe1c9a2000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f8dea739000)
libc.so.6 => /lib64/libc.so.6 (0x00007f8dea530000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8dea752000)
bash-5.1$ ldd opm-rhel8
linux-vdso.so.1 (0x00007ffe9ecb3000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fbc56463000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbc5645e000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fbc56459000)
libc.so.6 => /lib64/libc.so.6 (0x00007fbc56250000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbc5647c000) These results look strange because both sets are resolved (with different hex values for their requirements) but also because there are more linkages in the rhel8 version. It's probably a product of the platform version on which they were built, but hopefully we can demystify the issues. |
/retest |
/hold cancel |
/retest |
Failing e2e is waiting for infra PR to merge: openshift/origin#28631 |
Did RHEL9 combine |
/retest |
Yes, they were:
AND
|
If I'm understanding correctly, this will increase the size of all of the catalog images by the same amount as the binary size, which impacts mirroring and image pulling. Is it possible to build a separate image for the RHEL8 binary? |
/hold |
Signed-off-by: Jordan <[email protected]>
/retest |
/hold cancel |
/retest |
/retest |
2 similar comments
/retest |
/retest |
@grokspawn: This pull request references Jira Issue OCPBUGS-25019, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: everettraven, grokspawn 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 |
@grokspawn: 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/test-infra repository. I understand the commands that are listed here. |
@grokspawn: Jira Issue OCPBUGS-25019: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-25019 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 openshift-eng/jira-lifecycle-plugin repository. |
[ART PR BUILD NOTIFIER] This PR has been included in build operator-lifecycle-manager-container-v4.16.0-202403052341.p0.gc84b6ad.assembly.stream.el9 for distgit operator-lifecycle-manager. |
Fix included in accepted release 4.16.0-0.nightly-2024-03-06-073110 |
This PR generates a new operator-framework-clis image which contains rhel8 & rhel9 FIPS-compliant binaries and an updated static non-FIPS-compliant binary:
rhel8 binaries are provided only where the binary is dynamically linked for rhel9 in main/latest OCP, so for e.g. no darwin, windows versions.
Followups in other repos will lead to ART packaging binaries from this image to the mirrors site instead of the image used as the basis for catalog pods.
(and possibly to slimming down the catalog basis image)