swift http/1.1 401 unauthorized
Hi All
When I run this command curl -i -v -H 'X-Auth-Token: AUTH_a995798a5721451e81daaf695eec8eca' http://controllerip:8080/v1/AUTH_test
i get this output * Trying 109.233.54.212... * Connected to controllerip(109.233.54.212) port 8080 (#0)
GET /v1/AUTH_test HTTP/1.1 User-Agent: curl/7.35.0 Host: controllerip:8080 Accept: / X-Auth-Token: AUTH_a995798a5721451e81daaf695eec8eca
< HTTP/1.1 401 Unauthorized HTTP/1.1 401 Unauthorized < Content-Length: 131 Content-Length: 131 < Content-Type: text/html; charset=UTF-8 Content-Type: text/html; charset=UTF-8 < Www-Authenticate: Swift realm="AUTH_test" Www-Authenticate: Swift realm="AUTH_test" < X-Trans-Id: txfc2449276abe4e9aaa5a4-0054ae7778 X-Trans-Id: txfc2449276abe4e9aaa5a4-0054ae7778 < Date: Thu, 08 Jan 2015 12:26:32 GMT Date: Thu, 08 Jan 2015 12:26:32 GMT
Can some one assist me in correcting this command, how can i check the X-Auth token is correct any ideas greatly received
I have checked memcache using ps -ef | grep memc and it is running
Thanks
Which OS are you using to setup openstack. If its Redhat or centos then provide below output. systemctl status openstack-swift-proxy.service memcached.service
If its Ubuntu the below command service swift-proxy status service memcached status
Hi Thanks for the reply
I am using Ubuntu service swift-proxy status swift-proxy start/running service memcached status * memcached is running
I have checked the memcached
thanks