-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Bug 1739445: Remove oc rpms #23567
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 1739445: Remove oc rpms #23567
Conversation
|
/hold |
|
/retest |
1 similar comment
|
/retest |
|
rpm repos timeouts for other packages |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
sounds like we don't support cross repo rpms |
|
@tnozicka: This pull request references a valid Bugzilla bug. 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. DetailsIn 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. |
|
It is failing on missing |
|
/cc @stevekuznetsov |
stevekuznetsov
left a comment
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.
What is the chain of dependencies here? What is the base image? Which repo are you trying to use?
images/os/Dockerfile
Outdated
| mkdir /tmp/working && cd /tmp/working && \ | ||
| yumdownloader --enablerepo=built --destdir=/tmp/rpms openshift-hyperkube openshift-clients && \ | ||
| PACKAGES=(openshift-hyperkube openshift-clients) && \ | ||
| yumdownloader --enablerepo=built --destdir=/tmp/rpms ${PACKAGES[@]} && \ |
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.
If you are using [@] you must use double quotes or it's useless.
|
If you're trying to install RPMs built in a different repo from the ephemeral RPM server, then no, that does not work. |
Sounds like a blocker for 4.2; given oc lives in openshift/oc and it needs to be installed into machine-os image build from origin, we need a way to promote those as we do for images. Can DPTP team help support promoting RPMs? |
|
Can you build machine-os-content from |
|
Or, we could move |
No. That is an anti-goal. The two are separate and upstream is pushing them even further apart.
What does machine-os-content mean? How about we simply eliminate the |
7df6bda to
237f03c
Compare
|
/retest |
|
/test images |
|
/retest |
|
talked to @smarterclayton and we can drop the oc from the machine-os-image as nothing in CI uses it and ART will install oc there |
f4c164a to
9bca06d
Compare
soltysh
left a comment
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
/approve
9bca06d to
1412739
Compare
soltysh
left a comment
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: soltysh, tnozicka The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-aws |
|
test-cmd should be fixed by #23649 |
|
/retest |
|
At this point, if an image needs an oc client, we would prefer copying it over from ose-cli image rather than picking it up as an RPM. That doesn't really matter here, though, as we still need to produce a client RPM, it just needs to come from a different location. |
@sosiouxme not quite, aside from the binary RPM must deliver man pages, I don't think we put those in the image, although maybe we should. @tnozicka can you check if we do and update our image to have it? That'd be |
|
We actually had a bug open about oc not having man pages - I think we passed it on, but it is certainly desirable for oc to have man pages wherever it might be used by a human. |
|
/retest |
|
I am not sure about copying it out from the image. What if the man pages or some of the shared libraries differ? We link differently for RHEL, more dynamically and with special libraries. If we need to install those into both RHEL 7 and 8 those libraries and man pages could differ and we have the CLI image build just for one of them, so copying it out might not be the safest option. |
|
/retest |
|
ok, this is ready to be unhold when ART switches the oc RPM to be built from oc repo |
|
https://jira.coreos.com/browse/ART-844 is done |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@tnozicka: All pull requests linked via external trackers have merged. Bugzilla bug 1739445 has been moved to the MODIFIED state. DetailsIn 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. |
Those RPMs have moved into oc repo. We are now trying to switch ART team to use them but we shouldn't build from 2 places at once.
hyperkube needs to stay for providing kubelet to the base image. (
origin/images/os/Dockerfile
Line 7 in 7aedc3c
/cc @smarterclayton @eparis @deads2k @soltysh