Project

General

Profile

Bug #13012

Could not retrieve mirrorlist

Added by Andrew Schoen about 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
09/09/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature:

Description

In #12778 we increased the yum timeout and it seems to have helped out, but this looks to be a similar if not the same type of failure. Do we increase the timeout more or is this an acceptable failure as it's the only one I've seen since closing #12778.

Log: http://qa-proxy.ceph.com/teuthology/ubuntu-2015-09-09_07:03:51-fs-greg-fs-testing-testing-basic-multi/1047266/teuthology.log

2015-09-09T07:17:28.467 INFO:teuthology.orchestra.run.burnupi13.stdout:Processing triggers for libc-bin (2.19-0ubuntu6.1) ...
2015-09-09T07:17:28.761 DEBUG:teuthology.parallel:result is None
2015-09-09T07:18:59.164 INFO:teuthology.orchestra.run.plana53.stderr:
2015-09-09T07:18:59.164 INFO:teuthology.orchestra.run.plana53.stderr:
2015-09-09T07:18:59.164 INFO:teuthology.orchestra.run.plana53.stderr: One of the configured repositories failed (Unknown),
2015-09-09T07:18:59.164 INFO:teuthology.orchestra.run.plana53.stderr: and yum doesn't have enough cached data to continue. At this point the only
2015-09-09T07:18:59.165 INFO:teuthology.orchestra.run.plana53.stderr: safe thing yum can do is fail. There are a few ways to work "fix" this:
2015-09-09T07:18:59.165 INFO:teuthology.orchestra.run.plana53.stderr:
2015-09-09T07:18:59.165 INFO:teuthology.orchestra.run.plana53.stderr:     1. Contact the upstream for the repository and get them to fix the problem.
2015-09-09T07:18:59.165 INFO:teuthology.orchestra.run.plana53.stderr:
2015-09-09T07:18:59.165 INFO:teuthology.orchestra.run.plana53.stderr:     2. Reconfigure the baseurl/etc. for the repository, to point to a working
2015-09-09T07:18:59.165 INFO:teuthology.orchestra.run.plana53.stderr:        upstream. This is most often useful if you are using a newer
2015-09-09T07:18:59.165 INFO:teuthology.orchestra.run.plana53.stderr:        distribution release than is supported by the repository (and the
2015-09-09T07:18:59.165 INFO:teuthology.orchestra.run.plana53.stderr:        packages for the previous distribution release still work).
2015-09-09T07:18:59.166 INFO:teuthology.orchestra.run.plana53.stderr:
2015-09-09T07:18:59.166 INFO:teuthology.orchestra.run.plana53.stderr:     3. Disable the repository, so yum won't use it by default. Yum will then
2015-09-09T07:18:59.166 INFO:teuthology.orchestra.run.plana53.stderr:        just ignore the repository until you permanently enable it again or use
2015-09-09T07:18:59.166 INFO:teuthology.orchestra.run.plana53.stderr:        --enablerepo for temporary usage:
2015-09-09T07:18:59.166 INFO:teuthology.orchestra.run.plana53.stderr:
2015-09-09T07:18:59.166 INFO:teuthology.orchestra.run.plana53.stderr:            yum-config-manager --disable <repoid>
2015-09-09T07:18:59.166 INFO:teuthology.orchestra.run.plana53.stderr:
2015-09-09T07:18:59.167 INFO:teuthology.orchestra.run.plana53.stderr:     4. Configure the failing repository to be skipped, if it is unavailable.
2015-09-09T07:18:59.167 INFO:teuthology.orchestra.run.plana53.stderr:        Note that yum will try to contact the repo. when it runs most commands,
2015-09-09T07:18:59.167 INFO:teuthology.orchestra.run.plana53.stderr:        so will have to try and fail each time (and thus. yum will be be much
2015-09-09T07:18:59.167 INFO:teuthology.orchestra.run.plana53.stderr:        slower). If it is a very temporary problem though, this is often a nice
2015-09-09T07:18:59.168 INFO:teuthology.orchestra.run.plana53.stderr:        compromise:
2015-09-09T07:18:59.168 INFO:teuthology.orchestra.run.plana53.stderr:
2015-09-09T07:18:59.168 INFO:teuthology.orchestra.run.plana53.stderr:            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
2015-09-09T07:18:59.168 INFO:teuthology.orchestra.run.plana53.stderr:
2015-09-09T07:18:59.168 INFO:teuthology.orchestra.run.plana53.stderr:Cannot find a valid baseurl for repo: updates/7/x86_64
2015-09-09T07:18:59.169 INFO:teuthology.orchestra.run.plana53.stdout:Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock error was
2015-09-09T07:18:59.169 INFO:teuthology.orchestra.run.plana53.stdout:14: curl#56 - "Recv failure: Connection reset by peer" 
2015-09-09T07:18:59.190 ERROR:teuthology.parallel:Exception in parallel execution
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/parallel.py", line 82, in __exit__
    for result in self:
  File "/home/teuthworker/src/teuthology_master/teuthology/parallel.py", line 101, in next
    resurrect_traceback(result)
  File "/home/teuthworker/src/teuthology_master/teuthology/parallel.py", line 19, in capture_traceback
    return func(*args, **kwargs)
  File "/home/teuthworker/src/teuthology_master/teuthology/task/install.py", line 281, in _update_rpm_package_list_and_install
    remote.run(args=['sudo', 'yum', 'install', cpack, '-y'])
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/remote.py", line 156, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 378, in run
    r.wait()
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 114, in wait
    label=self.label)
CommandFailedError: Command failed on plana53 with status 1: 'sudo yum install ceph-debuginfo -y'

History

#1 Updated by Andrew Schoen about 4 years ago

curl#56 - "Recv failure: Connection reset by peer"

IIRC, it was a timeout last time. This time the host we were trying to connect to shut down the connection. Maybe we need to wait longer between retries?

#2 Updated by Andrew Schoen about 4 years ago

  • Priority changed from Normal to Low

This is probably nothing to worry about, but we'll leave this ticket around for now for tracking reasons.

Lowering the priority.

Also available in: Atom PDF