Project

General

Profile

Actions

Bug #18858

closed

ceph-ansible fails during monitor creation

Added by Tamilarasi muthamizhan about 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
% Done:

0%

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

Description

ceph branch: jewel
ansible version: 2.2.1

ceph-ansible task running to deploy ceph [jewel branch] fails during mon creation.

2017-02-08 00:10:42,190.190 INFO:teuthology.orchestra.run.mira109.stdout:TASK [ceph-mon : start the monitor service] ************************************
2017-02-08 00:10:42,190.190 INFO:teuthology.orchestra.run.mira109.stdout:task path: /home/ubuntu/ceph-ansible/roles/ceph-mon/tasks/start_monitor.yml:2
2017-02-08 00:10:42,441.441 INFO:teuthology.orchestra.run.mira109.stdout:fatal: [mira109.front.sepia.ceph.com]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to start service ceph-mon@mira109: Job for ceph-mon@mira109.service failed because the control process exited with error code. See \"systemctl status ceph-mon@mira109.service\" and \"journalctl -xe\" for details.\n"}
2017-02-08 00:10:42,444.444 INFO:teuthology.orchestra.run.mira109.stdout:fatal: [mira090.front.sepia.ceph.com]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to start service ceph-mon@mira090: Job for ceph-mon@mira090.service failed because the control process exited with error code. See \"systemctl status ceph-mon@mira090.service\" and \"journalctl -xe\" for details.\n"}
2017-02-08 00:10:42,445.445 INFO:teuthology.orchestra.run.mira109.stdout:
2017-02-08 00:10:42,445.445 INFO:teuthology.orchestra.run.mira109.stdout:RUNNING HANDLER [ceph.ceph-common : restart ceph mons] *************************
2017-02-08 00:10:42,446.446 INFO:teuthology.orchestra.run.mira109.stdout:
2017-02-08 00:10:42,446.446 INFO:teuthology.orchestra.run.mira109.stdout:RUNNING HANDLER [ceph.ceph-common : restart ceph osds] *************************
2017-02-08 00:10:42,447.447 INFO:teuthology.orchestra.run.mira109.stdout:
2017-02-08 00:10:42,447.447 INFO:teuthology.orchestra.run.mira109.stdout:RUNNING HANDLER [ceph.ceph-common : restart ceph mdss] *************************
2017-02-08 00:10:42,447.447 INFO:teuthology.orchestra.run.mira109.stdout:
2017-02-08 00:10:42,447.447 INFO:teuthology.orchestra.run.mira109.stdout:RUNNING HANDLER [ceph.ceph-common : restart ceph rgws] *************************
2017-02-08 00:10:42,447.447 INFO:teuthology.orchestra.run.mira109.stdout:
2017-02-08 00:10:42,447.447 INFO:teuthology.orchestra.run.mira109.stdout:RUNNING HANDLER [ceph.ceph-common : restart ceph nfss] *************************
2017-02-08 00:10:42,448.448 INFO:teuthology.orchestra.run.mira109.stdout:    to retry, use: --limit @/home/ubuntu/ceph-ansible/site.retry
2017-02-08 00:10:42,448.448 INFO:teuthology.orchestra.run.mira109.stdout:
2017-02-08 00:10:42,449.449 INFO:teuthology.orchestra.run.mira109.stdout:PLAY RECAP *********************************************************************
2017-02-08 00:10:42,449.449 INFO:teuthology.orchestra.run.mira109.stdout:mira090.front.sepia.ceph.com : ok=49   changed=14   unreachable=0    failed=1
2017-02-08 00:10:42,449.449 INFO:teuthology.orchestra.run.mira109.stdout:mira109.front.sepia.ceph.com : ok=48   changed=12   unreachable=0    failed=1
2017-02-08 00:10:42,449.449 INFO:teuthology.orchestra.run.mira109.stdout:
2017-02-08 00:10:42,553.553 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/tamil/new/teuthology/teuthology/run_tasks.py", line 89, in run_tasks
    manager.__enter__()
  File "/home/tamil/new/teuthology/teuthology/task/__init__.py", line 121, in __enter__
    self.begin()
  File "/home/tamil/new/teuthology/teuthology/task/ceph_ansible.py", line 197, in begin
    self.execute_playbook()
  File "/home/tamil/new/teuthology/teuthology/task/ceph_ansible.py", line 150, in execute_playbook
    self.run_playbook()
  File "/home/tamil/new/teuthology/teuthology/task/ceph_ansible.py", line 353, in run_playbook
    run.Raw(str_args)
  File "/home/tamil/new/teuthology/teuthology/orchestra/remote.py", line 192, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/tamil/new/teuthology/teuthology/orchestra/run.py", line 403, in run
    r.wait()
  File "/home/tamil/new/teuthology/teuthology/orchestra/run.py", line 166, in wait
    label=self.label)
CommandFailedError: Command failed on mira109 with status 2: 'cd ~/ceph-ansible ; virtualenv venv ; source venv/bin/activate ; pip install setuptools==32.3.1 ansible==2.2.1 ; ansible-playbook -vv -i inven.yml site.yml'

detailed logs can be found at teuthology:/home/tamil/new/teuthology/today1/teuthology.log

Actions

Also available in: Atom PDF