Ask Your Question
0

When I use swift to perform a HEAD, I am getting 401 Unauthorized.

asked 2013-08-01 12:52:36 -0500

osyahoo2013 gravatar image

updated 2014-08-19 12:48:03 -0500

briancline gravatar image

I am using tempauth on my proxy-server.conf and below is the config.

[filter:tempauth]
use = egg:swift#tempauth
user_admin_admin = admin .admin .reseller_admin
user_test_tester = testing .admin

command:
<swift -v -A http://ipaddress:8080/auth/v1.0 -U admin:admin -K admin stat> 

Respond:
<Account HEAD failed: http://ipaddress:8080/v1/AUTH_admin 401 Unauthorized>

am i missing something?

Thanks, Jimmy

edit retag flag offensive close merge delete

Comments

Jimmy, I don't have a specific answer for this question right now, however, this issue appears to be related, and the OP mentioned he resolved the issue, but hasn't yet responded with how he did so: https://ask.openstack.org/question/1941/swift-error-unable-to-retrieve-container-list/

nosluoc gravatar imagenosluoc ( 2013-08-01 13:12:04 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-08-01 17:10:03 -0500

clayg gravatar image

The formatting there is a little weird.

Only think I can think of that would exhibit that behavior is memcached not running:

http://docs.openstack.org/developer/swift/development_saio.html#starting-memcached

edit flag offensive delete link more
0

answered 2013-09-11 15:50:30 -0500

I am the Keystone core dev that wrote the PKI token code. I wrote up a troubleshooting guide here: http://adam.younglogic.com/2013/07/troubleshooting-pki-middleware/

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

Stats

Asked: 2013-08-01 12:52:36 -0500

Seen: 1,916 times

Last updated: Feb 10 '14