Eric MacDonald 484d662cb7 Fix hbsAgent log flooding when SM heartbeat fails persistently
If the SM part of this update is missing or the SM heartbeat
is missing for a long period of time the hbsAgent produces
5 logs every 10 seconds reporting the missing SM heartbeat.

This is a follow-up update to its parent update
https://review.opendev.org/c/starlingx/metal/+/751558

This update throttles the warning log and corresponding
cluster dump when SM heartbeat is persistently missing.

PASS: Verify hbsAgent service and log behavior when SM
      heartbeat is persistently missing.

Change-Id: Ib379ed5d37b5349ca170b5661a930b6a71c2bed1
Partial-Fix: 1895350
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2020-12-16 21:20:35 -05:00
..