Project

General

Profile

Bug #37973

ceph-ansible suite fails on master

Added by Yuri Weinstein 7 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/19/2019
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-ansible
Pull request ID:

Description

Run: http://pulpito.ceph.com/teuthology-2019-01-19_04:05:03-ceph-ansible-master-distro-basic-ovh/
Jobs: all
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2019-01-19_04:05:03-ceph-ansible-master-distro-basic-ovh/3482246/teuthology.log

2019-01-19T04:36:50.867 INFO:teuthology.orchestra.run.ovh064.stdout:/home/ubuntu/ceph-ansible/site.yml:33 -----------------------------------------
2019-01-19T04:36:50.867 INFO:teuthology.orchestra.run.ovh064.stdout:ceph-facts : set_fact container_binary ---------------------------------- 0.11s
2019-01-19T04:36:50.868 INFO:teuthology.orchestra.run.ovh064.stdout:/home/ubuntu/ceph-ansible/roles/ceph-facts/tasks/facts.yml:20 -----------------
2019-01-19T04:36:50.868 INFO:teuthology.orchestra.run.ovh064.stdout:install python for debian based systems --------------------------------- 0.09s
2019-01-19T04:36:50.869 INFO:teuthology.orchestra.run.ovh064.stdout:/home/ubuntu/ceph-ansible/raw_install_python.yml:8 ----------------------------
2019-01-19T04:36:50.869 INFO:teuthology.orchestra.run.ovh064.stdout:install python for fedora ----------------------------------------------- 0.09s
2019-01-19T04:36:50.869 INFO:teuthology.orchestra.run.ovh064.stdout:/home/ubuntu/ceph-ansible/raw_install_python.yml:14 ---------------------------
2019-01-19T04:36:50.869 INFO:teuthology.orchestra.run.ovh064.stdout:install python for opensuse --------------------------------------------- 0.08s
2019-01-19T04:36:50.869 INFO:teuthology.orchestra.run.ovh064.stdout:/home/ubuntu/ceph-ansible/raw_install_python.yml:20 ---------------------------
2019-01-19T04:36:50.972 DEBUG:teuthology.orchestra.run:got remote process result: 2
2019-01-19T04:36:50.972 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/ceph_ansible.py", line 177, in begin
    self.execute_playbook()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ceph_ansible.py", line 136, in execute_playbook
    self.run_playbook()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ceph_ansible.py", line 454, in run_playbook
    run.Raw(str_args)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 194, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 435, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on ovh064 with status 2: 'cd ~/ceph-ansible ; virtualenv --system-site-packages venv ; source venv/bin/activate ; pip install 

History

#1 Updated by Brad Hubbard 7 months ago

