Project

General

Profile

Actions

Bug #21574

closed

"ERROR! Unexpected Exception: 'module' object has no attribute 'SSL_ST_INIT'" in ceph-ansible

Added by Yuri Weinstein over 6 years ago. Updated about 6 years ago.

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

0%

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

Description

Run: http://pulpito.front.sepia.ceph.com/yuriw-2017-09-27_02:48:10-ceph-ansible-luminous-distro-basic-vps/
Jobs: all ubuntu Xenial
Logs: http://qa-proxy.ceph.com/teuthology/yuriw-2017-09-27_02:48:10-ceph-ansible-luminous-distro-basic-vps/1676955/teuthology.log

2017-09-27T03:13:21.085 INFO:teuthology.orchestra.run.vpm001.stderr:[WARNING]: log file at /var/log/ansible.log is not writeable and we cannot create it, aborting
2017-09-27T03:13:21.085 INFO:teuthology.orchestra.run.vpm001.stderr:
2017-09-27T03:13:21.222 INFO:teuthology.orchestra.run.vpm001.stdout:Using /home/ubuntu/ceph-ansible/ansible.cfg as config file
2017-09-27T03:13:21.579 INFO:teuthology.orchestra.run.vpm001.stderr:ERROR! Unexpected Exception: 'module' object has no attribute 'SSL_ST_INIT'
2017-09-27T03:13:21.579 INFO:teuthology.orchestra.run.vpm001.stdout:to see the full traceback, use -vvv
2017-09-27T03:13:21.605 ERROR:teuthology.run_tasks:Manager failed: ceph_ansible
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 159, in run_tasks
    suppress = manager.__exit__(*exc_info)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/__init__.py", line 134, in __exit__
    self.teardown()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ceph_ansible.py", line 217, in teardown
    run.Raw(str_args)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 193, 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 423, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 155, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 177, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on vpm001 with status 250: 'cd ~/ceph-ansible ; source venv/bin/activate ; ANSIBLE_STDOUT_CALLBACK=debug ansible-playbook -vv -e ireallymeanit=yes -i inven.yml purge-cluster.yml'
2017-09-27T03:13:21.605 DEBUG:teuthology.run_tasks:Unwinding manager ssh-keys
2017-09-27T03:13:21.619 ERROR:teuthology.contextutil:Saw exception from nested task
Actions #1

Updated by David Galloway over 6 years ago

2017-09-27T03:13:21.579 INFO:teuthology.orchestra.run.vpm001.stderr:ERROR! Unexpected Exception: 'module' object has no attribute 'SSL_ST_INIT'

Is resolved by updating the python-openssl package to version >=16.2.0. Version 0.15.1-2build1 is the latest available version provided by Ubuntu for Xenial.

I've pushed python-openssl_16.2.0-1_all.deb to chacra.ceph.com and we're testing it by adding an additional apt repo to testnodes via ceph-cm-ansible.

Actions #2

Updated by David Galloway over 6 years ago

Requested Vasu re-run the test with python-openssl removed from the package list.

Actions #3

Updated by Vasu Kulkarni over 6 years ago

Ceph will endup installing python-openssl later , pr/logs -> https://github.com/ceph/teuthology/pull/1115

Actions #4

Updated by Zack Cerza over 6 years ago

We talked about this in our staff meeting this morning. Suggestions were:
Actions #5

Updated by Ken Dreyer over 6 years ago

FYI https://github.com/ceph/ceph-ansible/pull/1978 adds the PPA instructions to the ceph-ansible docs.

Actions #6

Updated by Yuri Weinstein over 6 years ago

vasu pls consider a fix for "Don't run @ceph-ansible on a node that will also have Ceph installed" as : add a new role installer and allow ceph-ansible be able to run on any of defined roles, so we'd have flexibility to either run ceph-ansible with other roles on the same node or in isolation on a dedicated node

Actions #7

Updated by Yuri Weinstein over 6 years ago

  • Assignee set to Vasu Kulkarni
Actions #8

Updated by Vasu Kulkarni over 6 years ago

  • Status changed from New to Fix Under Review
Actions #9

Updated by Yuri Weinstein over 6 years ago

Vasu Kulkarni wrote:

https://github.com/ceph/teuthology/pull/1120

merged

Let's keep this ticket open till the second part (run `ceph-ansible` on separate node) addressed

Actions

Also available in: Atom PDF