Comment 7 for bug 1821782

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

Reviewed: https://review.opendev.org/713579
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=16776e3979b8206009844e0d63ab3bb38a632d74
Submitter: Zuul
Branch: stable/queens

commit 16776e3979b8206009844e0d63ab3bb38a632d74
Author: Cédric Jeanneret <email address hidden>
Date: Wed Mar 27 08:58:24 2019 +0100

    Silent file descriptor checks

    In order to avoid spam in journald, we just get the exit code and let
    the checker output the error message.

    Also, correct how we retrieve process in the healthcheck_port and _listen
    functions.
    "ss" doesn't allow to match some processes, like "neutron-l3-agent". We
    therefore use the PID instead, provided by "pgrep".
    The "-d" option of pgrep allow to prepare its output for the "grep -E",
    preventing any need of a loop.

    Change-Id: I1555a9b79c954e646fe9ae35272231c581cea03e
    Closes-Bug: #1821782
    Closes-Bug: #1821856
    (cherry picked from commit 5312bf19c8f820ac65514885aebdc2dc4776d72d)
    (cherry picked from commit 89d2393ea9fa977946ba34b6b9b3b279f830b64c)