swift container-reconciler error connecting to memcached

Bug #1542121 reported by Alex
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Andy McCrae
Kilo
Fix Released
Medium
Andy McCrae
Liberty
Fix Released
Medium
Andy McCrae

Bug Description

In liberty branch (and possibly all), on all swift_hosts in /var/log/swift/container-error.log you see:

Feb 4 17:05:10 tsr-van-storage1 container-reconciler: STDERR: ERROR:root:Error connecting to memcached: 127.0.0.1:11211

as on swift_hosts memcache is used in /etc/swift/container-server/container-reconciler.conf and /etc/swift/object-server/object-expirer.conf but the actual servers / config is never defined.

Suggested fix is to deploy /etc/swift/memcache.conf template to all swift nodes:

https://github.com/openstack/swift/blob/master/etc/memcache.conf-sample#L2-L6

and remove memcache config from proxy-server.conf template.

Changed in openstack-ansible:
assignee: nobody → Andy McCrae (andrew-mccrae)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/277928

Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/277928
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=140f3772e5078052c5903e3da6b0d79c2f466461
Submitter: Jenkins
Branch: master

commit 140f3772e5078052c5903e3da6b0d79c2f466461
Author: Andy McCrae <email address hidden>
Date: Tue Feb 9 16:13:51 2016 +0000

    Move swift memcache conf into separate file

    The memcache configuration was only setup for the proxy-server.conf
    within Swift, and was not set for the object and container reconcilers
    which both use memcache.

    This patch moves the memcache settings into a separate memcache.conf
    file which is then configured on all swift hosts, removing the specific
    conf from the proxy-server.conf file.

    Change-Id: I047b2d1178de43c694c30280f6ed9fe8511341fd
    Closes-Bug: #1542121

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (liberty)

Reviewed: https://review.openstack.org/281268
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=7264009440a001d4f5db1ad3fd51316689d54771
Submitter: Jenkins
Branch: liberty

commit 7264009440a001d4f5db1ad3fd51316689d54771
Author: Andy McCrae <email address hidden>
Date: Tue Feb 9 16:13:51 2016 +0000

    Move swift memcache conf into separate file

    The memcache configuration was only setup for the proxy-server.conf
    within Swift, and was not set for the object and container reconcilers
    which both use memcache.

    This patch moves the memcache settings into a separate memcache.conf
    file which is then configured on all swift hosts, removing the specific
    conf from the proxy-server.conf file.

    Change-Id: I047b2d1178de43c694c30280f6ed9fe8511341fd
    Closes-Bug: #1542121
    (cherry picked from commit 140f3772e5078052c5903e3da6b0d79c2f466461)

Changed in openstack-ansible:
milestone: none → mitaka-3
Changed in openstack-ansible:
importance: Undecided → Low
importance: Low → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (kilo)

Reviewed: https://review.openstack.org/281269
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=89b48af11010464ce09302e888ab63e025b24eda
Submitter: Jenkins
Branch: kilo

commit 89b48af11010464ce09302e888ab63e025b24eda
Author: Andy McCrae <email address hidden>
Date: Tue Feb 9 16:13:51 2016 +0000

    Move swift memcache conf into separate file

    The memcache configuration was only setup for the proxy-server.conf
    within Swift, and was not set for the object and container reconcilers
    which both use memcache.

    This patch moves the memcache settings into a separate memcache.conf
    file which is then configured on all swift hosts, removing the specific
    conf from the proxy-server.conf file.

    Change-Id: I047b2d1178de43c694c30280f6ed9fe8511341fd
    Closes-Bug: #1542121
    (cherry picked from commit 140f3772e5078052c5903e3da6b0d79c2f466461)

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.11

This issue was fixed in the openstack/openstack-ansible 11.2.11 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 12.0.8

This issue was fixed in the openstack/openstack-ansible 12.0.8 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 11.2.12

This issue was fixed in the openstack/openstack-ansible 11.2.12 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 12.0.9

This issue was fixed in the openstack/openstack-ansible 12.0.9 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 13.0.0

This issue was fixed in the openstack/openstack-ansible 13.0.0 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

This issue was fixed in the openstack/openstack-ansible 13.0.0 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 12.0.11

This issue was fixed in the openstack/openstack-ansible 12.0.11 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.14

This issue was fixed in the openstack/openstack-ansible 11.2.14 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 11.2.15

This issue was fixed in the openstack/openstack-ansible 11.2.15 release.

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.