Ask Your Question
1

No package python-keystone-auth-token available

asked 2015-01-01 10:47:14 -0500

bala2014 gravatar image

Refer page: http://docs.openstack.org/juno/install-guide/install/yum/content/swift-install-controller-node.html (http://docs.openstack.org/juno/instal...)

The command: yum install openstack-swift-proxy python-swiftclient python-keystone-auth-token python-keystonemiddleware memcached installs other packages except python-keystone-auth-token. It reports: No package python-keystone-auth-token available.

Since this package is not installed, the proxy-server Authentication is failing.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-01-05 07:17:10 -0500

Bipin gravatar image

Install the following package

python-keystoneclient

It will be fine after that.

edit flag offensive delete link more
0

answered 2015-01-03 02:35:23 -0500

If you look at the same guide but for Ubuntu:

apt-get install swift swift-proxy python-swiftclient python-keystoneclient  python-keystonemiddleware memcached

You will see that it looks like the docs for yum based install has an error.

Just replace python-keystone-auth-token with python-keystoneclient and you should be good to go.

edit flag offensive delete link more

Comments

Thanks for pointing this out. I will check and update.

bala2014 gravatar imagebala2014 ( 2015-01-03 09:39:59 -0500 )edit
0

answered 2015-01-05 04:10:52 -0500

bala2014 gravatar image

I was trying to configure Swift Controller/ Storage nodes on the same VM. I configured Controllder node as described in : http://docs.openstack.org/juno/instal... . When I was running > swift stat , it was reporting the following error: Traceback (most recent call last): File "/usr/bin/swift", line 10, in sys.exit(main()) File "/usr/lib/python2.7/site-packages/swiftclient/shell.py", line 1287, in main globals()'st_%s' % args[0] File "/usr/lib/python2.7/site-packages/swiftclient/shell.py", line 492, in st_stat stat_result = swift.stat() File "/usr/lib/python2.7/site-packages/swiftclient/service.py", line 443, in stat raise SwiftError('Account not found', exc=err) swiftclient.service.SwiftError: 'Account not found'

So I suspected it could be due to python-keystone-auth-token. Further browsing through various questions in this page helped me in solving the issue: The issue was the pipeline setting in the proxy-server.conf. The above document state that : pipeline = authtoken cache healthcheck keystoneauth proxy-logging proxy-server

But response to similar problem was found in : https://ask.openstack.org/en/question... and I modified as : pipeline = catch_errors healthcheck cache authtoken proxy-server. and restarted the proxy-server. The > swift stat started working.

Thanks to community and contributors.

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

Stats

Asked: 2015-01-01 10:47:14 -0500

Seen: 1,429 times

Last updated: Jan 05 '15