[Openstack-operators] swauth 1.0.3 user create and access problem?

Judd Maltin openstack at newgoliath.com
Mon Dec 5 18:56:28 UTC 2011


I create my user test1:tester1 testing1 using the swauth tools just fine.

root at proxy01-c01:/etc/swift# swauth-list -K swauthkey
{"accounts": [{"name": "test1"}]}
root at proxy01-c01:/etc/swift# swauth-list -K swauthkey test1
{"services": {"storage": {"default": "local", "local": "
http://127.0.0.1:8080/v1/AUTH_840f1320-2d45-4e62-92a5-71e448190c74"}},
"account_id": "AUTH_840f1320-2d45-4e62-92a5-71e448190c74", "users":
[{"name": "tester1"}]}
root at proxy01-c01:/etc/swift#

But then when I try to stat the account: :(

/etc/swift# swift -A http://127.0.0.1:8080/auth/v1.0 -U test1:tester1 -K
'testing1' stat -v
Account HEAD failed:
http://127.0.0.1:8080/v1/AUTH_840f1320-2d45-4e62-92a5-71e448190c74 403 *
Forbidden*

/var/log/syslog:

Dec  5 13:45:30 proxy01-c01 proxy-server - - 05/Dec/2011/18/45/30 GET
/v1/AUTH_.auth/test1/tester1 HTTP/1.0 200 - Swauth - - - -
txb6f5ac66b1134c31814f1daf4192548b - 0.0440
Dec  5 13:45:30 proxy01-c01 proxy-server - - 05/Dec/2011/18/45/30 GET
/v1/AUTH_.auth/.token_2/AUTH_tk01423b7c65fc463394cf8ca3de8fef52 HTTP/1.0
200 - Swauth - - - - txc70046f612ce4baca788ee49b20fba63 - 0.0291
Dec  5 13:45:30 proxy01-c01 proxy-server - - 05/Dec/2011/18/45/30 GET
/v1/AUTH_.auth/test1/.services HTTP/1.0 200 - Swauth - - - -
tx0547130a2c444252a21a868785f68ebd - 0.0308
Dec  5 13:45:30 proxy01-c01 swauth - 127.0.0.1 05/Dec/2011/18/45/30 GET
/auth/v1.0 HTTP/1.0 200 - - - - - - - - 0.1095
Dec  5 13:45:30 proxy01-c01 proxy-server 127.0.0.1 127.0.0.1
05/Dec/2011/18/45/30 HEAD /v1/AUTH_840f1320-2d45-4e62-92a5-71e448190c74
HTTP/1.0 403 - - test1%3Atester1%2CAUTH_tk01423b7c65fc463394cf8ca3de8fef52
- - - tx116c0dc81110402fa4f106feebe3c121 - 0.0006

I'm using swift 1.4.4, swauth 1.0.3

proxy-server.conf:
[pipeline:main]
pipeline = swift3 catch_errors healthcheck cache swauth proxy-server

...

[filter:swauth]
use = egg:swauth#swauth
set default_swift_cluster = local#
http://127.0.0.1:8080/v1#http://127.0.0.1:8080/v1
set log_name = swauth
super_admin_key = swauthkey


Any ideas whats going on here?

Thanks,
-judd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20111205/63120bd7/attachment-0002.html>


More information about the Openstack-operators mailing list