Hello Sujay , That should be the problem on memcached .
Would you please check the status of memcached ? 1. grep it from ps command 2. Restart it to check it the token been fixed again 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 4. you can telnet into memcached to check the contents in current memcache In your information , seems memcached is not in running status. Please fire it up first. Cheers Hugo Kuo 2013/1/17 Sujay M <sujay....@gmail.com> > > Hi all, > > I have set up a proxy server on 10.0.2.15 and 4 storage nodes on > 10.0.2.16-19 > > My proxy-server configuration file > > root@ubuntu:~# /etc/swift/proxy-server.conf [DEFAULT] > bind_port = 8080 > user = ug26 > workers = 8 > > [pipeline:main] > pipeline = healthcheck cache tempauth proxy-server > > [app:proxy-server] > use = egg:swift#proxy > allow_account_management = true > account_autocreate = true > > [filter:tempauth] > use = egg:swift#tempauth > user_admin_admin = admin .admin .reseller_admin > user_test_tester = testing .admin > user_test2_tester2 = testing2 .admin > user_test_tester3 = testing3 > > [filter:healthcheck] > use = egg:swift#healthcheck > > [filter:cache] > use = egg:swift#memcache > > > I am getting a different auth token each time i try to get an auth url > > root@ubuntu:~# curl -k -v -H 'X-Storage-User: test:tester' -H > 'X-Storage-Pass: testing' http://10.0.2.15:8080/auth/v1.0 > * About to connect() to 10.0.2.15 port 8080 (#0) > * Trying 10.0.2.15... 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: 10.0.2.15:8080 > > Accept: */* > > X-Storage-User: test:tester > > X-Storage-Pass: testing > > > < HTTP/1.1 200 OK > < X-Storage-Url: http://127.0.0.1:8080/v1/AUTH_test > < X-Storage-Token: AUTH_tkf673fe7a7fc5428398c53bc633f5ff5e > < X-Auth-Token: AUTH_tkf673fe7a7fc5428398c53bc633f5ff5e > < Content-Length: 0 > < Date: Thu, 17 Jan 2013 10:44:03 GMT > < > * Connection #0 to host 10.0.2.15 left intact > * Closing connection #0 > root@ubuntu:~# curl -k -v -H 'X-Storage-User: test:tester' -H > 'X-Storage-Pass: testing' http://10.0.2.15:8080/auth/v1.0 > * About to connect() to 10.0.2.15 port 8080 (#0) > * Trying 10.0.2.15... 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: 10.0.2.15:8080 > > Accept: */* > > X-Storage-User: test:tester > > X-Storage-Pass: testing > > > < HTTP/1.1 200 OK > < X-Storage-Url: http://127.0.0.1:8080/v1/AUTH_test > < X-Storage-Token: AUTH_tke4fec7d8413d46df9eb867064e07ac83 > < X-Auth-Token: AUTH_tke4fec7d8413d46df9eb867064e07ac83 > < Content-Length: 0 > < Date: Thu, 17 Jan 2013 10:44:06 GMT > < > * Connection #0 to host 10.0.2.15 left intact > * Closing connection #0 > > > I am alos unable to GEt an account > root@ubuntu:~# curl -k -v -H 'X-Auth-Token: AUTH_ > tke4fec7d8413d46df9eb867064e07ac83' http://10.0.2.15:8080/v1/AUTH_test > * About to connect() to 10.0.2.15 port 8080 (#0) > * Trying 10.0.2.15... connected > > GET /v1/AUTH_test 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: 10.0.2.15:8080 > > Accept: */* > > X-Auth-Token: AUTH_tke4fec7d8413d46df9eb867064e07ac83 > > > < HTTP/1.1 401 Unauthorized > < Content-Length: 358 > < Content-Type: text/html; charset=UTF-8 > < Date: Thu, 17 Jan 2013 10:44:09 GMT > < > <html> > <head> > <title>401 Unauthorized</title> > </head> > <body> > <h1>401 Unauthorized</h1> > 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 /> > > > > </body> > * Connection #0 to host 10.0.2.15 left intact > * Closing connection #0 > > Also if i do > > ps -A | grep "memcached" it is no returning anything. I think its a > problem with memcached. > > please help me. Thanks in advance. > > > -- > Best Regards, > > Sujay M > Final year B.Tech > Computer Engineering > NITK Surathkal > > contact: +918971897571 > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > > -- +Hugo Kuo+ tonyt...@gmail.com + <tonyt...@gmail.com>886 935004793
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp