metal/mtce
Alex Kozyrev 7ffbe49712 Fix number of allowed missed messages from pmon in hostwd
The following commit attempted to fix failure logic in hostwd:
4150f91ff0
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 <alex.kozyrev@windriver.com>
(cherry picked from commit 8f9decd6e5)
2019-08-13 17:36:42 +00:00
..
centos Fix hardware monitor degrade event handling 2019-07-26 09:02:08 -04:00
src Fix number of allowed missed messages from pmon in hostwd 2019-08-13 17:36:42 +00:00
PKG-INFO Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00