Reviewed: https://review.openstack.org/280008 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=b5ffb569e0687b0016ea962348d8454c1517dde4 Submitter: Jenkins Branch: master
commit b5ffb569e0687b0016ea962348d8454c1517dde4 Author: Davanum Srinivas <[email protected]> Date: Sun Feb 14 12:44:39 2016 -0500 Tolerate installation of pycryptodome Newer versions of pysaml2 uses pycryptodome, so if by accident if this library gets installed, Glance breaks. paramiko folks are working on this: https://github.com/paramiko/paramiko/issues/637 In the meanwhile, we should tolerate if either pycrypto or pycryptodome is installed. Closes-Bug: #1545370 Change-Id: I8969382b380aa843a0826eded4b694251dd27922 ** Changed in: glance Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1545370 Title: pycryptodome breaks nova/barbican/glance/kite Status in Barbican: New Status in Glance: Fix Released Status in OpenStack Compute (nova): Fix Released Bug description: pysaml2===4.0.3 drags in pycryptodome===3.4 which breaks Nova in the both unit tests and grenade. nova.tests.unit.test_crypto.KeyPairTest.test_generate_key_pair_1024_bits ------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "nova/tests/unit/test_crypto.py", line 352, in test_generate_key_pair_1024_bits (private_key, public_key, fingerprint) = crypto.generate_key_pair(bits) File "nova/crypto.py", line 165, in generate_key_pair key = paramiko.RSAKey.generate(bits) File "/Users/dims/openstack/openstack/nova/.tox/py27/lib/python2.7/site-packages/paramiko/rsakey.py", line 146, in generate rsa = RSA.generate(bits, os.urandom, progress_func) File "/Users/dims/openstack/openstack/nova/.tox/py27/lib/python2.7/site-packages/Crypto/PublicKey/RSA.py", line 436, in generate if e % 2 == 0 or e < 3: TypeError: unsupported operand type(s) for %: 'NoneType' and 'int' To manage notifications about this bug go to: https://bugs.launchpad.net/barbican/+bug/1545370/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

