container-reconciler need memcache in storage node

Bug #1464939 reported by Haifeng.Yan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Expired
Low
Unassigned

Bug Description

when I tail log, it seems that swift-container-reconciler need memcache.

Jun 14 09:55:17 compute-1 container-reconciler: 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 239, in _get_conns#012 fp, sock = self._client_cache[server].get()#012 File "/usr/lib/python2.7/dist-packages/swift/common/memcached.py", line 135, in get#012 fp, sock = self.create()#012 File "/usr/lib/python2.7/dist-packages/swift/common/memcached.py", line 128, in create#012 sock.connect((host, int(port)))#012 File "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 239, in connect#012 socket_checkerr(fd)#012 File "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 43, in socket_checkerr#012 raise socket.error(err, errno.errorcode[err])#012error: [Errno 111] ECONNREFUSED (txn: tx730c3a1f9f914a0199cbd-00557cdf05)

Tags: swift
Revision history for this message
Matthew Oliver (matt-0) wrote :

This is due to the fact that the container reconciler uses the swift InternalClient to communicate inside the cluster, which uses a proxy server. If you look at your container-reconciler.conf you'll see it uses the proxy and has the cache in the pipeline. So by default yes it does use memcache.

If you don't want to use it, you can remove it from the pipeline. Or if you have a bunch of memcache servers your are already using, define them in /etc/swift/memcache.conf and drop this file on all servers that needs memcache hosts defined.

Revision history for this message
Haifeng.Yan (yanheven) wrote :

So we should edit the manuals, add a step to install memcache in storage node or remove it from pipeline in the default configure file to avoid this error.

no longer affects: swift
Revision history for this message
Lana (loquacity) wrote :
Changed in openstack-manuals:
status: New → Confirmed
Chason Chan (chen-xing)
Changed in openstack-manuals:
assignee: nobody → Xing Chen (chen-xing)
Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

Haifeng,

Could you please let me know what instructions you were following to reach this result?

Thank you,

Alex

tags: added: swift
Changed in openstack-manuals:
assignee: Chason (chen-xing) → nobody
status: Confirmed → Incomplete
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openstack-manuals because there has been no activity for 60 days.]

Changed in openstack-manuals:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.