[JIRA] (OVIRT-1395) CI on 4.1 engine patch fails on FC24 due to yum not finding the right mirror

Gil Shinar (oVirt JIRA) jira at ovirt-jira.atlassian.net
Mon May 22 08:51:59 UTC 2017


     [ https://ovirt-jira.atlassian.net/browse/OVIRT-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gil Shinar reassigned OVIRT-1395:
---------------------------------

    Assignee: Gil Shinar  (was: infra)

> CI on 4.1 engine patch fails on FC24 due to yum not finding the right mirror
> ----------------------------------------------------------------------------
>
>                 Key: OVIRT-1395
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1395
>             Project: oVirt - virtualization made easy
>          Issue Type: Outage
>          Components: Jenkins
>            Reporter: Allon Mureinik
>            Assignee: Gil Shinar
>
> CI on patch https://gerrit.ovirt.org/#/c/77074/ failed due to yum missing a mirror(?). The error:
> 04:13:13 ERROR: Command failed: 
> 04:13:13  # /usr/bin/yum-deprecated --installroot /var/lib/mock/fedora-24-x86_64-6b7e112425ed139d649817c1e6d666bb-20792/root/ --releasever 24 install @buildsys-build autoconf git java-1.8.0-openjdk-devel make maven net-tools otopi postgresql-jdbc postgresql-server pyflakes python2-mock python-psycopg2 python2-pytest python-devel python-isort python-pep8 yum-utils --setopt=tsflags=nocontexts
> 04:13:13 Yum command has been deprecated, use dnf instead.
> 04:13:13 See 'man dnf' and 'man yum2dnf' for more information.
> 04:13:13 
> 04:13:13 http://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/fc24/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
> 04:13:13 Trying other mirror.
> 04:13:13 
> 04:13:13 
> 04:13:13  One of the configured repositories failed ("Custom ovirt-snapshot-static"),
> 04:13:13  and yum doesn't have enough cached data to continue. At this point the only
> 04:13:13  safe thing yum can do is fail. There are a few ways to work "fix" this:
> 04:13:13 
> 04:13:13      1. Contact the upstream for the repository and get them to fix the problem.
> 04:13:13 
> 04:13:13      2. Reconfigure the baseurl/etc. for the repository, to point to a working
> 04:13:13         upstream. This is most often useful if you are using a newer
> 04:13:13         distribution release than is supported by the repository (and the
> 04:13:13         packages for the previous distribution release still work).
> 04:13:13 
> 04:13:13      3. Disable the repository, so yum won't use it by default. Yum will then
> 04:13:13         just ignore the repository until you permanently enable it again or use
> 04:13:13         --enablerepo for temporary usage:
> 04:13:13 
> 04:13:13             yum-config-manager --disable ovirt-snapshot-static
> 04:13:13 
> 04:13:13      4. Configure the failing repository to be skipped, if it is unavailable.
> 04:13:13         Note that yum will try to contact the repo. when it runs most commands,
> 04:13:13         so will have to try and fail each time (and thus. yum will be be much
> 04:13:13         slower). If it is a very temporary problem though, this is often a nice
> 04:13:13         compromise:
> 04:13:13 
> 04:13:13             yum-config-manager --save --setopt=ovirt-snapshot-static.skip_if_unavailable=true
> 04:13:13 
> 04:13:13 failure: repodata/repomd.xml from ovirt-snapshot-static: [Errno 256] No more mirrors to try.
> 04:13:13 http://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/fc24/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
> Link to the jenkins output: http://jenkins.ovirt.org/job/ovirt-engine_4.1_check-patch-fc24-x86_64/1089/console



--
This message was sent by Atlassian JIRA
(v1000.990.2#100044)


More information about the Infra mailing list