Actions
Bug #45194
openFailed to synchronize cache for repo \''CentOS-AppStream\'', ignoring this repo.\nFailed to synchronize cache for repo \''CentOS-Base\'', ignoring this repo.
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Development
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Tags (freeform):
Description
2020-04-22T20:18:46.149 ERROR:teuthology.run_tasks: Sentry event: http://sentry.ceph.com/sepia/teuthology/?q=157d38cfccfe45cba4e1282c1cde42e9
Traceback (most recent call last):
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 90, in run_tasks
manager.__enter__()
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/__init__.py", line 125, in __enter__
self.begin()
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 420, in begin
super(CephLab, self).begin()
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 263, in begin
self.execute_playbook()
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 290, in execute_playbook
self._handle_failure(command, status)
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 314, in _handle_failure
raise AnsibleFailedError(failures)
teuthology.exceptions.AnsibleFailedError: reyer 77 kB/s | 3.3 kB 00:00 \nExtra Packages for Enterprise Linux 144 kB/s | 4.7 kB 00:00 \nlab-extras 865 kB/s | 2.9 kB 00:00 ', 'stderr': 'Failed to synchronize cache for repo \'CentOS-AppStream\', ignoring this repo.\nFailed to synchronize cache for repo \'CentOS-Base\', ignoring this repo.\nFailed to synchronize cache for repo \'CentOS-Extras\', ignoring this repo.\nTraceback (most recent call last):\n File "/bin/dnf", line 58, in <module>\n main.user_main(sys.argv[1:], exit_code=True)\n File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 193, in user_main\n errcode = main(args)\n File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main\n return _main(base, args, cli_class, option_parser_class)\n File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main\n return cli_run(cli, base)\n File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in cli_run\n cli.run()\n File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1125, in run\n return self.command.run()\n File "/usr/lib/python3.6/site-packages/dnf/cli/commands/group.py", line 384, in run\n self.base.conf.strict)\n File "/usr/lib/python3.6/site-packages/dnf/base.py", line 1623, in env_group_install\n cnt += self.group_install(group_id, types, exclude=exclude, strict=strict)\n File "/usr/lib/python3.6/site-packages/dnf/base.py", line 1597, in group_install\n strict)\n File "/usr/lib/python3.6/site-packages/dnf/comps.py", line 93, in install_or_skip\n return install_fnc(grp_or_env_id, types, exclude, strict, exclude_groups)\n File "/usr/lib/python3.6/site-packages/dnf/comps.py", line 653, in _group_install\n raise ValueError(_("Group_id \'%s\' does not exist.") % ucd(group_id))\nValueError: Group_id \'base\' does not exist.', 'rc': 1, 'start': '2020-04-22 20:18:44.801772', 'end': '2020-04-22 20:18:45.793788', 'delta': '0:00:00.992016', 'changed': True, 'invocation': {'module_args': {'_raw_params': 'dnf -y groupinstall base --nobest && dnf -y group upgrade base', '_uses_shell': True, 'warn': True, 'stdin_add_newline': True, 'strip_empty_ends': True, 'argv': None, 'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin': None}}, 'warnings': ["Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message."], 'stdout_lines': ['CentOS-8 - AppStream 26 kB/s | 2.3 kB 00:00 ', 'CentOS-8 - Base 24 kB/s | 2.3 kB 00:00 ', 'CentOS-8 - Extras 26 kB/s | 2.3 kB 00:00 ', 'Copr repo for ceph-el8 owned by ktdreyer 77 kB/s | 3.3 kB 00:00 ', 'Extra Packages for Enterprise Linux 144 kB/s | 4.7 kB 00:00 ', 'lab-extras 865 kB/s | 2.9 kB 00:00 '], 'stderr_lines': ["Failed to synchronize cache for repo 'CentOS-AppStream', ignoring this repo.", "Failed to synchronize cache for repo 'CentOS-Base', ignoring this repo.", "Failed to synchronize cache for repo 'CentOS-Extras', ignoring this repo.", 'Traceback (most recent call last):', ' File "/bin/dnf", line 58, in <module>', ' main.user_main(sys.argv[1:], exit_code=True)', ' File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 193, in user_main', ' errcode = main(args)', ' File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main', ' return _main(base, args, cli_class, option_parser_class)', ' File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main', ' return cli_run(cli, base)', ' File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in cli_run', ' cli.run()', ' File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1125, in run', ' return self.command.run()', ' File "/usr/lib/python3.6/site-packages/dnf/cli/commands/group.py", line 384, in run', ' self.base.conf.strict)', ' File "/usr/lib/python3.6/site-packages/dnf/base.py", line 1623, in env_group_install', ' cnt += self.group_install(group_id, types, exclude=exclude, strict=strict)', ' File "/usr/lib/python3.6/site-packages/dnf/base.py", line 1597, in group_install', ' strict)', ' File "/usr/lib/python3.6/site-packages/dnf/comps.py", line 93, in install_or_skip', ' return install_fnc(grp_or_env_id, types, exclude, strict, exclude_groups)', ' File "/usr/lib/python3.6/site-packages/dnf/comps.py", line 653, in _group_install', ' raise ValueError(_("Group_id \'%s\' does not exist.") % ucd(group_id))', "ValueError: Group_id 'base' does not exist."], '_ansible_no_log': False}}Traceback (most recent call last): File "/home/teuthworker/src/git.ceph.com_git_ceph-cm-ansible_master/callback_plugins/failure_log.py", line 44, in log_failure log.error(yaml.safe_dump(failure)) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/__init__.py", line 306, in safe_dump return dump_all([data], stream, Dumper=SafeDumper, **kwds) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/__init__.py", line 278, in dump_all dumper.represent(data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 27, in represent node = self.represent_data(data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 58, in represent_data node = self.yaml_representers[None](self, data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 231, in represent_undefined raise RepresenterError("cannot represent an object", data)yaml.representer.RepresenterError: ('cannot represent an object', 'dnf -y groupinstall base --nobest && dnf -y group upgrade base')
Environment:
- master and octopus
- CentSO 8 only
Updated by Michael Fritch almost 6 years ago
2020-04-22T20:32:41.502 INFO:teuthology.run:Summary data:
description: rados/cephadm/smoke/{distro/centos_8.0.yaml fixed-2.yaml start.yaml}
duration: 245.47302651405334
failure_reason: ' 24 kB/s | 2.3 kB 00:00 \nCentOS-8 - Extras 25
kB/s | 2.3 kB 00:00 \nExtra Packages for Enterprise Linux 121
kB/s | 4.7 kB 00:00 '', ''stderr'': ''Failed to synchronize cache for repo
\''CentOS-AppStream\'', ignoring this repo.\nFailed to synchronize cache for repo
\''CentOS-Base\'', ignoring this repo.\nFailed to synchronize cache for repo \''CentOS-Extras\'',
ignoring this repo.\nTraceback (most recent call last):\n File "/bin/dnf", line
58, in <module>\n main.user_main(sys.argv[1:], exit_code=True)\n File "/usr/lib/python3.6/site-packages/dnf/cli/main.py",
line 193, in user_main\n errcode = main(args)\n File "/usr/lib/python3.6/site-packages/dnf/cli/main.py",
line 64, in main\n return _main(base, args, cli_class, option_parser_class)\n File
"/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main\n return
cli_run(cli, base)\n File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line
115, in cli_run\n cli.run()\n File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py",
line 1125, in run\n return self.command.run()\n File "/usr/lib/python3.6/site-packages/dnf/cli/commands/group.py",
line 384, in run\n self.base.conf.strict)\n File "/usr/lib/python3.6/site-packages/dnf/base.py",
line 1623, in env_group_install\n cnt += self.group_install(group_id, types,
exclude=exclude, strict=strict)\n File "/usr/lib/python3.6/site-packages/dnf/base.py",
line 1597, in group_install\n strict)\n File "/usr/lib/python3.6/site-packages/dnf/comps.py",
line 93, in install_or_skip\n return install_fnc(grp_or_env_id, types, exclude,
strict, exclude_groups)\n File "/usr/lib/python3.6/site-packages/dnf/comps.py",
line 653, in _group_install\n raise ValueError(_("Group_id \''%s\'' does not
exist.") % ucd(group_id))\nValueError: Group_id \''base\'' does not exist.'', ''rc'':
1, ''start'': ''2020-04-22 20:32:24.849781'', ''end'': ''2020-04-22 20:32:25.817427'',
''delta'': ''0:00:00.967646'', ''changed'': True, ''invocation'': {''module_args'':
{''_raw_params'': ''dnf -y groupinstall base --nobest && dnf -y group upgrade base'',
''_uses_shell'': True, ''warn'': True, ''stdin_add_newline'': True, ''strip_empty_ends'':
True, ''argv'': None, ''chdir'': None, ''executable'': None, ''creates'': None,
''removes'': None, ''stdin'': None}}, ''warnings'': ["Consider using the dnf module
rather than running ''dnf''. If you need to use command because dnf is insufficient
you can add ''warn: false'' to this command task or set ''command_warnings=False''
in ansible.cfg to get rid of this message."], ''stdout_lines'': [''CentOS-8 - AppStream 19
kB/s | 2.3 kB 00:00 '', ''CentOS-8 - Base 24
kB/s | 2.3 kB 00:00 '', ''CentOS-8 - Extras 25
kB/s | 2.3 kB 00:00 '', ''Extra Packages for Enterprise Linux 121
kB/s | 4.7 kB 00:00 ''], ''stderr_lines'': ["Failed to synchronize cache
for repo ''CentOS-AppStream'', ignoring this repo.", "Failed to synchronize cache
for repo ''CentOS-Base'', ignoring this repo.", "Failed to synchronize cache for
repo ''CentOS-Extras'', ignoring this repo.", ''Traceback (most recent call last):'',
'' File "/bin/dnf", line 58, in <module>'', '' main.user_main(sys.argv[1:],
exit_code=True)'', '' File "/usr/lib/python3.6/site-packages/dnf/cli/main.py",
line 193, in user_main'', '' errcode = main(args)'', '' File "/usr/lib/python3.6/site-packages/dnf/cli/main.py",
line 64, in main'', '' return _main(base, args, cli_class, option_parser_class)'',
'' File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main'',
'' return cli_run(cli, base)'', '' File "/usr/lib/python3.6/site-packages/dnf/cli/main.py",
line 115, in cli_run'', '' cli.run()'', '' File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py",
line 1125, in run'', '' return self.command.run()'', '' File "/usr/lib/python3.6/site-packages/dnf/cli/commands/group.py",
line 384, in run'', '' self.base.conf.strict)'', '' File "/usr/lib/python3.6/site-packages/dnf/base.py",
line 1623, in env_group_install'', '' cnt += self.group_install(group_id, types,
exclude=exclude, strict=strict)'', '' File "/usr/lib/python3.6/site-packages/dnf/base.py",
line 1597, in group_install'', '' strict)'', '' File "/usr/lib/python3.6/site-packages/dnf/comps.py",
line 93, in install_or_skip'', '' return install_fnc(grp_or_env_id, types, exclude,
strict, exclude_groups)'', '' File "/usr/lib/python3.6/site-packages/dnf/comps.py",
line 653, in _group_install'', '' raise ValueError(_("Group_id \''%s\'' does
not exist.") % ucd(group_id))'', "ValueError: Group_id ''base'' does not exist."],
''_ansible_no_log'': False}}Traceback (most recent call last): File "/home/teuthworker/src/git.ceph.com_git_ceph-cm-ansible_master/callback_plugins/failure_log.py",
line 44, in log_failure log.error(yaml.safe_dump(failure)) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/__init__.py",
line 306, in safe_dump return dump_all([data], stream, Dumper=SafeDumper, **kwds) File
"/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/__init__.py",
line 278, in dump_all dumper.represent(data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py",
line 27, in represent node = self.represent_data(data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py",
line 48, in represent_data node = self.yaml_representers[data_types[0]](self,
data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py",
line 207, in represent_dict return self.represent_mapping(''tag:yaml.org,2002:map'',
data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py",
line 118, in represent_mapping node_value = self.represent_data(item_value) File
"/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py",
line 48, in represent_data node = self.yaml_representers[data_types[0]](self,
data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py",
line 207, in represent_dict return self.represent_mapping(''tag:yaml.org,2002:map'',
data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py",
line 118, in represent_mapping node_value = self.represent_data(item_value) File
"/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py",
line 58, in represent_data node = self.yaml_representers[None](self, data) File
"/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/yaml/representer.py",
line 231, in represent_undefined raise RepresenterError("cannot represent an
object", data)yaml.representer.RepresenterError: (''cannot represent an object'',
''dnf -y groupinstall base --nobest && dnf -y group upgrade base'')'
owner: scheduled_mgfritch@teuthology
sentry_event: http://sentry.ceph.com/sepia/teuthology/?q=c8356981532149859134c9d0fbf8abce
status: dead
success: false
Updated by Sebastian Wagner almost 6 years ago
- Project changed from 31 to teuthology
- Priority changed from Normal to High
- Target version deleted (
v16.0.0) - Source changed from Community (dev) to Development
Updated by Sebastian Wagner almost 6 years ago
- Project changed from teuthology to sepia
- Priority changed from High to Normal
Actions