← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1268966] [NEW] glance requires pyOpenSSL>=0.11

 

Public bug reported:

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

** Affects: glance
     Importance: Undecided
     Assignee: Dmitry Kulishenko (dmitryk-g)
         Status: In Progress

** Changed in: glance
     Assignee: (unassigned) => Dmitry Kulishenko (dmitryk-g)

** Changed in: glance
       Status: New => In Progress

-- 
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):
  In Progress

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


Follow ups

References