Project

General

Profile

Actions

Bug #53886

open

ansible: Failed to update apt cache

Added by Aishwarya Mathuria over 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
% Done:

0%

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

Description

description: rados/cephadm/smoke-roleless/{0-distro/ubuntu_20.04 0-nvme-loop 1-start 2-services/client-keyring 3-final}
/a/yuriw-2022-01-13_18:06:52-rados-wip-yuri3-testing-2022-01-13-0809-distro-default-smithi/6614583

TASK [testnode : Touch /ceph-qa-ready] *****************************************^M
skipping: [smithi029.front.sepia.ceph.com] => {"changed": false, "skip_reason": "Conditional result was False"}^M

2022-01-13T22:44:12.510 INFO:teuthology.task.ansible.out:FAILED - RETRYING: Update apt cache (5 retries left).^M

2022-01-13T22:44:18.036 INFO:teuthology.task.ansible.out:FAILED - RETRYING: Update apt cache (4 retries left).^M

2022-01-13T22:44:23.561 INFO:teuthology.task.ansible.out:FAILED - RETRYING: Update apt cache (3 retries left).^M

2022-01-13T22:44:29.095 INFO:teuthology.task.ansible.out:FAILED - RETRYING: Update apt cache (2 retries left).^M

2022-01-13T22:44:34.623 INFO:teuthology.task.ansible.out:FAILED - RETRYING: Update apt cache (1 retries left).^M

2022-01-13T22:44:40.158 INFO:teuthology.task.ansible.out:^M
TASK [common : Update apt cache] ***********************************************^M

2022-01-13T22:44:40.160 INFO:teuthology.task.ansible.out:fatal: [smithi057.front.sepia.ceph.com]: FAILED! => {"attempts": 24, "changed": false, "msg": "Failed to update apt cache: "}^M

duration: 246.18854784965515
failure_reason: '{''Failure object was'': {''smithi057.front.sepia.ceph.com'': {''msg'':
  ''Failed to update apt cache: '', ''invocation'': {''module_args'': {''dpkg_options'':
  ''force-confdef,force-confold'', ''autoremove'': False, ''force'': False, ''force_apt_get'':
  False, ''policy_rc_d'': ''None'', ''package'': ''None'', ''autoclean'': False, ''install_recommends'':
  ''None'', ''purge'': False, ''allow_unauthenticated'': False, ''state'': ''present'',
  ''upgrade'': ''None'', ''update_cache'': True, ''default_release'': ''None'', ''only_upgrade'':
  False, ''deb'': ''None'', ''cache_valid_time'': 0}}, ''_ansible_no_log'': False,
  ''attempts'': 24, ''changed'': 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_6fc2011361437a9dfe4e45b50de224392eed8abc/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_6fc2011361437a9dfe4e45b50de224392eed8abc/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_6fc2011361437a9dfe4e45b50de224392eed8abc/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_6fc2011361437a9dfe4e45b50de224392eed8abc/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_6fc2011361437a9dfe4e45b50de224392eed8abc/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_6fc2011361437a9dfe4e45b50de224392eed8abc/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_6fc2011361437a9dfe4e45b50de224392eed8abc/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_6fc2011361437a9dfe4e45b50de224392eed8abc/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_6fc2011361437a9dfe4e45b50de224392eed8abc/virtualenv/lib/python3.6/site-packages/yaml/representer.py",
  line 117, in represent_mapping node_key = self.represent_data(item_key) File "/home/teuthworker/src/git.ceph.com_git_teuthology_6fc2011361437a9dfe4e45b50de224392eed8abc/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_6fc2011361437a9dfe4e45b50de224392eed8abc/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'',
  ''_ansible_no_log'')"}'

Actions #1

Updated by adam kraitman over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to adam kraitman
Actions #2

Updated by adam kraitman over 2 years ago

Hey Aishwarya Mathuria, Please try again

Actions #3

Updated by adam kraitman about 2 years ago

  • Status changed from In Progress to Resolved
Actions #4

Updated by Kamoltat (Junior) Sirivadhna over 1 year ago

/a/yuriw-2022-09-27_23:37:28-rados-wip-yuri2-testing-2022-09-27-1455-distro-default-smithi/7046131/

Actions #5

Updated by Kamoltat (Junior) Sirivadhna over 1 year ago

  • Status changed from Resolved to New

reopening this issue since this issue poped up again

Actions #6

Updated by Matan Breizman over 1 year ago

/a/yuriw-2022-11-28_16:28:53-rados-wip-yuri-testing-2022-11-18-1500-pacific-distro-default-smithi/7094151/

Actions

Also available in: Atom PDF