← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1578047] Re: missing python library pycrypto in requireements.txt

 

Reviewed:  https://review.openstack.org/313002
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=82b525f1fa3d279bc2558a941067d0f02b60fac2
Submitter: Jenkins
Branch:    master

commit 82b525f1fa3d279bc2558a941067d0f02b60fac2
Author: Davanum Srinivas <davanum@xxxxxxxxx>
Date:   Thu May 5 10:29:03 2016 -0400

    Add pycrypto explicitly
    
    Running "tox -e pip-missing-reqs" was broken around the
    time of the Mitaka release and we missed this requirement.
    
    nova/crypto.py:29 dist=pycrypto module=Crypto.PublicKey.RSA
    
    Essentially, since we are constrained using upper-constraints.txt
    and the upper-constraints.txt has an entry for pycrypto, we
    do not see a problem anywhere.
    
    The dependency was introduced in:
    If88beeb3983705621fe736995939ac20b2daf1f3
    
    Closes-Bug: #1578047
    Change-Id: I12978a6ca49524aa2256930617a259023e6908eb


** Changed in: nova
       Status: In Progress => 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/1578047

Title:
  missing python library pycrypto in requireements.txt

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When I tried to install a nova-compute the way which is using python source,
  you would meet following log.

  It needs to be pycrypto in requirements.txt file.

  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova     sys.exit(main())
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova   File "/opt/stack/nova/nova/cmd/compute.py", line 73, in main
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova     db_allowed=CONF.conductor.use_local)
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova   File "/opt/stack/nova/nova/service.py", line 225, in create
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova     db_allowed=db_allowed)
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova   File "/opt/stack/nova/nova/service.py", line 101, in __init__
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova     manager_class = importutils.import_class(self.manager_class_name)
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 30, in import_clas
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova     __import__(mod_str)
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova   File "/opt/stack/nova/nova/compute/manager.py", line 56, in <module>
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova     from nova.cloudpipe import pipelib
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova   File "/opt/stack/nova/nova/cloudpipe/pipelib.py", line 33, in <module>
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova     from nova import crypto
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova   File "/opt/stack/nova/nova/crypto.py", line 29, in <module>
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova     from Crypto.PublicKey import RSA
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova ImportError: No module named Crypto.PublicKey
  May 04 11:39:04 compute01 nova-compute[6270]: 2016-05-04 11:39:04.822 6270 ERROR nova

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


References