<div dir="ltr">Hello Sujay , <div><br></div><div style>That should be the problem on memcached . </div><div style><br></div><div style>Would you please check the status of memcached ? </div><div style>1. grep it from ps command </div>
<div style>2. Restart it to check it the token been fixed again</div><div style>3. If the result is still fail , please check the configuration of memcached.conf under /etc/ , make sure the port is bind to correct ip</div>
<div style>4. you can telnet into memcached to check the contents in current memcache</div><div style><br></div><div style><br></div><div style>In your information , seems memcached is not in running status. Please fire it up first.</div>
<div style><br></div><div style>Cheers</div><div style>Hugo Kuo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/17 Sujay M <span dir="ltr"><<a href="mailto:sujay.m17@gmail.com" target="_blank">sujay.m17@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><div><span style="color:rgb(68,68,68)"><font color="#000000">Hi all,<br>
<br>I have set up a proxy server on 10.0.2.15 and 4 storage nodes on 10.0.2.16-19<br></font></span></div>


<span style="color:rgb(68,68,68)"><font color="#000000"><br>
My proxy-server configuration file<br></font></span><div><span style="color:rgb(68,68,68)"><br>root@ubuntu:~# /etc/swift/proxy-server.conf [DEFAULT]<br>bind_port = 8080<br>user = ug26<br>workers = 8<br><br>[pipeline:main]<br>




pipeline = healthcheck cache tempauth proxy-server<br><br>[app:proxy-server]<br>use = egg:swift#proxy<br>allow_account_management = true<br>account_autocreate = true<br><br>[filter:tempauth]<br>use = egg:swift#tempauth<br>




user_admin_admin = admin .admin .reseller_admin<br>user_test_tester = testing .admin<br>user_test2_tester2 = testing2 .admin<br>user_test_tester3 = testing3<br><br>[filter:healthcheck]<br>use = egg:swift#healthcheck<br><br>




[filter:cache]<br>use = egg:swift#memcache<br></span><br><br>I am getting a different auth token each time i try to get an auth url<br><br><span style="color:rgb(68,68,68)">root@ubuntu:~# curl -k -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' <a href="http://10.0.2.15:8080/auth/v1.0" target="_blank">http://10.0.2.15:8080/auth/v1.0</a><br>




* About to connect() to 10.0.2.15 port 8080 (#0)<br>*   Trying 10.0.2.15... connected<br>> GET /auth/v1.0 HTTP/1.1<br>> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/<a href="http://1.2.3.4" target="_blank">1.2.3.4</a> libidn/1.23 librtmp/2.3<br>




> Host: <a href="http://10.0.2.15:8080" target="_blank">10.0.2.15:8080</a><br>> Accept: */*<br>> X-Storage-User: test:tester<br>> X-Storage-Pass: testing<br>> <br>< HTTP/1.1 200 OK<br>< X-Storage-Url: <a href="http://127.0.0.1:8080/v1/AUTH_test" target="_blank">http://127.0.0.1:8080/v1/AUTH_test</a><br>




< X-Storage-Token: AUTH_tkf673fe7a7fc5428398c53bc633f5ff5e<br>< X-Auth-Token: AUTH_tkf673fe7a7fc5428398c53bc633f5ff5e<br>< Content-Length: 0<br>< Date: Thu, 17 Jan 2013 10:44:03 GMT<br>< <br>* Connection #0 to host 10.0.2.15 left intact<br>




* Closing connection #0<br>root@ubuntu:~# curl -k -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' <a href="http://10.0.2.15:8080/auth/v1.0" target="_blank">http://10.0.2.15:8080/auth/v1.0</a><br>



* About to connect() to 10.0.2.15 port 8080 (#0)<br>
*   Trying 10.0.2.15... connected<br>> GET /auth/v1.0 HTTP/1.1<br>> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/<a href="http://1.2.3.4" target="_blank">1.2.3.4</a> libidn/1.23 librtmp/2.3<br>



> Host: <a href="http://10.0.2.15:8080" target="_blank">10.0.2.15:8080</a><br>
> Accept: */*<br>> X-Storage-User: test:tester<br>> X-Storage-Pass: testing<br>> <br>< HTTP/1.1 200 OK<br>< X-Storage-Url: <a href="http://127.0.0.1:8080/v1/AUTH_test" target="_blank">http://127.0.0.1:8080/v1/AUTH_test</a><br>




< X-Storage-Token: AUTH_tke4fec7d8413d46df9eb867064e07ac83<br>< X-Auth-Token: AUTH_tke4fec7d8413d46df9eb867064e07ac83<br>< Content-Length: 0<br>< Date: Thu, 17 Jan 2013 10:44:06 GMT<br>< <br>* Connection #0 to host 10.0.2.15 left intact<br>




* Closing connection #0<br><br><br></span></div><div><span style="color:rgb(68,68,68)"><font color="#000000">I am alos unable to GEt an account</font><br></span></div><div><span style="color:rgb(68,68,68)">root@ubuntu:~# curl -k -v -H 'X-Auth-Token: AUTH_</span><span style="color:rgb(68,68,68)"><span style="color:rgb(68,68,68)">tke4fec7d8413d46df9eb867064e07ac83</span>' <a href="http://10.0.2.15:8080/v1/AUTH_test" target="_blank">http://10.0.2.15:8080/v1/AUTH_test</a> <br>




* About to connect() to 10.0.2.15 port 8080 (#0)<br>*   Trying 10.0.2.15... connected<br>> GET /v1/AUTH_test HTTP/1.1<br>> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/<a href="http://1.2.3.4" target="_blank">1.2.3.4</a> libidn/1.23 librtmp/2.3<br>




> Host: <a href="http://10.0.2.15:8080" target="_blank">10.0.2.15:8080</a><br>> Accept: */*<br>> X-Auth-Token: AUTH_</span><span style="color:rgb(68,68,68)"><span style="color:rgb(68,68,68)">tke4fec7d8413d46df9eb867064e07ac83</span><br>




> <br>< HTTP/1.1 401 Unauthorized<br>< Content-Length: 358<br>< Content-Type: text/html; charset=UTF-8<br>< Date: Thu, 17 Jan 2013 10:44:09 GMT<br>< <br><html><br> <head><br>  <title>401 Unauthorized</title><br>




 </head><br> <body><br>  <h1>401 Unauthorized</h1><br> 
 This server could not verify that you are authorized to access the 
document you requested. Either you supplied the wrong credentials (e.g.,
 bad password), or your browser does not understand how to supply the 
credentials required.<br /><br /><br>
<br><br><br> </body><br>* Connection #0 to host 10.0.2.15 left intact<br>* Closing connection #0<br></span><br></div><div>Also if i do<br><br>ps -A | grep "memcached"  it is no returning anything. I think its a problem with memcached.<br>




<br>please help me. Thanks in advance.<span class="HOEnZb"><font color="#888888"><span><font color="#888888"><br></font></span></font></span></div><span class="HOEnZb"><font color="#888888"><span><font color="#888888"><div>
<div><br></div></div></font></span></font></span></div></div><span class="HOEnZb"><font color="#888888"><br>-- <br><div dir="ltr">Best Regards,<br>
<br>Sujay M<br>Final year B.Tech<br>Computer Engineering<br>NITK Surathkal<br><br>contact: <a href="tel:%2B918971897571" value="+918971897571" target="_blank">+918971897571</a><br></div>
</font></span></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>+Hugo Kuo+</div><div><a href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com<br></a></div><div><a href="mailto:tonytkdk@gmail.com" target="_blank">+</a>886 935004793</div>

</div>