Project

General

Profile

Bug #18790

ceph-ansible task fails with error "no module named six.moves"

Added by Tamilarasi muthamizhan over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/02/2017
Due date:
% Done:

0%

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

Description

running ceph-ansible task against kraken branch fails with the following error

2017-01-26T00:47:58.429 INFO:teuthology.orchestra.run.vpm135:Running: "cd ~/ceph-ansible ; virtualenv venv ; source venv/bin/activate ; pip install 'setuptools>=11.3' ansible==2.1 ; ansible-playbook -vv -i inven.yml site.yml" 
2017-01-26T00:47:58.835 INFO:teuthology.orchestra.run.vpm135.stdout:New python executable in venv/bin/python
2017-01-26T00:47:59.437 INFO:teuthology.orchestra.run.vpm135.stdout:Installing Setuptools..............................................................................................................................................................................................................................done.
2017-01-26T00:48:00.047 INFO:teuthology.orchestra.run.vpm135.stdout:Installing Pip.....................................................................................................................................................................................................................................................................................................................................done.
2017-01-26T00:48:01.570 INFO:teuthology.orchestra.run.vpm135.stdout:Downloading/unpacking setuptools>=11.3
2017-01-26T00:48:01.570 INFO:teuthology.orchestra.run.vpm135.stdout:  Running setup.py egg_info for package setuptools
2017-01-26T00:48:01.570 INFO:teuthology.orchestra.run.vpm135.stdout:    Traceback (most recent call last):
2017-01-26T00:48:01.571 INFO:teuthology.orchestra.run.vpm135.stdout:      File "<string>", line 3, in <module>
2017-01-26T00:48:01.571 INFO:teuthology.orchestra.run.vpm135.stdout:      File "setuptools/__init__.py", line 10, in <module>
2017-01-26T00:48:01.571 INFO:teuthology.orchestra.run.vpm135.stdout:        from six.moves import filter, map
2017-01-26T00:48:01.571 INFO:teuthology.orchestra.run.vpm135.stdout:    ImportError: No module named six.moves
2017-01-26T00:48:01.571 INFO:teuthology.orchestra.run.vpm135.stdout:    Complete output from command python setup.py egg_info:
2017-01-26T00:48:01.572 INFO:teuthology.orchestra.run.vpm135.stdout:    Traceback (most recent call last):
2017-01-26T00:48:01.572 INFO:teuthology.orchestra.run.vpm135.stdout:
2017-01-26T00:48:01.572 INFO:teuthology.orchestra.run.vpm135.stdout:  File "<string>", line 3, in <module>
2017-01-26T00:48:01.572 INFO:teuthology.orchestra.run.vpm135.stdout:
2017-01-26T00:48:01.572 INFO:teuthology.orchestra.run.vpm135.stdout:  File "setuptools/__init__.py", line 10, in <module>
2017-01-26T00:48:01.573 INFO:teuthology.orchestra.run.vpm135.stdout:
2017-01-26T00:48:01.573 INFO:teuthology.orchestra.run.vpm135.stdout:    from six.moves import filter, map
2017-01-26T00:48:01.573 INFO:teuthology.orchestra.run.vpm135.stdout:
2017-01-26T00:48:01.573 INFO:teuthology.orchestra.run.vpm135.stdout:ImportError: No module named six.moves
2017-01-26T00:48:01.573 INFO:teuthology.orchestra.run.vpm135.stdout:
2017-01-26T00:48:01.574 INFO:teuthology.orchestra.run.vpm135.stdout:----------------------------------------
2017-01-26T00:48:01.574 INFO:teuthology.orchestra.run.vpm135.stdout:Cleaning up...
2017-01-26T00:48:01.574 INFO:teuthology.orchestra.run.vpm135.stdout:Command python setup.py egg_info failed with error code 1 in /home/ubuntu/ceph-ansible/venv/build/setuptools
2017-01-26T00:48:01.574 INFO:teuthology.orchestra.run.vpm135.stdout:Storing complete log in /tmp/tmp1qN5HK
2017-01-26T00:48:01.597 INFO:teuthology.orchestra.run.vpm135.stderr:bash: ansible-playbook: command not found
2017-01-26T00:48:01.597 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 121, in __enter__
    self.begin()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ceph_ansible.py", line 196, in begin
    self.execute_playbook()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ceph_ansible.py", line 149, in execute_playbook
    self.run_playbook()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ceph_ansible.py", line 352, in run_playbook
    run.Raw(str_args)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 192, 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 403, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 166, in wait
    label=self.label)
CommandFailedError: Command failed on vpm135 with status 127: "cd ~/ceph-ansible ; virtualenv venv ; source venv/bin/activate ; pip install 'setuptools>=11.3' ansible==2.1 ; ansible-playbook -vv -i inven.yml site.yml" 
2017-01-26T00:48:01.634 ERROR:teuthology.run_tasks: Sentry event: http://sentry.ceph.com/sepia/teuthology/?q=00745e0e57a3485ea4d25de4eb4cea40
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 121, in __enter__
    self.begin()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ceph_ansible.py", line 196, in begin
    self.execute_playbook()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ceph_ansible.py", line 149, in execute_playbook
    self.run_playbook()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ceph_ansible.py", line 352, in run_playbook
    run.Raw(str_args)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 192, 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 403, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 166, in wait
    label=self.label)
CommandFailedError: Command failed on vpm135 with status 127: "cd ~/ceph-ansible ; virtualenv venv ; source venv/bin/activate ; pip install 'setuptools>=11.3' ansible==2.1 ; ansible-playbook -vv -i inven.yml site.yml" 

logs:
http://qa-proxy.ceph.com/teuthology/yuriw-2017-01-25_18:41:00-ceph-ansible-kraken-distro-basic-vps/747665/teuthology.log

History

#1 Updated by Tamilarasi muthamizhan over 2 years ago

  • Assignee deleted (Vasu Kulkarni)

Also available in: Atom PDF