Skip to content
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

Verify upgrade targets.[localhost] Check latest available OpenShift RPM version #14772

Closed
bparees opened this issue Jun 20, 2017 · 17 comments
Closed
Assignees
Labels
component/install kind/test-flake Categorizes issue or PR as related to test flakes. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/P1

Comments

@bparees
Copy link
Contributor

bparees commented Jun 20, 2017

{
    'package_found': False,
    'returncode': 1,
    'stdout': 'Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64 error was 
               No timestamp for file',
    'cmd': '/usr/bin/repoquery --plugins --quiet --pkgnarrow=repos --queryformat=%{version}|%{release}|%{arch}|%{repo}|%{version}-%{release} --config=/tmp/tmp9Yegvi origin',
    'results': {},
    'stderr': 'Repository centos-openshift-origin is listed more than once in the configuration
               Repository centos-openshift-origin-testing is listed more than once in the configuration
               Repository centos-openshift-origin-debuginfo is listed more than once in the configuration
               Repository centos-openshift-origin-source is listed more than once in the configuration
               File /var/cache/yum/x86_64/7Server/epel/metalink.xml does not exist'
}

https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_extended_conformance_install_update/1448

@sdodson
Copy link
Member

sdodson commented Jun 20, 2017

The installer doesn't use the epel repo and I think that's the repo that most often creates these problems.

However, we could loop through creating the yum cache a few times and then ensure that all repo interactions only rely on the cache. However the nature of the mirroring system is that it's sticky so you'll likely get the same bad mirror again and my experience is that these sort of errors tend to last 15 minutes to an hour so I don't think we want to wait indefinitely for the mirror to settle.

@stevekuznetsov what do you think we should do here?

@stevekuznetsov
Copy link
Contributor

Hmm... maybe we should just disable EPEL before testing. Let me try that out.

@brenton
Copy link
Contributor

brenton commented Aug 1, 2017

@stevekuznetsov curious if you were able to try removing EPEL?

@stevekuznetsov
Copy link
Contributor

No, have not had time to do that. Looks like we haven't hit this since, though

@arroadie
Copy link

arroadie commented Aug 4, 2017

facing the same issue on CentOS Linux release 7.3.1611 (Core) trying to install Openshift

@fredrikaverpil
Copy link

fredrikaverpil commented Aug 4, 2017

@arroadie I think something just broke with epel ... as I just came here via google, suddenly experiencing something similar when attempting a simple yum install epel-release.

@arroadie
Copy link

arroadie commented Aug 4, 2017

and that's why we can't have nice things. Thanks @fredrikaverpil

@luccacabra
Copy link

luccacabra commented Aug 4, 2017

Pretty sure this is an epel error - I'm seeing the same error on a centos VM

sudo yum install vim
Loaded plugins: fastestmirror
epel/x86_64/metalink                                                                                                                                                                     |  12 kB  00:00:00
Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64 error was
No timestamp for file

And disabling epel allows functionality again

sudo yum --disablerepo="epel" install vim
Loaded plugins: fastestmirror
base                                                                                                                                                                                     | 3.6 kB  00:00:00
extras                                                                                                                                                                                   | 3.4 kB  00:00:00
updates                                                                                                                                                                                  | 3.4 kB  00:00:00
Loading mirror speeds from cached hostfile
...

@fdr
Copy link

fdr commented Aug 4, 2017

Seeing this on Amazon Linux from EC2 too, for https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 (unrelated to openshift, but where does one report this bug? Figured the Redhat-people might know)

@arroadie
Copy link

arroadie commented Aug 5, 2017

Looks like it's fixed @fdr @jessicalucci @fredrikaverpil

@arroadie
Copy link

arroadie commented Aug 9, 2017

yeah @dmage , you may want to try that again in a couple hours. From what I read epel is updated with rsync and sometimes it fails to propagate leaving that as result.

@sdodson
Copy link
Member

sdodson commented Aug 24, 2017

epel repo has been removed so I believe this particular yum failure should never happen again. Right @stevekuznetsov

@stevekuznetsov
Copy link
Contributor

Heck yeah

@stevekuznetsov
Copy link
Contributor

Actually no, it can happen during image builds as we turn on epel-release in our base image.

@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 18, 2018
@stevekuznetsov
Copy link
Contributor

I think we've squashed this bad boy.

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/install kind/test-flake Categorizes issue or PR as related to test flakes. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/P1
Projects
None yet
Development

No branches or pull requests