Container healthchecks for services connected to RabbitMQ report false negative

Bug #1714077 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

Current check for service opening specific ports uses lsof command which needs root privileges. This causes false negatives for containers in which services does not run under root.

Changed in tripleo:
assignee: nobody → Martin Mágr (mmagr)
status: New → In Progress
Revision history for this message
Martin Mágr (mmagr) wrote :
Changed in tripleo:
milestone: none → pike-rc2
importance: Undecided → High
tags: added: pike-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/497792
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=9671a1d80fedf7a7241e3e7032586f7a361df96c
Submitter: Jenkins
Branch: master

commit 9671a1d80fedf7a7241e3e7032586f7a361df96c
Author: Martin Mágr <email address hidden>
Date: Fri Aug 25 11:20:48 2017 +0200

    Fix port health check false negatives

    Most of the opened port health checks are failing because containers
    are not run under root user. This patch makes it to avoid use of lsof
    so that all containers are checked correctly on opened ports.

    Closes-bug: #1714077
    Co-Authored-By: Derek Higgins <email address hidden>
    Change-Id: I01389ce87f81486fd887d71e6816df76276011e0

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

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

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

Reviewed: https://review.openstack.org/499880
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=a6b4a86513218afdf488aeaa1ca0c09a6c8e8808
Submitter: Jenkins
Branch: stable/pike

commit a6b4a86513218afdf488aeaa1ca0c09a6c8e8808
Author: Martin Mágr <email address hidden>
Date: Fri Aug 25 11:20:48 2017 +0200

    Fix port health check false negatives

    Most of the opened port health checks are failing because containers
    are not run under root user. This patch makes it to avoid use of lsof
    so that all containers are checked correctly on opened ports.

    Closes-bug: #1714077
    Co-Authored-By: Derek Higgins <email address hidden>
    Change-Id: I01389ce87f81486fd887d71e6816df76276011e0
    (cherry picked from commit 9671a1d80fedf7a7241e3e7032586f7a361df96c)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 7.6.0

This issue was fixed in the openstack/tripleo-common 7.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 8.0.0

This issue was fixed in the openstack/tripleo-common 8.0.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.