Project

General

Profile

Actions

Bug #25005

closed

AnsibleFailedError in ceph-disk

Added by Yuri Weinstein almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Run: http://pulpito.ceph.com/yuriw-2018-07-18_23:04:07-ceph-disk-mimic-distro-basic-ovh/
Jobs: one job ran 3x
Logs: http://qa-proxy.ceph.com/teuthology/yuriw-2018-07-18_23:04:07-ceph-disk-mimic-distro-basic-ovh/2796300/teuthology.log

PLAY RECAP *********************************************************************
ovh020.front.sepia.ceph.com : ok=20   changed=4    unreachable=0    failed=1   
ovh024.front.sepia.ceph.com : ok=20   changed=4    unreachable=0    failed=1   

Wednesday 18 July 2018  23:17:26 +0000 (0:00:13.171)       0:02:00.239 ******** 
=============================================================================== 
users : Update authorized_keys using the keys repo --------------------- 38.34s
users : Create all admin users with sudo access. ----------------------- 36.36s
common : Install CA Cert from Satellite Server ------------------------- 13.17s
users : Remove revoked users -------------------------------------------- 5.82s
users : Update authorized_keys for each user with literal keys ---------- 3.35s
Gathering Facts --------------------------------------------------------- 3.16s
ansible-managed : Add authorized keys for the ansible user. ------------- 2.98s
ansible-managed : Create the cephlab_sudo sudoers.d file. --------------- 1.54s
Gathering Facts --------------------------------------------------------- 1.02s
ansible-managed : Create the sudo group. -------------------------------- 0.82s
users : Clone the keys repo --------------------------------------------- 0.79s
ansible-managed : Create the ansible user. ------------------------------ 0.76s
ansible-managed : Ensure includedir is present in sudoers. -------------- 0.71s
common : Get the current timezone (RHEL/CentOS 7) ----------------------- 0.48s

2018-07-18T23:17:26.907 INFO:teuthology.task.ansible.out:users : Set UID_MIN to 1001 --------------------------------------------- 0.47s
users : Remove managed_admin_users from managed_users ------------------- 0.27s
users : Merge managed_users and managed_admin users --------------------- 0.14s
common : Set have_entitlements ------------------------------------------ 0.12s
common : Include Red Hat encrypted variables. --------------------------- 0.10s
common : Set entitlements_path ------------------------------------------ 0.10s

2018-07-18T23:17:27.289 INFO:teuthology.task.ansible:Archiving ansible failure log at: /home/teuthworker/archive/yuriw-2018-07-18_23:04:07-ceph-disk-mimic-distro-basic-ovh/2796300/ansible_failures.yaml
2018-07-18T23:17:27.292 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 89, in run_tasks
    manager.__enter__()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/__init__.py", line 123, in __enter__
    self.begin()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 426, in begin
    super(CephLab, self).begin()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 268, in begin
    self.execute_playbook()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 295, in execute_playbook
    self._handle_failure(command, status)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 319, in _handle_failure
    raise AnsibleFailedError(failures)
AnsibleFailedError: {'ovh020.front.sepia.ceph.com': {'_ansible_parsed': True, 'invocation': {'module_args': {'allow_downgrade': False, 'name': ['http://satellite.front.sepia.ceph.com/pub/katello-ca-consumer-latest.noarch.rpm'], 'exclude': None, 'list': None, 'disable_gpg_check': False, 'conf_file': None, 'install_repoquery': True, 'state': 'present', 'disablerepo': None, 'update_cache': False, 'enablerepo': None, 'skip_broken': False, 'security': False, 'validate_certs': False, 'installroot': '/'}}, 'changed': False, '_ansible_no_log': False, 'msg': 'Failure downloading http://satellite.front.sepia.ceph.com/pub/katello-ca-consumer-latest.noarch.rpm, Request failed: <urlopen error timed out>'}, 'ovh024.front.sepia.ceph.com': {'_ansible_parsed': True, 'invocation': {'module_args': {'allow_downgrade': False, 'name': ['http://satellite.front.sepia.ceph.com/pub/katello-ca-consumer-latest.noarch.rpm'], 'exclude': None, 'list': None, 'disable_gpg_check': False, 'conf_file': None, 'install_repoquery': True, 'state': 'present', 'disablerepo': None, 'update_cache': False, 'enablerepo': None, 'skip_broken': False, 'security': False, 'validate_certs': False, 'installroot': '/'}}, 'changed': False, '_ansible_no_log': False, 'msg': 'Failure downloading http://satellite.front.sepia.ceph.com/pub/katello-ca-consumer-latest.noarch.rpm, Request failed: <urlopen error timed out>'}}
2018-07-18T23:17:27.338 ERROR:teuthology.run_tasks: Sentry event: http://sentry.ceph.com/sepia/teuthology/?q=5b17fdcd0f1945ac9e0d2aa574dc0df1

Related issues 3 (0 open3 closed)

Related to ceph-cm-ansible - Bug #25149: support for "ovh" machine typeResolvedDavid Galloway07/29/2018

Actions
Related to devops - Bug #25031: mimic: ceph-disk: test fails to install pytest on rhelResolvedNathan Cutler07/20/2018

Actions
Copied to Ceph - Backport #25082: luminous: AnsibleFailedError in ceph-diskRejectedPrashant DActions
Actions #1

Updated by Yuri Weinstein almost 6 years ago

We have to use /home/teuthology/rhel_only_on_ovh.yaml

overrides:
  ansible.cephlab:
    skip_tags: entitlements,packages,repos

to run `rhel` jobs on `ovh`

https://github.com/ceph/ceph/pull/23152

Actions #2

Updated by Yuri Weinstein almost 6 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Nathan Cutler almost 6 years ago

  • Status changed from Resolved to Fix Under Review
Actions #4

Updated by Nathan Cutler almost 6 years ago

  • Backport set to luminous, mimic
Actions #5

Updated by Nathan Cutler almost 6 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from luminous, mimic to luminous

mimic PR: https://github.com/ceph/ceph/pull/23156

Backporting note: this is the PR to backport (there is no master PR)

Actions #6

Updated by Nathan Cutler almost 6 years ago

  • Copied to Backport #25082: luminous: AnsibleFailedError in ceph-disk added
Actions #7

Updated by Kefu Chai almost 6 years ago

Failure downloading http://satellite.front.sepia.ceph.com/pub/katello-ca-consumer-latest.noarch.rpm, Request failed: <urlopen error timed out>'

i don't think this failure is relevant to ceph-disk.

Actions #8

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions #9

Updated by Nathan Cutler over 5 years ago

  • Related to Bug #25149: support for "ovh" machine type added
Actions #10

Updated by Nathan Cutler over 5 years ago

  • Related to Bug #25031: mimic: ceph-disk: test fails to install pytest on rhel added
Actions

Also available in: Atom PDF