Target nodes require libssl-dev in master v14

Bug #1611103 reported by James Denton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Unassigned

Bug Description

While running setup-hosts, the following errors were encountered on the target node(s):

===============================================================================================

TASK [pip_install : Install required pip packages] *****************************
FAILED - RETRYING: TASK: pip_install : Install required pip packages (5 retries left).
FAILED - RETRYING: TASK: pip_install : Install required pip packages (4 retries left).
FAILED - RETRYING: TASK: pip_install : Install required pip packages (3 retries left).
FAILED - RETRYING: TASK: pip_install : Install required pip packages (2 retries left).
FAILED - RETRYING: TASK: pip_install : Install required pip packages (1 retries left).
fatal: [compute01]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/pip install -U --upgrade --force-reinstall pyOpenSSL pyasn1 ndg-httpsclient", "failed": true, "msg": "stdout: Collecting pyOpenSSL\n Using cached pyOpenSSL-16.0.0-py2.py3-none-any.whl\nCollecting pyasn1\n Using cached pyasn1-0.1.9-py2.py3-none-any.whl\nCollecting ndg-httpsclient\nCollecting cryptography>=1.3 (from pyOpenSSL)\n Using cached cryptography-1.4.tar.gz\nCollecting six>=1.5.2 (from pyOpenSSL)\n Using cached six-1.10.0-py2.py3-none-any.whl\nCollecting idna>=2.0 (from cryptography>=1.3->pyOpenSSL)\n Using cached idna-2.1-py2.py3-none-any.whl\nColle
cting setuptools>=11.3 (from cryptography>=1.3->pyOpenSSL)\n Using cached setuptools-25.1.6-py2.py3-none-any.whl\nCollecting enum34 (from cryptography>=1.3->py
OpenSSL)\n Using cached enum34-1.1.6-py2-none-any.whl\nCollecting ipaddress (from cryptography>=1.3->pyOpenSSL)\n Using cached ipaddress-1.0.16-py27-none-any.
whl\nCollecting cffi>=1.4.1 (from cryptography>=1.3->pyOpenSSL)\n Using cached cffi-1.7.0-cp27-cp27mu-manylinux1_x86_64.whl\nCollecting pycparser (from cffi>=1
.4.1->cryptography>=1.3->pyOpenSSL)\nBuilding wheels for collected packages: cryptography\n Running setup.py bdist_wheel for cryptography: started\n Running s
etup.py bdist_wheel for cryptography: finished with status 'error'\n Complete output from command /usr/bin/python -u -c \"import setuptools, tokenize;__file__=
'/tmp/pip-build-T0TLVA/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" bdist
_wheel -d /tmp/tmpKnyIUFpip-wheel- --python-tag cp27:\n running bdist_wheel\n running build\n running build_py\n creating build\n creating build/lib.linux-
x86_64-2.7\n creating build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/__init__.py -> build/lib.linux-x86_64-2.7/cryptography\n copying src
/cryptography/fernet.py -> build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/__about__.py -> build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/utils.py -> build/lib.linux-x86_64-2.7/cryptography\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat\n copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat\n creating build/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptogr
aphy/x509/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n
  copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/extensions.py -> build/lib.linu
