Actions
Bug #10252
closedapt-mirror having issues
Status:
Resolved
Priority:
Normal
Assignee:
Sandon Van Ness
Category:
-
Target version:
-
% Done:
100%
Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
That prevent installation on some machines:
2014-12-05 08:26:34,935.935 INFO:teuthology.orchestra.run.magna066:Running: 'wget http://gitbuilder.ceph.com/ceph-rpm-rhel7_0-x86_64-basic/ref/master/noarch/ceph-release-1-0.el7.noarch.rpm' 2014-12-05 08:26:34,997.997 INFO:teuthology.orchestra.run.magna066.stderr:--2014-12-05 08:24:27-- http://gitbuilder.ceph.com/ceph-rpm-rhel7_0-x86_64-basic/ref/master/noarch/ceph-release-1-0.el7.noarch.rpm 2014-12-05 08:26:34,998.998 INFO:teuthology.orchestra.run.magna066.stderr:Resolving gitbuilder.ceph.com (gitbuilder.ceph.com)... 64.90.32.38 2014-12-05 08:26:35,064.064 INFO:teuthology.orchestra.run.magna066.stderr:Connecting to gitbuilder.ceph.com (gitbuilder.ceph.com)|64.90.32.38|:80... connected. 2014-12-05 08:26:35,925.925 INFO:teuthology.orchestra.run.magna066.stderr:HTTP request sent, awaiting response... 200 OK 2014-12-05 08:26:35,925.925 INFO:teuthology.orchestra.run.magna066.stderr:Length: 2876 (2.8K) [application/x-redhat-package-manager] 2014-12-05 08:26:35,926.926 INFO:teuthology.orchestra.run.magna066.stderr:Saving to: ‘ceph-release-1-0.el7.noarch.rpm’ 2014-12-05 08:26:35,926.926 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:35,926.926 INFO:teuthology.orchestra.run.magna066.stderr: 0K .. 100% 201M=0s 2014-12-05 08:26:35,926.926 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:35,926.926 INFO:teuthology.orchestra.run.magna066.stderr:2014-12-05 08:24:27 (201 MB/s) - ‘ceph-release-1-0.el7.noarch.rpm’ saved [2876/2876] 2014-12-05 08:26:35,927.927 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:35,927.927 INFO:teuthology.orchestra.run.magna066:Running: 'sudo rpm -i ceph-release-1-0.el7.noarch.rpm' 2014-12-05 08:26:36,010.010 INFO:teuthology.orchestra.run.magna066:Running: 'rm -f ceph-release-1-0.el7.noarch.rpm' 2014-12-05 08:26:36,071.071 INFO:teuthology.orchestra.run.magna066:Running: "sudo sed -i -e ':a;N;$!ba;s/enabled=1\\ngpg/enabled=1\\npriority=1\\ngpg/g' -e 's;ref/[a-zA-Z0-9_]*/;ref/master/;g' /etc/yum.repos.d/ceph.repo" 2014-12-05 08:26:36,141.141 INFO:teuthology.orchestra.run.magna066:Running: 'sudo yum clean all' 2014-12-05 08:26:36,346.346 INFO:teuthology.orchestra.run.magna066.stdout:Loaded plugins: priorities, product-id, subscription-manager 2014-12-05 08:26:36,371.371 INFO:teuthology.orchestra.run.magna066.stdout:This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 2014-12-05 08:26:36,397.397 INFO:teuthology.orchestra.run.magna066.stdout:Cleaning repos: Ceph Ceph-noarch ceph-source epel rhel-7-cd rhel-7-extras 2014-12-05 08:26:36,397.397 INFO:teuthology.orchestra.run.magna066.stdout: : rhel-7-optional rhel-7-repo rhel-7-repo-server 2014-12-05 08:26:36,397.397 INFO:teuthology.orchestra.run.magna066.stdout: : rhel-7-repo-server-optional rhel7-apache-ceph rhel7-fcgi-ceph 2014-12-05 08:26:36,397.397 INFO:teuthology.orchestra.run.magna066.stdout:Cleaning up everything 2014-12-05 08:26:36,425.425 INFO:teuthology.orchestra.run.magna066:Running: 'wget -q -O- http://gitbuilder.ceph.com/ceph-rpm-rhel7_0-x86_64-basic/ref/master/version' 2014-12-05 08:26:36,626.626 INFO:teuthology.task.install:Package version is v0.89-370.gcfb03b2 2014-12-05 08:26:36,627.627 INFO:teuthology.orchestra.run.magna066:Running: 'sudo yum install ceph-debuginfo-0.89 -y' 2014-12-05 08:26:36,832.832 INFO:teuthology.orchestra.run.magna066.stdout:Loaded plugins: priorities, product-id, subscription-manager 2014-12-05 08:26:36,858.858 INFO:teuthology.orchestra.run.magna066.stdout:This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 2014-12-05 08:26:40,185.185 INFO:teuthology.orchestra.run.magna066.stderr:http://apt-mirror.front.sepia.ceph.com/epel7/repodata/repomd.xml: [Errno 14] HTTP Error 502 - Bad Gateway 2014-12-05 08:26:40,185.185 INFO:teuthology.orchestra.run.magna066.stderr:Trying other mirror. 2014-12-05 08:26:40,188.188 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:40,188.188 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:40,188.188 INFO:teuthology.orchestra.run.magna066.stderr: One of the configured repositories failed (Extra Packages for Enterprise Linux 6 - x86_64), 2014-12-05 08:26:40,189.189 INFO:teuthology.orchestra.run.magna066.stderr: and yum doesn't have enough cached data to continue. At this point the only 2014-12-05 08:26:40,189.189 INFO:teuthology.orchestra.run.magna066.stderr: safe thing yum can do is fail. There are a few ways to work "fix" this: 2014-12-05 08:26:40,189.189 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:40,189.189 INFO:teuthology.orchestra.run.magna066.stderr: 1. Contact the upstream for the repository and get them to fix the problem. 2014-12-05 08:26:40,189.189 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:40,190.190 INFO:teuthology.orchestra.run.magna066.stderr: 2. Reconfigure the baseurl/etc. for the repository, to point to a working 2014-12-05 08:26:40,190.190 INFO:teuthology.orchestra.run.magna066.stderr: upstream. This is most often useful if you are using a newer 2014-12-05 08:26:40,190.190 INFO:teuthology.orchestra.run.magna066.stderr: distribution release than is supported by the repository (and the 2014-12-05 08:26:40,190.190 INFO:teuthology.orchestra.run.magna066.stderr: packages for the previous distribution release still work). 2014-12-05 08:26:40,190.190 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:40,191.191 INFO:teuthology.orchestra.run.magna066.stderr: 3. Disable the repository, so yum won't use it by default. Yum will then 2014-12-05 08:26:40,191.191 INFO:teuthology.orchestra.run.magna066.stderr: just ignore the repository until you permanently enable it again or use 2014-12-05 08:26:40,191.191 INFO:teuthology.orchestra.run.magna066.stderr: --enablerepo for temporary usage: 2014-12-05 08:26:40,191.191 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:40,191.191 INFO:teuthology.orchestra.run.magna066.stderr: yum-config-manager --disable epel 2014-12-05 08:26:40,191.191 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:40,192.192 INFO:teuthology.orchestra.run.magna066.stderr: 4. Configure the failing repository to be skipped, if it is unavailable. 2014-12-05 08:26:40,192.192 INFO:teuthology.orchestra.run.magna066.stderr: Note that yum will try to contact the repo. when it runs most commands, 2014-12-05 08:26:40,192.192 INFO:teuthology.orchestra.run.magna066.stderr: so will have to try and fail each time (and thus. yum will be be much 2014-12-05 08:26:40,192.192 INFO:teuthology.orchestra.run.magna066.stderr: slower). If it is a very temporary problem though, this is often a nice 2014-12-05 08:26:40,192.192 INFO:teuthology.orchestra.run.magna066.stderr: compromise: 2014-12-05 08:26:40,192.192 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:40,192.192 INFO:teuthology.orchestra.run.magna066.stderr: yum-config-manager --save --setopt=epel.skip_if_unavailable=true 2014-12-05 08:26:40,192.192 INFO:teuthology.orchestra.run.magna066.stderr: 2014-12-05 08:26:40,193.193 INFO:teuthology.orchestra.run.magna066.stderr:failure: repodata/repomd.xml from epel: [Errno 256] No more mirrors to try. 2014-12-05 08:26:40,193.193 INFO:teuthology.orchestra.run.magna066.stderr:http://apt-mirror.front.sepia.ceph.com/epel7/repodata/repomd.xml: [Errno 14] HTTP Error 502 - Bad Gateway
Actions