← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1268966] Re: glance requires pyOpenSSL>=0.11

 

** Changed in: glance
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1268966

Title:
  glance requires pyOpenSSL>=0.11

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  while running unit tests with pyOpenSSL==0.10 I have got an exception
  _StringException: Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/glance/tests/unit/common/test_utils.py", line 197, in test_validate_key_cert_key
      utils.validate_key_cert(keyfile, certfile)
    File "/usr/lib/python2.6/site-packages/glance/common/utils.py", line 507, in validate_key_cert
      out = crypto.sign(key, data, digest)
  AttributeError: 'module' object has no attribute 'sign'

  
  Since OpenSSL.crypto.sign() is new in version 0.11, we have to update pyOpenSSL  requirement to pyOpenSSL>=0.11

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1268966/+subscriptions


References