x-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n creating build/lib.linux-x86_64-2.7/c
ryptography/hazmat/bindings\n copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings\n creating build
/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/
primitives\n copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat
/primitives/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/serialization.py -> build/lib
.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-2.7/cryptography/hazma
t/primitives\n copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazm
at/primitives/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux
-x86_64-2.7/cryptography/hazmat/primitives\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends\n copying src/cryptography/hazmat/backends/inter
faces.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends\n copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-2.7/crypto
graphy/hazmat/backends\n copying src/cryptography/hazmat/backends/multibackend.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends\n creating build/
lib.linux-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto\n copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> build/lib.linux-x86_64-2.
7/cryptography/hazmat/bindings/commoncrypto\n copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> build/lib.linux-x86_64-2.7/cryptography/hazma
t/bindings/commoncrypto\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl\n copying src/cryptography/hazmat/bindings/openssl/__init__
.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl\n copying
<snip>
yptography.egg-info/SOURCES.txt'\n running build_ext\n generating cffi module 'build/temp.linux-x86_64-2.7/_padding.c'\n creating build/temp.linux-x86_
64-2.7\n generating cffi module 'build/temp.linux-x86_64-2.7/_constant_time.c'\n generating cffi module 'build/temp.linux-x86_64-2.7/_openssl.c'\n buil
ding '_openssl' extension\n creating build/temp.linux-x86_64-2.7/build\n creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7\n x86_64-linu
x-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl
.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o\n build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal error: openssl/opensslv.h: No
 such file or directory\n #include <openssl/opensslv.h>\n ^\n compilation terminated.\n error: command 'x86_64-linux-
gnu-gcc' failed with exit status 1\n \n ----------------------------------------\n\n:stderr: Failed building wheel for cryptography\nCommand \"/usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-T0TLVA/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-HNdTQE-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-build-T0TLVA/cryptography/\n"}
...ignoring

TASK [pip_install : Install required pip packages (fall back mode)] ************
FAILED - RETRYING: TASK: pip_install : Install required pip packages (fall back mode) (5 retries left).
FAILED - RETRYING: TASK: pip_install : Install required pip packages (fall back mode) (4 retries left).
FAILED - RETRYING: TASK: pip_install : Install required pip packages (fall back mode) (3 retries left).
FAILED - RETRYING: TASK: pip_install : Install required pip packages (fall back mode) (2 retries left).
FAILED - RETRYING: TASK: pip_install : Install required pip packages (fall back mode) (1 retries left).
fatal: [compute01]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/pip install -U --upgrade --force-reinstall --isolated pyOpenSSL pyasn1 ndg-httpsclient", "failed": true, "msg": "stdout: Collecting pyOpenSSL\n Using cached pyOpenSSL-16.0.0-py2.py3-none-any.whl\nCollecting pyasn1\n Using cached pyasn1-0.1.9-py2
.py3-none-any.whl\nCollecting ndg-httpsclient\nCollecting cryptography>=1.3 (from pyOpenSSL)\n Using cached cryptography-1.4.tar.gz\nCollecting six>=1.5.2 (fro
m pyOpenSSL)\n Using cached six-1.10.0-py2.py3-none-any.whl\nCollecting idna>=2.0 (from cryptography>=1.3->pyOpenSSL)\n Using cached idna-2.1-py2.py3-none-any
.whl\nCollecting setuptools>=11.3 (from cryptography>=1.3->pyOpenSSL)\n Using cached setuptools-25.1.6-py2.py3-none-any.whl\nCollecting enum34 (from cryptograp
hy>=1.3->pyOpenSSL)\n Using cached enum34-1.1.6-py2-none-any.whl\nCollecting ipaddress (from cryptography>=1.3->pyOpenSSL)\n Using cached ipaddress-1.0.16-py2
7-none-any.whl\nCollecting cffi>=1.4.1 (from cryptography>=1.3->pyOpenSSL)\n Using cached cffi-1.7.0-cp27-cp27mu-manylinux1_x86_64.whl\nCollecting pycparser (f
rom cffi>=1.4.1->cryptography>=1.3->pyOpenSSL)\nBuilding wheels for collected packages: cryptography\n Running setup.py bdist_wheel for cryptography: started\n
  Running setup.py bdist_wheel for cryptography: finished with status 'error'\n Complete output from command /usr/bin/python -u -c \"import setuptools, tokeniz
