Repository navigation
add yum-plugin-priorites to allow repo override in ci jobs - #12979
gabemontero wants to merge 1 commit into
Conversation
|
Question - should we be installing epel-release if we're going to add our own mirrors? |
|
You're mounting a repo in via secret, but would everyone else? |
|
@smarterclayton - are you thinking that the Dockerfile say calls a new script we add that varies what i.e. RUN INSTALL_PKGS=`newScript.sh` And |
|
I'm saying whomever builds origin-base decides what mirrors to include, and we only install epel-release if no mirrors are installed (if no mounted mirrors) |
|
On Tue, Feb 21, 2017 at 5:53 PM Clayton Coleman ***@***.***> wrote:
I'm saying whomever builds origin-base decides what mirrors to include,
and we only install epel-release if no mirrors are installed (if no mounted
mirrors)
ok implementation details aside that is what i was inferring. Thanks for
the confirm - i will rework the pull.
… —
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12979 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADbadPqKwskVCuWU4ytDNeuqQJwNt4L2ks5re2rlgaJpZM4MCNTq>
.
|
a35477c to
3874588
Compare
|
install of epel-release now conditional ... if local repo file present, epel-release is not included in the list to install |
7e8f9e9 to
104c810
Compare
| rpm -V yum-plugin-priorities && \ | ||
| yum clean all | ||
|
|
||
| RUN if [ -f /etc/yum.repos.d/local_epel.repo ]; then INSTALL_PKGS="which git tar wget hostname sysvinit-tools util-linux bsdtar \ |
There was a problem hiding this comment.
I thought the priority plugin would let us install epel-release always? The back we're doing in CI should be transparent to this container manifest.
|
it would but @smarterclayton asked to make it conditional anyway
|
104c810 to
79bc484
Compare
|
[test] |
|
@smarterclayton what's the rationale for the above? I thought this was supposed to be transparent |
|
As an aside, our local mirror is no longer working for us (whereas when I prototyped this last month it did work). Certainly this would need to be resolved before we pull the trigger on this. Some dependency errors are occurring when running in my test ami (which I provisioned yesterday): Occurs both when including |
3cc0287 to
47ce8ab
Compare
|
I'm still getting the same errors noted in #12979 (comment) As a reminder, we are simply trying to do a yum install of these packages using our local epel mirror:
@tdawson - @stevekuznetsov believe there is a job that is suppose to periodically update https://mirror.openshift.com/mirror/epel and make sure it is sorted out wrt to error like the one above. Does that ring any bells, and if so, should we poke that job? Or is this a known issue? Or if none of the above, any hints on how we should solve / debug? |
|
@gabemontero Is there any way I can get the full error. This doesn't seem to be an "not all epel is there" issue, but something else. But I can't tell what from what is shown. |
|
@tdawson hey - here is a gist with the entire set of output: https://gist.github.com/gabemontero/cb1cf709ca5164baac4692eacf4923f5 The vagrant command is executing hack/build-base-images.sh on my ec2 instance. Also for reference, the update to the Dockerfile that hack/build-base-images.sh uses is captured in this PR. thanks |
|
This isn't a matter of the epel mirror not being in sync. This is a matter of figuring out why it's trying to pull from local_epel instead of base. ceph-common, and all it's dependencies, have been merged into the standard RHEL7, and so an install of it should pull everything from base. |
|
thanks for the info @tdawson The million dollar question for a yum neophyte like me is how to ensure that. Given the contents of our local_epel.repo: And the contents of the epel.repo that came with the system: I have no idea how to enforce that. So far, I've tried to
I could remove the priority from there, but then it seems like I need to remove the epel.repo file, which we'd rather not do. Any suggestions? |
|
Is there any way I/we can look at what the [base] repo config looks like. |
|
Hey @tdawson - sorry for the delay - was out a bit for surgery, and am now finally about caught up. Interestingly, when looking at all the files in Is there another place in our instance I should look for that? Or of course perhaps we need to inject an appropriate |
47ce8ab to
c493a13
Compare
|
Evaluated for origin test up to c493a13 |
|
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1833/) (Base Commit: 5a19120) |
|
Couldn't install the yum plugin priorities with the last test run - none of the mirrors had it. |
|
Origin Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gabemontero Assign the PR to them by writing No associated issue. Update pull-request body to add a reference to an issue, or get approval with The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:You can indicate your approval by writing |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gabemontero Assign the PR to them by writing No associated issue. Update pull-request body to add a reference to an issue, or get approval with The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:You can indicate your approval by writing |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gabemontero Assign the PR to them by writing No associated issue. Update pull-request body to add a reference to an issue, or get approval with The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:You can indicate your approval by writing |
|
is this PR still being pursued? |
|
Given #16028 if the removal of epel goes through I think this PR and the corresponding flake issue can get nuked @stevekuznetsov - agree ? |
See #8571 (though additional work is needed after this merges to resolve that issue)
@smarterclayton @stevekuznetsov @sdodson ptal