+++ This bug was initially created as a clone of Bug #1553517 +++
Description of problem:
Octavia requires python2-cryptography!=2.0,>=1.9  and is synced with global-requirement.txt . CentOS7 provides python2-cryptography-1.7.2-1.el7 which is not good enough and throws exceptions on load balancer create in Octavia:
2018-03-08 23:45:46.453 24634 ERROR octavia.controller.worker.controller_worker File "/usr/lib/python2.7/site-packages/octavia/certificates/common/pkcs12.py", line 35, in get_certificate
2018-03-08 23:45:46.453 24634 ERROR octavia.controller.worker.controller_worker return self.certificate.to_cryptography().public_bytes(
2018-03-08 23:45:46.453 24634 ERROR octavia.controller.worker.controller_worker AttributeError: 'X509' object has no attribute 'to_cryptography'
Could we promote python2-cryptography-2.1.4 from Fedora ? There might be some considerations to be made first, i.e. bump of openssl and pyopenssl versions?
--- Additional comment from Carlos Goncalves on 2018-03-15 07:02:17 EDT ---
python-cryptography>=1.9 is not good enough as recently discovered with a new gate using lower-constraints . Octavia requires python-cryptography>=2.1.
Version bump being requested upstream for global-requirements.txt and lower-constraints.txt in .
RDO already bumped the library, waiting for an import.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.