e;__file__='/tmp/pip-build-PwJ2PG/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" bdist_wheel -d /tmp/tmpYp6flCpip-wheel- --python-tag cp27:\n running bdist_wheel\n running build\n running build_py\n creating build\n creating build
/lib.linux-x86_64-2.7\n creating build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/__init__.py -> build/lib.linux-x86_64-2.7/cryptography\n
copying src/cryptography/fernet.py -> build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-2.7/cryptograp
hy\n copying src/cryptography/__about__.py -> build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/utils.py -> build/lib.linux-x86_64-2.7/crypto
graphy\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat\n copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazm
at\n creating build/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n copying s
rc/cryptography/x509/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-2.7/cryptogr
aphy/x509\n copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/extensions.py -> bui
ld/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n creating build/lib.linux-x
86_64-2.7/cryptography/hazmat/bindings\n copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings\n cre
ating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-2.7/cryptogra
phy/hazmat/primitives\n copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptogr
aphy/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/serialization.py -
> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-2.7/cryptog
raphy/hazmat/primitives\n copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/crypto
graphy/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/padding.py -> buil
d/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends\n copying src/cryptography/hazmat/bac
kends/interfaces.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends\n copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64
-2.7/cryptography/hazmat/backends\n copying src/cryptography/hazmat/backends/multibackend.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends\n crea
ting build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto\n copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto\n copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl\n copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl\n copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.li
nux-x86_64-2.7/cryptography/hazmat/bindings/openssl\n copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-2.7/cryptograp
hy/hazmat/bindings/openssl\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers\n copying src/cryptography/hazmat/primitives/ciphers/_
_init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers\n copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib
.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers\n copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-2.7/cryptograph
y/hazmat/primitives/ciphers\n copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers\
n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/interfaces\n copying src/cryptography/hazmat/primitives/interfaces/__init__.py -> build/l
ib.linux-x86_64-2.7/cryptography/hazmat/primitives/interfaces\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor\n copying src/cry
ptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor\n copying src/cryptography/hazmat/prim
itives/twofactor/totp.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor\n copying src/cryptography/hazmat/primitives/twofactor/hotp.py
-> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor\n copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_6
4-2.7/cryptography/hazmat/primitives/twofactor\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n copying src/cryptography/hazm
at/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n copying src/cryptography/hazmat/primitives/asymm
etric/rsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> buil
d/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-2.7/cr
yptography/hazmat/primitives/asymmetric\n copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primiti
ves/asymmetric\n copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n copy
ing src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n creating build/lib.linux-x86
_64-2.7/cryptography/hazmat/primitives/kdf\n copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n copying src/cryptograph
y/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n copying src/cryptography/hazmat/primitives/kdf/x963kdf.
py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-2.7/cryp
tography/hazmat/primitives/kdf\n copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n c
reating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto\n copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> build/lib.linux
-x86_64-2.7/cryptography/hazmat/backends/commoncrypto\n copying src/cryptography/hazmat/backends/commoncrypto/__init__.py -> build/lib.linux-x86_64-2.7/cryptog
raphy/hazmat/backends/commoncrypto\n copying src/cryptography/hazmat/backends/commoncrypto/ciphers.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backend
s/commoncrypto\n copying src/cryptography/hazmat/backends/commoncrypto/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto\n cop
ying src/cryptography/hazmat/backends/commoncrypto/backend.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto\n creating build/lib.linu
x-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-2.7/cryptography/
hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copyin
g src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/bac
kends/openssl/rsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib
.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-2.7/cryptography
/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n cop
ying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/b
ackends/openssl/ec.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> b
uild/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-2.7/cryptog
raphy/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n
 copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n running egg_info\n writing requirements to src/cryptography.egg-info/requires.txt\n writing src/cryptography.egg-info/PKG-INFO\n writing top-level names to src/cryptography.egg-info/top_level.txt\n writing dependency_links to src/cryptography.egg-info/dependency_links.txt\n writing entry points to src/cryptography.egg-info/entry_points.txt\n warning: manifest_maker: standard file '-c' not found\n \n reading manifest file 'src/cryptography.egg-info/SOURCES.txt'\n reading manifest template 'MANIFEST.i
