Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Dockerfile build of casl-ansible fails, http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml give a 503 error #373

Open
zoobab opened this issue Jun 18, 2019 · 1 comment

Comments

@zoobab
Copy link

zoobab commented Jun 18, 2019

Dockerfile build of casl-ansible fails, http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml give a 503 error:

$ cd casl-ansible/images/casl-ansible
$ docker build .
[...]
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: ftp.hosteurope.de
 * epel: ftp.plusline.net
 * extras: ftp.plusline.net
 * updates: ftp.rz.uni-frankfurt.de
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.


 One of the configured repositories failed (Built RPMs),
 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. Run the command with the repository temporarily disabled
            yum --disablerepo=built ...

     4. Disable the repository permanently, 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 built
        or
            subscription-manager repos --disable=built

     5. 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=built.skip_if_unavailable=true

failure: repodata/repomd.xml from built: [Errno 256] No more mirrors to try.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
/bin/sh: pip: command not found
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: ftp.hosteurope.de
 * epel: ftp.plusline.net
 * extras: ftp.plusline.net
 * updates: ftp.rz.uni-frankfurt.de
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.


 One of the configured repositories failed (Built RPMs),
 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. Run the command with the repository temporarily disabled
            yum --disablerepo=built ...

     4. Disable the repository permanently, 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 built
        or
            subscription-manager repos --disable=built

     5. 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=built.skip_if_unavailable=true

failure: repodata/repomd.xml from built: [Errno 256] No more mirrors to try.
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://rpm-repo-ci-op-gx9lsp9t.svc.ci.openshift.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
/bin/sh: python-boto3: command not found
Loaded plugins: fastestmirror, ovl
Cleaning repos: base built centos-ansible27-testing epel extras
              : openshift-origin-4.0-ci openstack-queens rdo-qemu-ev updates
Cleaning up list of fastest mirrors
Other repos take up 3.6 k of disk space (use --verbose for details)
/bin/sh: pip: command not found
The command '/bin/sh -c yum install -y --setopt=tsflags=nodocs https://repos.fedorapeople.org/repos/openstack/openstack-queens/rdo-release-queens-1.noarch.rpm;     yum -y install python2-pip;     pip install --upgrade pip;     yum -y install       python-ceilometerclient       python-cinderclient python-glanceclient       python-heatclient python-neutronclient       python-novaclient python-saharaclient       python-swiftclient python-troveclient       python-openstackclient python-dns       python2-pyOpenSSL python-shade;       python-boto3;       yum clean all;       rm -rf /var/cache/yum;     rpm -e --nodeps python-ipaddress PyYAML;     pip install --upgrade       "Paste>=2.0.2"       "eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2"       openstacksdk' returned a non-zero code: 127
@zoobab
Copy link
Author

zoobab commented Jun 19, 2019

I fixed the Dockerfile by pointing it to 3.11.1:

zoobab@1fced69

And removing the ";" by "&&" because some steps were failing (boto3 installation).

I also built an image with those changes under zoobab/casl-ansible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant