Failing collectd container health check

Bug #1807683 reported by Martin Mágr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Martin Mágr

Bug Description

Container health check for collectd randomly reports false negative when health check script runs before collect starts and is unable to create unix socket for monitoring. We need to enable socket cleanup because of this reason.

Martin Mágr (mmagr)
Changed in tripleo:
milestone: none → stein-2
tags: added: rocky-backport-potential
Changed in tripleo:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Martin Mágr (mmagr)
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/624042

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

Reviewed: https://review.openstack.org/624042
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=36cfba38f8cf70e56fe039933d0ca844655ba20d
Submitter: Zuul
Branch: master

commit 36cfba38f8cf70e56fe039933d0ca844655ba20d
Author: Martin Magr <email address hidden>
Date: Mon Dec 10 11:03:45 2018 +0100

    Run collectd socket cleanup on container start

    This patch enables collectd deleting /var/run/collect-socket on startup.
    It is created for monitoring purposes and on some conditions is created
    by health check script sooner than collectd starts, which results on collect
    failing to create the socket and listening on it.

    Change-Id: I9fed91255f6857ac39a68278fb2c036606d88468
    Closes-Bug: #1807683

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

This issue was fixed in the openstack/tripleo-heat-templates 10.3.0 release.

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

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/633457

Revision history for this message
Purandhar Sairam Mannidi (sai438) wrote :

Can we backport this to queens as well?

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

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/662116

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

Reviewed: https://review.opendev.org/662116
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=a3662c067651c9f337172db17b071d4b5549aae5
Submitter: Zuul
Branch: stable/queens

commit a3662c067651c9f337172db17b071d4b5549aae5
Author: Martin Magr <email address hidden>
Date: Mon Dec 10 11:03:45 2018 +0100

    Run collectd socket cleanup on container start

    This patch enables collectd deleting /var/run/collect-socket on startup.
    It is created for monitoring purposes and on some conditions is created
    by health check script sooner than collectd starts, which results on collect
    failing to create the socket and listening on it.

    Change-Id: I9fed91255f6857ac39a68278fb2c036606d88468
    Closes-Bug: #1807683
    (cherry picked from commit 36cfba38f8cf70e56fe039933d0ca844655ba20d)

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

This issue was fixed in the openstack/tripleo-heat-templates 9.4.0 release.

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

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