n'\n no previously-included directories found matching 'docs/_build'\n warning: no previously-included files matching '*' found under directory 'vectors'\n w
riting manifest file 'src/cryptography.egg-info/SOURCES.txt'\n running build_ext\n generating cffi module 'build/temp.linux-x86_64-2.7/_padding.c'\n creating
 build/temp.linux-x86_64-2.7\n generating cffi module 'build/temp.linux-x86_64-2.7/_constant_time.c'\n generating cffi module 'build/temp.linux-x86_64-2.7/_op
enssl.c'\n building '_openssl' extension\n creating build/temp.linux-x86_64-2.7/build\n creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7\n x
86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.
7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o\n build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal error: openssl/openss
lv.h: No such file or directory\n #include <openssl/opensslv.h>\n ^\n compilation terminated.\n error: command 'x86_64-linux-
gnu-gcc' failed with exit status 1\n \n ----------------------------------------\n Running setup.py clean for cryptography\nFailed to build cryptography\nIns
talling collected packages: idna, pyasn1, six, setuptools, enum34, ipaddress, pycparser, cffi, cryptography, pyOpenSSL, ndg-httpsclient\n Found existing instal
lation: idna 2.1\n Uninstalling idna-2.1:\n Successfully uninstalled idna-2.1\n Found existing installation: pyasn1 0.1.9\n Uninstalling pyasn1-0.1.
9:\n Successfully uninstalled pyasn1-0.1.9\n Found existing installation: six 1.10.0\n Uninstalling six-1.10.0:\n Successfully uninstalled six-1.1
0.0\n Found existing installation: setuptools 25.1.6\n Uninstalling setuptools-25.1.6:\n Successfully uninstalled setuptools-25.1.6\n Found existing i
nstallation: enum34 1.1.6\n Uninstalling enum34-1.1.6:\n Successfully uninstalled enum34-1.1.6\n Found existing installation: ipaddress 1.0.16\n Uni
nstalling ipaddress-1.0.16:\n Successfully uninstalled ipaddress-1.0.16\n Found existing installation: pycparser 2.14\n Uninstalling pycparser-2.14:\n
     Successfully uninstalled pycparser-2.14\n Found existing installation: cffi 1.7.0\n Uninstalling cffi-1.7.0:\n Successfully uninstalled cffi-1.7.0
\n Running setup.py install for cryptography: started\n Running setup.py install for cryptography: finished with status 'error'\n Complete output from co
mmand /usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-PwJ2PG/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__
file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" --no-user-cfg install --record /tmp/pip-8BJa_z-record/install-record.txt --single-version-externally-managed --compile:\n running install\n running build\n running build_py\n creating build\n creating build/lib.linux-x86_64-2.7\n creating b
uild/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/__init__.py -> build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/fernet
.py -> build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptogra
phy/__about__.py -> build/lib.linux-x86_64-2.7/cryptography\n copying src/cryptography/utils.py -> build/lib.linux-x86_64-2.7/cryptography\n creating buil
d/lib.linux-x86_64-2.7/cryptography/hazmat\n copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat\n creating buil
d/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography
/x509/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n
  copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/extensions.py -> build/lib.li
