You have been subscribed to a public bug: 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. ** Affects: python-keystoneclient (Ubuntu) Importance: Undecided Status: Invalid -- ImportError: No module named middleware.auth_token https://bugs.launchpad.net/bugs/1161704 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to python-keystoneclient in Ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs