← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1277507] Re: "ImportError: No module named passlib.hash"

 

So, this has nothing to do with passlib... passlib just happens to be
the first-to-be-imported of many pypi packages that are not installed
due to:

>From a successful job: http://logs.openstack.org/36/62036/7/gate/gate-
tempest-dsvm-full/3549a1d/console.html

2014-02-07 03:20:01.340 | 2014-02-07 03:20:01 Downloading/unpacking ipaddr (from WSME>=0.5b6->keystone==2014.1.dev171.gc213d9e)
2014-02-07 03:20:01.340 | 2014-02-07 03:20:01   Downloading ipaddr-2.1.10.tar.gz
2014-02-07 03:20:01.341 | 2014-02-07 03:20:01   Storing download in cache at /var/cache/pip/http%3A%2F%2Fpypi.openstack.org%2Fopenstack%2Fipaddr%2Fipaddr-2.1.10.tar.gz
2014-02-07 03:20:01.341 | 2014-02-07 03:20:01   Running setup.py egg_info for package ipaddr

>From a failed job: http://logs.openstack.org/99/69799/9/gate/gate-
tempest-dsvm-full/ca0c1b3/console.html

2014-02-06 20:18:22.509 | 2014-02-06 20:18:22 Downloading/unpacking ipaddr (from WSME>=0.5b6->keystone==2014.1.dev169.g0ed6d48)
2014-02-06 20:18:22.510 | 2014-02-06 20:18:22   You are installing a potentially insecure and unverifiable file. Future versions of pip will default to disallowing insecure files.
2014-02-06 20:18:22.512 | 2014-02-06 20:18:22   HTTP error 403 while getting https://googledrive.com/host/0Bwh63zyus-UlZ1dxQ08zczVRbXc/ipaddr-2.1.11.tar.gz (from http://code.google.com/p/ipaddr-py/)
2014-02-06 20:18:22.513 | 2014-02-06 20:18:22   Could not install requirement ipaddr (from WSME>=0.5b6->keystone==2014.1.dev169.g0ed6d48) because of error HTTP Error 403: Forbidden
2014-02-06 20:18:22.514 | 2014-02-06 20:18:22 Cleaning up...
2014-02-06 20:18:22.516 | 2014-02-06 20:18:22 Could not install requirement ipaddr (from WSME>=0.5b6->keystone==2014.1.dev169.g0ed6d48) because of HTTP error HTTP Error 403: Forbidden for URL https://googledrive.com/host/0Bwh63zyus-UlZ1dxQ08zczVRbXc/ipaddr-2.1.11.tar.gz (from http://code.google.com/p/ipaddr-py/)
2014-02-06 20:18:22.517 | 2014-02-06 20:18:22 Storing complete log in /opt/stack/new/.pip/pip.log

** Also affects: openstack-ci
   Importance: Undecided
       Status: New

** Changed in: python-keystoneclient
       Status: New => Invalid

** Changed in: keystone
       Status: New => Invalid

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

Title:
  "ImportError: No module named passlib.hash"

Status in OpenStack Identity (Keystone):
  Invalid
Status in OpenStack Core Infrastructure:
  New
Status in Python client library for Keystone:
  Invalid

Bug description:
  Example from http://logs.openstack.org/99/69799/9/gate/gate-tempest-
  dsvm-full/ca0c1b3/console.html

  2014-02-06 20:20:45.531 | 2014-02-06 20:20:45   File "/opt/stack/new/keystone/bin/keystone-manage", line 37, in <module>
  2014-02-06 20:20:45.532 | 2014-02-06 20:20:45     from keystone import cli
  2014-02-06 20:20:45.534 | 2014-02-06 20:20:45   File "/opt/stack/new/keystone/keystone/cli.py", line 26, in <module>
  2014-02-06 20:20:45.535 | 2014-02-06 20:20:45     from keystone.common import openssl
  2014-02-06 20:20:45.537 | 2014-02-06 20:20:45   File "/opt/stack/new/keystone/keystone/common/openssl.py", line 21, in <module>
  2014-02-06 20:20:45.539 | 2014-02-06 20:20:45     from keystone.common import utils
  2014-02-06 20:20:45.540 | 2014-02-06 20:20:45   File "/opt/stack/new/keystone/keystone/common/utils.py", line 28, in <module>
  2014-02-06 20:20:45.543 | 2014-02-06 20:20:45     import passlib.hash
  2014-02-06 20:20:45.543 | 2014-02-06 20:20:45 ImportError: No module named passlib.hash
  2014-02-06 20:20:45.545 | 2014-02-06 20:20:45 + [[ PKI == \P\K\I ]]
  2014-02-06 20:20:45.571 | 2014-02-06 20:20:45 + rm -rf /etc/keystone/ssl
  2014-02-06 20:20:45.572 | 2014-02-06 20:20:45 + /opt/stack/new/keystone/bin/keystone-manage pki_setup
  2014-02-06 20:20:45.573 | 2014-02-06 20:20:45 Traceback (most recent call last):
  2014-02-06 20:20:45.573 | 2014-02-06 20:20:45   File "/opt/stack/new/keystone/bin/keystone-manage", line 37, in <module>
  2014-02-06 20:20:45.573 | 2014-02-06 20:20:45     from keystone import cli
  2014-02-06 20:20:45.574 | 2014-02-06 20:20:45   File "/opt/stack/new/keystone/keystone/cli.py", line 26, in <module>
  2014-02-06 20:20:45.574 | 2014-02-06 20:20:45     from keystone.common import openssl
  2014-02-06 20:20:45.574 | 2014-02-06 20:20:45   File "/opt/stack/new/keystone/keystone/common/openssl.py", line 21, in <module>
  2014-02-06 20:20:45.575 | 2014-02-06 20:20:45     from keystone.common import utils
  2014-02-06 20:20:45.577 | 2014-02-06 20:20:45   File "/opt/stack/new/keystone/keystone/common/utils.py", line 28, in <module>
  2014-02-06 20:20:45.577 | 2014-02-06 20:20:45     import passlib.hash
  2014-02-06 20:20:45.578 | 2014-02-06 20:20:45 ImportError: No module named passlib.hash

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


References