Auth GET failed: http://10.103.0.6:5000/tokens 300 Multiple Choices

Asked by Hugo Kou

Hello folks ,

I got a odd issue with keystone Essex-3 .

Description :
I used to authorize user via keystone for swift .
I'm testing Keystone Essex-3 + Swift 1.4.6 integration.

For legacy_auth_method of swift client ( aka. v1.0) , They work happy.
But once I try to authorize by v2.0 . It came with an issue as follow.

 swift -A http://10.103.0.6:5000/v1.0 -U cloudena -K cloudena stat -v
StorageURL: http://10.103.1.219:8082/v1/AUTH_478a69abb1d74d2ca77116d67a0c88fd
Auth Token: 3392a666-5306-488e-9d67-ceb2bebf5ae2
   Account: AUTH_478a69abb1d74d2ca77116d67a0c88fd
Containers: 0
   Objects: 0
     Bytes: 0
Accept-Ranges: bytes
root@HKeystone3:/etc/swift# swift -A http://10.103.0.6:5000/v2.0 -V 2.0 -U cloudena -K cloudena stat -v
Auth GET failed: http://10.103.0.6:5000/tokens 300 Multiple Choices
root@HKeystone3:/etc/swift# 300 Multiple ChoicesAuth GET failed: http://10.103.0.6:5000/tokens 300 Multiple Choices

thanks

Question information

Language:
Chinese (Simplified) Edit question
Status:
Solved
For:
OpenStack Identity (keystone) Edit question
Assignee:
No assignee Edit question
Solved by:
Joseph Heck
Solved:
Last query:
Last reply:
Revision history for this message
Hugo Kou (tonytkdk) said :
#1

Does anyone face same issue around ?

Revision history for this message
Best Joseph Heck (heckj) said :
#2

Hugo,

Please update to the Essex-4 release - the code has dramatically changed since Essex-3, making support of that release quite difficult and somewhat irrelevant as we move forward.

-joe

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

Thanks Joseph Heck, that solved my question.

Revision history for this message
jiji (zzww-666) said :
#4

Hugo,
   hi ,I am the same problem and you:
  “Auth GET failed: 5000/tokens 300 Multiple Choices”
  I would like to ask you is how to solve it ?

  Thanks ~

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

 swift -A http://10.103.0.6:5000/v2.0 -V 2.0 -U cloudena -K cloudena stat -v

That's a bug that has been corrected in latest bin/swift client add a
slash at the end of v2.0

so it will work with

 swift -A http://10.103.0.6:5000/v2.0/ -V 2.0 -U tenent:user -K secret stat -v