2019-01-19T04:59:17.707 INFO:teuthology.orchestra.run.ovh080.stdout:TASK [ceph-facts : set_fact container_binary] **********************************
2019-01-19T04:59:17.708 INFO:teuthology.orchestra.run.ovh080.stdout:task path: /home/ubuntu/ceph-ansible/roles/ceph-facts/tasks/facts.yml:20
2019-01-19T04:59:17.708 INFO:teuthology.orchestra.run.ovh080.stdout:Saturday 19 January 2019  04:59:17 +0000 (0:00:00.158)       0:00:06.852 ******
2019-01-19T04:59:17.746 INFO:teuthology.orchestra.run.ovh080.stdout:fatal: [ovh045.front.sepia.ceph.com]: FAILED! => {}
2019-01-19T04:59:17.746 INFO:teuthology.orchestra.run.ovh080.stdout:
2019-01-19T04:59:17.746 INFO:teuthology.orchestra.run.ovh080.stdout:MSG:
2019-01-19T04:59:17.746 INFO:teuthology.orchestra.run.ovh080.stdout:
2019-01-19T04:36:50.838 INFO:teuthology.orchestra.run.ovh064.stdout:The conditional check 'containerized_deployment' failed. The error was: error while evaluating conditional (containerized_deployment): 'containerized_deployment' is undefined
2019-01-19T04:36:50.838 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.839 INFO:teuthology.orchestra.run.ovh064.stdout:The error appears to have been in '/home/ubuntu/ceph-ansible/roles/ceph-facts/tasks/facts.yml': line 20, column 3, but may
2019-01-19T04:36:50.839 INFO:teuthology.orchestra.run.ovh064.stdout:be elsewhere in the file depending on the exact syntax problem.
2019-01-19T04:36:50.839 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.839 INFO:teuthology.orchestra.run.ovh064.stdout:The offending line appears to be:
2019-01-19T04:36:50.839 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.839 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.839 INFO:teuthology.orchestra.run.ovh064.stdout:- name: set_fact container_binary
2019-01-19T04:36:50.839 INFO:teuthology.orchestra.run.ovh064.stdout:  ^ here
2019-01-19T04:36:50.840 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.861 INFO:teuthology.orchestra.run.ovh064.stdout:fatal: [ovh089.front.sepia.ceph.com]: FAILED! => {}
2019-01-19T04:36:50.861 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.861 INFO:teuthology.orchestra.run.ovh064.stdout:MSG:
2019-01-19T04:36:50.862 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.862 INFO:teuthology.orchestra.run.ovh064.stdout:The conditional check 'containerized_deployment' failed. The error was: error while evaluating conditional (containerized_deployment): 'containerized_deployment' is undefined
2019-01-19T04:36:50.862 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.862 INFO:teuthology.orchestra.run.ovh064.stdout:The error appears to have been in '/home/ubuntu/ceph-ansible/roles/ceph-facts/tasks/facts.yml': line 20, column 3, but may
2019-01-19T04:36:50.862 INFO:teuthology.orchestra.run.ovh064.stdout:be elsewhere in the file depending on the exact syntax problem.
2019-01-19T04:36:50.862 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.862 INFO:teuthology.orchestra.run.ovh064.stdout:The offending line appears to be:
2019-01-19T04:36:50.863 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.863 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.863 INFO:teuthology.orchestra.run.ovh064.stdout:- name: set_fact container_binary
2019-01-19T04:36:50.863 INFO:teuthology.orchestra.run.ovh064.stdout:  ^ here
2019-01-19T04:36:50.863 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.863 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.863 INFO:teuthology.orchestra.run.ovh064.stdout:NO MORE HOSTS LEFT *************************************************************
2019-01-19T04:36:50.864 INFO:teuthology.orchestra.run.ovh064.stdout:
2019-01-19T04:36:50.864 INFO:teuthology.orchestra.run.ovh064.stdout:PLAY RECAP *********************************************************************
2019-01-19T04:36:50.864 INFO:teuthology.orchestra.run.ovh064.stdout:ovh061.front.sepia.ceph.com : ok=7    changed=0    unreachable=0    failed=1
2019-01-19T04:36:50.864 INFO:teuthology.orchestra.run.ovh064.stdout:ovh064.front.sepia.ceph.com : ok=6    changed=0    unreachable=0    failed=1
2019-01-19T04:36:50.864 INFO:teuthology.orchestra.run.ovh064.stdout:ovh089.front.sepia.ceph.com : ok=6    changed=0    unreachable=0    failed=1

Very similar to the issue we just fixed. It's another undefined variable in ceph-ansible, this time the variable involved is 'containerized_deployment'. Need to open a bug against CA.

#2 Updated by Greg Farnum 7 months ago

  • Project changed from Ceph to ceph-ansible

#4 Updated by Brad Hubbard 7 months ago

I can't edit the status of this bug so can't move it back to ceph project.

I opened https://github.com/ceph/ceph-ansible/issues/3516 against CA but it was deemed not to be a bug and we are required to upgrade to ansible 2.7 to get past this particular issue.

#5 Updated by Brad Hubbard 6 months ago

This is resolved.

Also available in: Atom PDF