ImportError: No module named middleware.auth_token
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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.
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/
when use "apt-get install python-
I found the "middleware" folder in "/usr/lib/
After copy the the "middleware" folder from "/usr/lib/
Changed in python-keystoneclient (Ubuntu): | |
status: | Confirmed → Fix Released |
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?).