George B.
2016-11-08 12:35:52 UTC
Package: python-openssl
Version: 16.1.0-1
Severity: critical
Justification: breaks unrelated software
Hello,
I get the following exception when running my Ansible playbook. Looking
at the trace the error appears to be coming all the way from Python
OpenSSL library, so filing a bug here.
```
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 92, in <module>
exit_code = cli.run()
File "/usr/lib/python2.7/dist-packages/ansible/cli/playbook.py",
line 154, in run
results = pbex.run()
File
"/usr/lib/python2.7/dist-packages/ansible/executor/playbook_executor.py",
line 81, in run
self._tqm.load_callbacks()
File
"/usr/lib/python2.7/dist-packages/ansible/executor/task_queue_manager.py",
line 171, in load_callbacks
for callback_plugin in
callback_loader.all(class_only=True):
File
"/usr/lib/python2.7/dist-packages/ansible/plugins/__init__.py",
line 368, in all
self._module_cache[path] =
self._load_module_source(name, path)
File
"/usr/lib/python2.7/dist-packages/ansible/plugins/__init__.py",
line 319, in _load_module_source
module = imp.load_source(name, path,
module_file)
File
"/usr/lib/python2.7/dist-packages/ansible/plugins/callback/hipchat.py",
line 32, in <module>
from ansible.module_utils.urls
import open_url
File
"/usr/lib/python2.7/dist-packages/ansible/module_utils/urls.py",
line 128, in <module>
from
urllib3.contrib.pyopenssl
import ssl_wrap_socket
File
"/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py",
line 54, in <module>
import OpenSSL.SSL
File
"/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py",
line 8, in
<module>
from OpenSSL
import rand,
crypto, SSL
File
"/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py",
line 112,
in
<module>
SSL_ST_INIT
=
_lib.SSL_ST_INIT
AttributeError:
'module'
object
has no
attribute
'SSL_ST_INIT'u
```
Best regards,
George
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-openssl depends on:
ii python-cryptography 1.5.3-1
ii python-six 1.10.0-3
pn python:any <none>
python-openssl recommends no packages.
Versions of packages python-openssl suggests:
pn python-openssl-dbg <none>
pn python-openssl-doc <none>
-- no debconf information
Version: 16.1.0-1
Severity: critical
Justification: breaks unrelated software
Hello,
I get the following exception when running my Ansible playbook. Looking
at the trace the error appears to be coming all the way from Python
OpenSSL library, so filing a bug here.
```
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 92, in <module>
exit_code = cli.run()
File "/usr/lib/python2.7/dist-packages/ansible/cli/playbook.py",
line 154, in run
results = pbex.run()
File
"/usr/lib/python2.7/dist-packages/ansible/executor/playbook_executor.py",
line 81, in run
self._tqm.load_callbacks()
File
"/usr/lib/python2.7/dist-packages/ansible/executor/task_queue_manager.py",
line 171, in load_callbacks
for callback_plugin in
callback_loader.all(class_only=True):
File
"/usr/lib/python2.7/dist-packages/ansible/plugins/__init__.py",
line 368, in all
self._module_cache[path] =
self._load_module_source(name, path)
File
"/usr/lib/python2.7/dist-packages/ansible/plugins/__init__.py",
line 319, in _load_module_source
module = imp.load_source(name, path,
module_file)
File
"/usr/lib/python2.7/dist-packages/ansible/plugins/callback/hipchat.py",
line 32, in <module>
from ansible.module_utils.urls
import open_url
File
"/usr/lib/python2.7/dist-packages/ansible/module_utils/urls.py",
line 128, in <module>
from
urllib3.contrib.pyopenssl
import ssl_wrap_socket
File
"/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py",
line 54, in <module>
import OpenSSL.SSL
File
"/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py",
line 8, in
<module>
from OpenSSL
import rand,
crypto, SSL
File
"/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py",
line 112,
in
<module>
SSL_ST_INIT
=
_lib.SSL_ST_INIT
AttributeError:
'module'
object
has no
attribute
'SSL_ST_INIT'u
```
Best regards,
George
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-openssl depends on:
ii python-cryptography 1.5.3-1
ii python-six 1.10.0-3
pn python:any <none>
python-openssl recommends no packages.
Versions of packages python-openssl suggests:
pn python-openssl-dbg <none>
pn python-openssl-doc <none>
-- no debconf information