Project

General

Profile

Actions

Bug #10371

closed

"Error: Cannot retrieve repository metadata" in upgrade:firefly-firefly-distro-basic-vps run

Added by Yuri Weinstein over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Sandon Van Ness
Category:
-
Target version:
-
% Done:

100%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Run http://pulpito.ceph.com/teuthology-2014-12-17_17:00:02-upgrade:firefly-firefly-distro-basic-vps/

Jobs ['666405', '666451', '666457']

2014-12-17T17:02:58.810 INFO:teuthology.orchestra.run.vpm179.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:58.810 INFO:teuthology.orchestra.run.vpm179.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:58.810 INFO:teuthology.orchestra.run.vpm179.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:58.810 INFO:teuthology.orchestra.run.vpm179.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:58.810 INFO:teuthology.orchestra.run.vpm179.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:59.589 INFO:teuthology.task.internal:Running ceph_qa_chef on ubuntu@vpm159.front.sepia.ceph.com
2014-12-17T17:02:59.590 INFO:teuthology.orchestra.run.vpm159:Running: "wget -q -O- 'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | sh" 
2014-12-17T17:02:59.592 INFO:teuthology.orchestra.run.vpm099.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:59.592 INFO:teuthology.orchestra.run.vpm099.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:59.592 INFO:teuthology.orchestra.run.vpm099.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:59.592 INFO:teuthology.orchestra.run.vpm099.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:59.593 INFO:teuthology.orchestra.run.vpm099.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:59.952 INFO:teuthology.orchestra.run.vpm159.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:59.957 INFO:teuthology.orchestra.run.vpm159.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:59.961 INFO:teuthology.orchestra.run.vpm159.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:59.965 INFO:teuthology.orchestra.run.vpm159.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:02:59.970 INFO:teuthology.orchestra.run.vpm159.stderr:sed: can't read /etc/yum.repos.d/Cent*: No such file or directory
2014-12-17T17:03:01.009 INFO:teuthology.orchestra.run.vpm179.stdout:Initialized empty Git repository in /tmp/solo-from-scratch.s7n4wA6gA9H8/.git/
2014-12-17T17:03:01.774 INFO:teuthology.orchestra.run.vpm159.stdout:Initialized empty Git repository in /tmp/solo-from-scratch.AXHuH0FiLmeA/.git/
2014-12-17T17:03:02.839 INFO:teuthology.orchestra.run.vpm179.stderr:From git://ceph.com/ceph-qa-chef
2014-12-17T17:03:02.839 INFO:teuthology.orchestra.run.vpm179.stderr: * branch            HEAD       -> FETCH_HEAD
2014-12-17T17:03:03.423 INFO:teuthology.orchestra.run.vpm159.stderr:From git://ceph.com/ceph-qa-chef
2014-12-17T17:03:03.424 INFO:teuthology.orchestra.run.vpm159.stderr: * branch            HEAD       -> FETCH_HEAD
2014-12-17T17:03:04.425 INFO:teuthology.orchestra.run.vpm159.stderr:Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
2014-12-17T17:03:04.444 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/internal.py", line 623, in _download_and_run_chef
    'sh',
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/remote.py", line 128, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 368, in run
    r.wait()
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 106, in wait
    exitstatus=status, node=self.hostname)
CommandFailedError: Command failed on vpm159 with status 1: "wget -q -O- 'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | sh" 
2014-12-17T17:03:04.446 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/run_tasks.py", line 53, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/teuthworker/src/teuthology_master/teuthology/run_tasks.py", line 41, in run_one_task
    return fn(**kwargs)
  File "/home/teuthworker/src/teuthology_master/teuthology/task/internal.py", line 613, in vm_setup
    p.spawn(_download_and_run_chef, rem)
  File "/home/teuthworker/src/teuthology_master/teuthology/parallel.py", line 89, in __exit__
    raise
CommandFailedError: Command failed on vpm159 with status 1: "wget -q -O- 'http://ceph.com/git/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | sh" 
Actions #1

Updated by Yuri Weinstein over 9 years ago

  • Assignee set to Sandon Van Ness
Actions #2

Updated by Sandon Van Ness over 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

This issue was caused by epel already being installed (on our newer images) and it not running the command to fix the repo file before trying to potentially install a newer epel file. I fixed epel detection and made it run the sed to use our mirror regardless of whether it just installed or not for existing ones as well.

ceph-qa-chef commit:

31eb7a1f0fbad5d3ea34672a32f418f8d023a429

Actions

Also available in: Atom PDF