<div dir="ltr">Sujay,<div><br></div><div style>That means that memcached is still not running.</div><div style>You should probably adjust your /etc/memcached.conf file and get it running.</div><div style>Please refer to the memcached docs if you don't know where to start with that.</div>

<div style><br></div><div style>Daniele</div></div><div class="gmail_extra"><br clear="all"><div>Daniele</div>
<br><br><div class="gmail_quote">On 17 January 2013 11:12, Sujay M <span dir="ltr"><<a href="mailto:sujay.m17@gmail.com" target="_blank">sujay.m17@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><div><div>Hi Daniele,<br><br></div>Thanks for the reply. I tried to start memcached using<br><br></div>service memcached start<br><br></div>but even after doing this the ps -A | grep "memcached"  returns nothing and multiple tokens are generated <br>



</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 17 January 2013 16:33, Daniele Valeriani <span dir="ltr"><<a href="mailto:daniele@dvaleriani.net" target="_blank">daniele@dvaleriani.net</a>></span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Sujay,<div><br></div><div>If memcached isn't running the proxy server doesn't have a backend to store auth tokens (and the cache section in your config becomes vain). The proxy server then generates a new token for each new request.</div>





<div>This should be OK after memcached has started.</div><div><br></div><div>Daniele</div></div><div class="gmail_extra"><br clear="all"><div>Daniele</div>
<br><br><div class="gmail_quote"><div><div>On 17 January 2013 10:54, Sujay M <span dir="ltr"><<a href="mailto:sujay.m17@gmail.com" target="_blank">sujay.m17@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div>

<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><font color="#888888"><br></font></span></div><span><font color="#888888"><div><div><br><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>
</div></div></font></span></div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
<br></div></div>_______________________________________________<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" target="_blank">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><div class="im"><br><br clear="all"><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>
</div></div>
</blockquote></div><br></div>