[Openstack] 401 unauthorized swift authentication

Shrinand Javadekar shrinand at maginatics.com
Wed Apr 16 20:40:19 UTC 2014


Can you make sure that memcached is running on your machine? If not,
make sure you install and run it.

Also, I believe it is required that memcached be started first before
starting swift. You might have to do:

$ sudo service memcached stop
$ swift-init all stop
$ sudo service memcached start
$ swift-init all start

Hope that helps...
-Shri


On Wed, Apr 16, 2014 at 5:50 AM, Mayur Patil <ram.nath241089 at gmail.com> wrote:
> Hi Kuo,
>
> This what I got from /var/log/syslog
>
> computenode  proxy-server STDOUT: ERROR:root:Error connecting to memcached:
> 127.0.0.1:11211#012Traceback (most recent call last):#012  File
> "/usr/lib/python2.7/dist-packages/swift/common/memcached.py", line 208, in
> _get_conns#012    fp, sock = self._client_cache[server].get()#012  File
> "/usr/lib/python2.7/dist-packages/swift/common/memcached.py", line 126, in
> get#012    fp, sock = self.create()#012  File
> "/usr/lib/python2.7/dist-packages/swift/common/memcached.py", line 119, in
> create#012    sock.connect((host, int(port)))#012  File
> "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 194, in
> connect#012    socket_checkerr(fd)#012  File
> "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 46, in
> socket_checkerr#012    raise socket.error(err,
> errno.errorcode[err])#012error: [Errno 111] ECONNREFUSED (txn:
> tx4238af7ef0174fd78ef75-00534e7a1f) (client_ip: 172.114.25.2)
>
>
>
>
>> Hi All,
>>>
>>>
>>>      I am experimenting to install swift on single machine.
>>>
>>>      I am following this guide :
>>> http://docs.openstack.org/havana/install-guide/install/apt/content/general-installation-steps-swift.html
>>>
>>>     What I have done is:
>>>
>>>     1. Created keystone endpoint using proxy-server IP i.e. machine on
>>> which I am
>>>
>>>         installing all the swift services, for ex, 172.114.25.2.
>>>
>>>     2. Created Storage and proxy nodes as said in the guide.
>>>
>>>    then why I am getting the error ?
>>>
>>>  thanks!!
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>




More information about the Openstack mailing list