Skip to content

yum failure - epel slowness #9642

Closed
Closed

Description

@soltysh

Seen in #9597, https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/2625/console:

--> RUN INSTALL_PKGS="haproxy iptables lsof" &&     yum install -y $INSTALL_PKGS &&     rpm -V $INSTALL_PKGS &&     mkdir -p /var/lib/containers/router/{certs,cacerts} &&     mkdir -p /var/lib/haproxy/{conf,run,bin,log} &&     touch /var/lib/haproxy/conf/{{os_http_be,os_edge_http_be,os_tcp_be,os_sni_passthrough,os_reencrypt,os_edge_http_expose,os_edge_http_redirect}.map,haproxy.config} &&     chmod -R 777 /var &&     yum clean all
Loaded plugins: fastestmirror, ovl


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>

     4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
error: running '/bin/sh -c INSTALL_PKGS="haproxy iptables lsof" &&     yum install -y $INSTALL_PKGS &&     rpm -V $INSTALL_PKGS &&     mkdir -p /var/lib/containers/router/{certs,cacerts} &&     mkdir -p /var/lib/haproxy/{conf,run,bin,log} &&     touch /var/lib/haproxy/conf/{{os_http_be,os_edge_http_be,os_tcp_be,os_sni_passthrough,os_reencrypt,os_edge_http_expose,os_edge_http_redirect}.map,haproxy.config} &&     chmod -R 777 /var &&     yum clean all' failed with exit code 1

Activity

  1. added
    kind/test-flake
    on Jun 30, 2016
  2. mfojtik commented on Jun 30, 2016

    @mfojtik
    Contributor

    @soltysh this is EPEL mirror slow or down...

  3. changed the title [-]Unknown yum failure[/-] [+]yum failure - epel slowness[/+] on Jun 30, 2016
  4. soltysh commented on Jun 30, 2016

    @soltysh
    ContributorAuthor

    Updated title 👍

  5. PI-Victor commented on Jul 7, 2016

    @PI-Victor
    Contributor

    i believe this has more to do with the DNS, i'm having problems accessing anything from inside our pods for well over month. however, i can test the local openshift dns and it seems to work just fine. so far i've located the issue to be only inside the builder images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind/test-flakepriority/P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions