Container healthchecks for services connected to RabbitMQ report false negative

Bug #1714077 reported by Martin Mágr on 2017-08-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
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
Changed in tripleo:
milestone: none → pike-rc2
importance: Undecided → High
tags: added: pike-backport-potential

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

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

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

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  Edit
Everyone can see this information.

Other bug subscribers