Ask Your Question

pkg_resources.DistributionNotFound: keystone

asked 2011-10-04 10:46:26 -0500

tonytkdk gravatar image

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 @


edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2011-10-18 17:00:31 -0500

tonytkdk gravatar image

Thanks Dennis DeMarco, that solved my question.

edit flag offensive delete link more

answered 2011-10-11 08:20:55 -0500

sunny790821 gravatar image

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

edit flag offensive delete link more

answered 2011-10-10 19:17:24 -0500

dennis-demarco gravatar image

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
edit flag offensive delete link more

answered 2011-10-14 07:56:22 -0500

tonytkdk gravatar image

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 ?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-10-04 10:46:26 -0500

Seen: 105 times

Last updated: Oct 18 '11