pkg_resources.DistributionNotFound: keystone

Asked by Hugo Kou

While using keystone as auth server on SWIFT 1.4.4

Test with tempauth first , and everything is fine ...

While I change auth server to keystone , there's a issue during start swift proxy-server

Trace error
pkg_resources.DistributionNotFound: keystone

python-pkg-resources version is 0.6.15(Ubuntu Natty)

Swift's proxy-server.conf

Keystone server is isolated from other services @


Question information

English Edit question
OpenStack Object Storage (swift) Edit question
No assignee Edit question
Solved by:
Dennis DeMarco
Last query:
Last reply:
Revision history for this message
Best Dennis DeMarco (dennis-demarco) said :

I had the same issue when I tried to install keystone on its own server. Install keystone on the swift-proxy-server will add the needed package resources. Even if you have no intention of running keystone on the proxy-server, there is a python library it needs to interface with it.

Let me know if that works. I am currently doing the same and I have got past this issue doing this.

- Dennis

Revision history for this message
sunhee Park (sunny790821) said :

After installing keystone on the same server which was installed swift-proxy, that error doesn't show.
But is this the only way?

Revision history for this message
Hugo Kou (tonytkdk) said :

I think it's the fastest way ....

Thanks for your help ...

I'm facing another issue .....while auth by keystone for swift .... got 401 unauthorized
with same keystone for Nova , everything is working well ....

I guess that I miss something in the swift command...

My cmd is

swift -A -U admin:admin -K adminpass stat

Am I wrong ?

Revision history for this message
Hugo Kou (tonytkdk) said :

Thanks Dennis DeMarco, that solved my question.