Comment 6 for bug 1824983

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

Reviewed: https://review.opendev.org/675452
Committed: https://git.openstack.org/cgit/starlingx/metal/commit/?id=8f9decd6e53c1712084399350aefb2b50b9f5236
Submitter: Zuul
Branch: master

commit 8f9decd6e53c1712084399350aefb2b50b9f5236
Author: Alex Kozyrev <email address hidden>
Date: Thu Aug 8 15:26:08 2019 -0400

    Fix number of allowed missed messages from pmon in hostwd

    The following commit attempted to fix failure logic in hostwd:
    4150f91ff0687268e094a58ab177a12d56e97114
    hostwd_failure_threshold has been reduced from 5 to 3 in it, but the
    logic around pmon_grace_loops hasn't been touched.
    hostwd_failure_threshold is still reduced by 2 every time we miss a
    message from pmon. So, we only allow 1 missed message before the reboot.
    Removing this double substraction and reverting to old beavior:
    allow 2 missed messages from PMON and reboot a system on a 3rd one.

    Closes-Bug: 1824983
    Change-Id: I57293f9383302d042faee78189409043e21b5801
    Signed-off-by: Alex Kozyrev <email address hidden>