Auth GET failed: 500 Internal Server Error

2k views Asked by At

i have problem with swift..when i execute swift -V 2.0 -A http://xxx.xxx.x.xx:5000/v2.0/ -U cookbook:demo -K openstack stat

and then this is output

Auth GET failed: http://xxx.xxx.x.xx:5000/v2.0/tokens 500 Internal Server Error

any solution for me? :)

1

There are 1 answers

0
Liguo On

I hit this error while execute 'swift list'. Error: Account GET failed ... 503 Internal Server Error (first 60 chars of response)...

On swift storage node, check log '/var/log/swift/account-server.log', and get a piece of error message:[Errno 13] Permission denied '/srv/node/sdb1/accounts'

According to the error message, I found the root cause is that, on swift storage node, the swift user doesn't have permission on directory '/srv/node/'. Grant permission with CMD: chown -R swift:swift /srv/node And the problem is solved. Hope this helpful.