swift works with OS_AUTH_URL but not '-A'
I am trying to set up a simple openstack swift + keystone environment. I can get it to work if I define OS_AUTH_URL, but when I instead specify -A and the same url I used in the environment variable I get "
Auth GET failed: http://localhost:5000/v2.0/ 200 OK
for example:
[jas@psfcstor1 swift]$ echo $OS_AUTH_URL http://psfcstor1:5000/v2.0 [jas@psfcstor1 swift]$ swift -U demo:admin -K xxxx list josh nthoward unique
the same thing -A
[jas@psfcstor1 swift]$ unset OS_AUTH_URL
[jas@psfcstor1 swift]$ swift -A http://psfcstor1:5000/v2.0 -U demo:admin -K xxxx list
Auth GET failed: http://psfcstor1:5000/v2.0/ 200 OK
I thought these should be equivalent ....