Project

General

Profile

Actions

Bug #16728

closed

Cannot find a valid baseurl for repo: base/7/x86_6

Added by John Spray almost 8 years ago. Updated over 7 years ago.

Status:
Can't reproduce
Priority:
Normal
Category:
Infrastructure Service
Target version:
-
% Done:

0%

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

Description

Six of the jobs in this run failed in this way, for example:
http://pulpito.ceph.com/teuthology-2016-07-13_02:10:02-fs-jewel---basic-smithi/311928/

Actions #1

Updated by David Galloway almost 8 years ago

  • Project changed from teuthology to sepia

Actual issue is a yum failure. We're working on increasing loglevel for yum transactions so we can debug what's actually going on here.

2016-07-17T22:54:25.089 INFO:teuthology.task.ansible.out:fatal: [smithi006.front.sepia.ceph.com]: FAILED! => {"changed": false, "failed": true, "msg": "\n\n One of the configured repositories failed (Unknown),\n and yum doesn't have enough cached data to continue. At this point the only\n safe thing yum can do is fail. There are a few ways to work \"fix\" this:\n\n     1. Contact the upstream for the repository and get them to fix the problem.\n\n     2. Reconfigure the baseurl/etc. for the repository, to point to a working\n        upstream. This is most often useful if you are using a newer\n        distribution release than is supported by the repository (and the\n        packages for the previous distribution release still work).\n\n     3. Disable the repository, so yum won't use it by default. Yum will then\n        just ignore the repository until you permanently enable it again or use\n        --enablerepo for temporary usage:\n\n            yum-config-manager --disable <repoid>\n\n     4. Configure the failing repository to be skipped, if it is unavailable.\n        Note that yum will try to contact the repo. when it runs most commands,\n        so will have to try and fail each time (and thus. yum will be be much\n        slower). If it is a very temporary problem though, this is often a nice\n        compromise:\n\n            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true\n\nCannot find a valid baseurl for repo: base/7/x86_64\n", "rc": 1, "results": []}

2016-07-17T22:54:25.091 INFO:teuthology.task.ansible.out:Traceback (most recent call last):

2016-07-17T22:54:25.093 INFO:teuthology.task.ansible.out:  File "/home/teuthworker/src/ceph-cm-ansible_master/callback_plugins/failure_log.py", line 79, in runner_on_failed
    log_failure(host, result)
  File "/home/teuthworker/src/ceph-cm-ansible_master/callback_plugins/failure_log.py", line 43, in log_failure
    log.error(yaml.safe_dump(failure))
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/__init__.py", line 218, in safe_dump
    return dump_all([data], stream, Dumper=SafeDumper, **kwds)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/__init__.py", line 190, in dump_all
    dumper.represent(data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 28, in represent
    node = self.represent_data(data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 57, in represent_data
    node = self.yaml_representers[data_types[0]](self, data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 223, in represent_dict
    return self.represent_mapping(u'tag:yaml.org,2002:map', data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 123, in represent_mapping
    node_value = self.represent_data(item_value)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 57, in represent_data
    node = self.yaml_representers[data_types[0]](self, data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 223, in represent_dict
    return self.represent_mapping(u'tag:yaml.org,2002:map', data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 123, in repr
2016-07-17T22:54:25.094 INFO:teuthology.task.ansible.out:esent_mapping
    node_value = self.represent_data(item_value)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 57, in represent_data
    node = self.yaml_representers[data_types[0]](self, data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 223, in represent_dict
    return self.represent_mapping(u'tag:yaml.org,2002:map', data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 123, in represent_mapping
    node_value = self.represent_data(item_value)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 57, in represent_data
    node = self.yaml_representers[data_types[0]](self, data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 223, in represent_dict
    return self.represent_mapping(u'tag:yaml.org,2002:map', data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 123, in represent_mapping
    node_value = self.represent_data(item_value)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 57, in represent_data
    node = self.yaml_representers[data_types[0]](self, data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 215, in represent_list
    return self.represent_sequence(u'tag:yaml.org,2002:seq', data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 101, in represent_sequence
    node_item = self.represent_data(item)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/rep
2016-07-17T22:54:25.096 INFO:teuthology.task.ansible.out:resenter.py", line 67, in represent_data
    node = self.yaml_representers[None](self, data)
  File "/home/teuthworker/src/teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py", line 247, in represent_undefined
    raise RepresenterError("cannot represent an object: %s" % data)
RepresenterError: cannot represent an object: pcp

Actions #3

Updated by Dan Mick almost 8 years ago

  • Subject changed from Command failed with status 1: 'ansible-playbook... ‘/etc/yum/pluginconf.d/priorities.conf.orig’: No such file or directory to Cannot find a valid baseurl for repo: base/7/x86_6

Cannot find a valid baseurl for repo: base/7/x86_6 is the failure marker. Updating title to reflect.

Actions #5

Updated by David Galloway over 7 years ago

  • Category set to Infrastructure Service
  • Status changed from New to Can't reproduce
  • Assignee set to David Galloway

I don't think we've seen this since the weird TCP issues to CentOS' repos was fixed.

Actions

Also available in: Atom PDF