[openstack-dev] [swift] temp auth tokens expire immediately

Snider, Tim Tim.Snider at netapp.com
Thu Aug 22 02:10:58 UTC 2013


Ok - in /etc/memcache.conf IP to listen on needs to be 0.0.0.0 not the actual node IP address.
# IP to listen on
-l 0.0.0.0

Thx.
From: Snider, Tim
Sent: Wednesday, August 21, 2013 5:08 PM
To: openstack-dev at lists.openstack.org
Subject: [swift] temp auth tokens expire immediately

I've reconfigured  my swift cluster and restarted memcache service on all the swift nodes.  Now I have temp auth tokens expiring immeadiately.
I've checked memcache server lines in /etc/swift/proxy-service.conf - those seem to be sane. What am I missing?


root at controller11:~/ssbench-0.2.16#<mailto:root at controller11:~/ssbench-0.2.16#> curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://192.168.10.68:8080/auth/v1.0
* About to connect() to 192.168.10.68 port 8080 (#0)
*   Trying 192.168.10.68... connected
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 192.168.10.68:8080
> Accept: */*
> X-Storage-User: test:tester
> X-Storage-Pass: testing
>
< HTTP/1.1 200 OK
< X-Storage-Url: http://192.168.10.88:8080/v1/AUTH_test
< X-Storage-Token: AUTH_tk768c95e7330f46efa88d82787a34e9e4
< X-Auth-Token: AUTH_tk768c95e7330f46efa88d82787a34e9e4
< X-Trans-Id: tx450df531523b450eaa966b3365250f80
< Content-Length: 0
< Date: Wed, 21 Aug 2013 22:00:38 GMT
<
* Connection #0 to host 192.168.10.68 left intact
* Closing connection #0
root at controller11:~/ssbench-0.2.16#<mailto:root at controller11:~/ssbench-0.2.16#> curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://192.168.10.68:8080/auth/v1.0
* About to connect() to 192.168.10.68 port 8080 (#0)
*   Trying 192.168.10.68... connected
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 192.168.10.68:8080
> Accept: */*
> X-Storage-User: test:tester
> X-Storage-Pass: testing
>
< HTTP/1.1 200 OK
< X-Storage-Url: http://192.168.10.87:8080/v1/AUTH_test
< X-Storage-Token: AUTH_tk21ef1ade731e462e91d8d6d3a1d8cbbe
< X-Auth-Token: AUTH_tk21ef1ade731e462e91d8d6d3a1d8cbbe
< X-Trans-Id: txe513acba005f42d298eb7c563bb1e6a3
< Content-Length: 0
< Date: Wed, 21 Aug 2013 22:00:39 GMT
<
* Connection #0 to host 192.168.10.68 left intact
* Closing connection #0
root at controller11:~/ssbench-0.2.16#<mailto:root at controller11:~/ssbench-0.2.16#> curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://192.168.10.68:8080/auth/v1.0
* About to connect() to 192.168.10.68 port 8080 (#0)
*   Trying 192.168.10.68... connected
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 192.168.10.68:8080
> Accept: */*
> X-Storage-User: test:tester
> X-Storage-Pass: testing
>
< HTTP/1.1 200 OK
< X-Storage-Url: http://192.168.10.88:8080/v1/AUTH_test
< X-Storage-Token: AUTH_tkf433982fff3d484591826d1a02e54f7c
< X-Auth-Token: AUTH_tkf433982fff3d484591826d1a02e54f7c
< X-Trans-Id: txc009e567a213466a9de01ab14004c053
< Content-Length: 0
< Date: Wed, 21 Aug 2013 22:00:41 GMT
<
* Connection #0 to host 192.168.10.68 left intact
* Closing connection #0
root at controller11:~/ssbench-0.2.16#<mailto:root at controller11:~/ssbench-0.2.16#>

Thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130822/4a236178/attachment.html>


More information about the OpenStack-dev mailing list