swift-recon not working on containerized deployment

Bug #1734268 reported by Christian Schwede
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Christian Schwede

Bug Description

TL;DR: /var/cache/swift must be mounted across all swift-* containers.

swift-recon gathers data from all nodes using a simple REST API that is served by the object servers. This data includes informations about replication, auditing and other important information and is very useful to check the overall cluster health as well as for debugging issues.

Data is written to two central files in /var/cache/swift - each process updates it's entry, and the whole file is then made accessible by the object-servers. /var/cache/swift is not mounted across containers, thus each process has its own copy and the object-server can't access this information. It's therefore needed to mount /var/cache/swift across all containers.

Changed in tripleo:
milestone: none → queens-2
milestone: queens-2 → none
milestone: none → queens-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

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

Reviewed: https://review.openstack.org/522715
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=079c0ff67ab8a7a5cc65702d27eb1fe3ac80325e
Submitter: Zuul
Branch: master

commit 079c0ff67ab8a7a5cc65702d27eb1fe3ac80325e
Author: Christian Schwede <email address hidden>
Date: Fri Nov 24 07:13:24 2017 +0100

    Mount /var/cache/swift across containers

    This is needed to ensure all containers update the same cache file used
    by swift-recon to collect health and debug data.

    Closes-Bug: 1734268
    Change-Id: Ia586cc6277359dcb1a78194d65eaa932dd995ed3

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/523440

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/pike)

Reviewed: https://review.openstack.org/523440
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=6df937eef01b7943d052b9e418587360e729d119
Submitter: Zuul
Branch: stable/pike

commit 6df937eef01b7943d052b9e418587360e729d119
Author: Christian Schwede <email address hidden>
Date: Fri Nov 24 07:13:24 2017 +0100

    Mount /var/cache/swift across containers

    This is needed to ensure all containers update the same cache file used
    by swift-recon to collect health and debug data.

    Closes-Bug: 1734268
    Change-Id: Ia586cc6277359dcb1a78194d65eaa932dd995ed3
    (cherry picked from commit 079c0ff67ab8a7a5cc65702d27eb1fe3ac80325e)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.0.0b2

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.6

This issue was fixed in the openstack/tripleo-heat-templates 7.0.6 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.