yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01873
[Bug 1161704] Re: ImportError: No module named middleware.auth_token
auth_token has been moved from keystone.middleware.auth_token to
keystoneclient.middleware.auth_token
The docs you're referring to (2013.1 / grizzly?) appear to be ahead of
the version of keystone you're trying to install (2012.2 / folsom?).
** 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/1161704
Title:
ImportError: No module named middleware.auth_token
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
I followed the document "OpenStack Install and Deploy Manual" to install Keystone and Swift.
When I tried to start Swift proxy service with command "swift-init proxy start",
the error "ImportError: No module named middleware.auth_token" showed up.
After trapping in this issue a few days with several times do-over, I found out where the problem is.
It seems like the folder "middleware" in "/usr/lib/python2.7/dist-packages/keystoneclient/" is missing,
when use "apt-get install python-keystoneclient" to install the keystoneclient in Ubuntu.
I found the "middleware" folder in "/usr/lib/python2.7/dist-packages/keystone/".
After copy the the "middleware" folder from "/usr/lib/python2.7/dist-packages/keystone/" to "/usr/lib/python2.7/dist-packages/keystoneclient/", the Swift proxy service works find now.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1161704/+subscriptions