nux-x86_64-2.7/cryptography/x509\n copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-2.7/cryptography/x509\n creating build/lib.linux-x86_64
-2.7/cryptography/hazmat/bindings\n copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings\n crea
ting build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-2.7/cryptogr
aphy/hazmat/primitives\n copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cry
ptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/serializati
on.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-2.
7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copyi
ng src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n copying src/cryptography/hazmat/primitives/pad
ding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends\n copying src/cryp
tography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends\n copying src/cryptography/hazmat/backends/__init__.py -> b
uild/lib.linux-x86_64-2.7/cryptography/hazmat/backends\n copying src/cryptography/hazmat/backends/multibackend.py -> build/lib.linux-x86_64-2.7/cryptography/
hazmat/backends\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto\n copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto\n copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl\n copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl\n copying src/cryptography/hazmat/bindings
/openssl/binding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl\n copying src/cryptography/hazmat/bindings/openssl/_conditional.py ->
build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/openssl\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers\n copying src
/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers\n copying src/cryptography/hazmat/pr
imitives/ciphers/algorithms.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers\n copying src/cryptography/hazmat/primitives/ciphers/base
.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/ciphers\n copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86
_64-2.7/cryptography/hazmat/primitives/ciphers\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/interfaces\n copying src/cryptography/
hazmat/primitives/interfaces/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/interfaces\n creating build/lib.linux-x86_64-2.7/crypto
graphy/hazmat/primitives/twofactor\n copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primi
tives/twofactor\n copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor\n co
pying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor\n copying src/cryptography/
hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/twofactor\n creating build/lib.linux-x86_64-2.7/cryptograph
y/hazmat/primitives/asymmetric\n copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitiv
es/asymmetric\n copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n cop
ying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n copying src/cryptogra
phy/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n copying src/cryptography/hazmat/primitives/a
symmetric/dh.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> b
uild/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/asymmetric\n copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-
2.7/cryptography/hazmat/primitives/asymmetric\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build
/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-2.7/cryptogr
aphy/hazmat/primitives/kdf\n copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n copying src/cryptography/hazmat/pri
mitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/primitives/kdf\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/com
moncrypto\n copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto\n copyin
g src/cryptography/hazmat/backends/commoncrypto/__init__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto\n copying src/cryptograph
y/hazmat/backends/commoncrypto/ciphers.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto\n copying src/cryptography/hazmat/backends/
commoncrypto/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto\n copying src/cryptography/hazmat/backends/commoncrypto/backen
d.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/commoncrypto\n creating build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography
/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/__init
__.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-
2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backend
s/openssl\n copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/c
ryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/o
penssl/backend.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.li
nux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-2.7/cryptogra
phy/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n
  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-2.7/cryptography/hazmat/backends/openssl\n running egg_info\n writing requirements to src/cryptography.egg-info/requires.txt\n writing src/cryptography.egg-info/PKG-INFO\n writing top-level names to src/cryptography.egg-info/top_level.txt\n writing dependency_links to src/cryptography.egg-info/dependency_links.txt\n writing entry points to src/cryptography.egg-info/entry_points.txt\n warning: manifest_
maker: standard file '-c' not found\n \n reading manifest file 'src/cryptography.egg-info/SOURCES.txt'\n reading manifest template 'MANIFEST.in'\n n
o previously-included directories found matching 'docs/_build'\n warning: no previously-included files matching '*' found under directory 'vectors'\n writ
ing manifest file 'src/cryptography.egg-info/SOURCES.txt'\n running build_ext\n generating cffi module 'build/temp.linux-x86_64-2.7/_padding.c'\n creat
ing build/temp.linux-x86_64-2.7\n generating cffi module 'build/temp.linux-x86_64-2.7/_constant_time.c'\n generating cffi module 'build/temp.linux-x86_64-
2.7/_openssl.c'\n building '_openssl' extension\n creating build/temp.linux-x86_64-2.7/build\n creating build/temp.linux-x86_64-2.7/build/temp.linux-x8
6_64-2.7\n x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.
linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o\n build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal erro
r: openssl/opensslv.h: No such file or directory\n #include <openssl/opensslv.h>\n ^\n compilation terminated.\n erro
r: command 'x86_64-linux-gnu-gcc' failed with exit status 1\n \n ----------------------------------------\n\n:stderr: Failed building wheel for cryptogr
aphy\nCommand \"/usr/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-PwJ2PG/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" --no-user-cfg install --record /tmp/pip-8BJa_z-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-build-PwJ2PG/cryptography/\n"}

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
compute01 : ok=153 changed=6 unreachable=0 failed=1

===============================================================================================

To workaround this, I had to install libssl-dev on the target node(s):

# apt-get install libssl-dev

Rerunning the playbook resulted in 0 errors. This step is documented for the deploy host, but not the target hosts (unless I missed it).

Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

This should now be resolved with https://review.openstack.org/354475 - can you verify?

Changed in openstack-ansible:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.