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>
Reviewed: https:/ /review. opendev. org/675452 /git.openstack. org/cgit/ starlingx/ metal/commit/ ?id=8f9decd6e53 c1712084399350a efb2b50b9f5236
Committed: https:/
Submitter: Zuul
Branch: master
commit 8f9decd6e53c171 2084399350aefb2 b50b9f5236
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: 87268e094a58ab1 77a12d56e97114 failure_ threshold has been reduced from 5 to 3 in it, but the failure_ threshold is still reduced by 2 every time we miss a
4150f91ff06
hostwd_
logic around pmon_grace_loops hasn't been touched.
hostwd_
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 042faee78189409 043e21b5801
Change-Id: I57293f9383302d
Signed-off-by: Alex Kozyrev <email address hidden>