metal/mtce-common
Eric MacDonald cc53f1e689 Maintain sensor degrade over a process restart
When the Hardware Monitor starts up it reads existing alarms and sensor
state from the sysinv database. It then uses this pre-existing state to
align its internal structure accordingly moving forward.

The hardware monitor manage_startup_states utility is incorrectly 
requesting degrade clear rather than degrade set in response to finding 
a pre-existing critical sensor assertion on process startup.

This update fixes this issue by calling the set_degraded_state rather 
than clear_degraded_state against this sensor in this case.

Change-Id: Ic1ecc1f11d7a729c16da63c6d43b7d758bb9e467
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
Story: 2002882
Task: 22845
2018-08-16 20:14:24 +00:00
..
centos Collectd+InfluxDb-RMON Replacement(ALL METRICS) P1 2018-07-03 11:04:27 -04:00
cgts-mtce-common-1.0 Maintain sensor degrade over a process restart 2018-08-16 20:14:24 +00:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00
PKG-INFO SpellCheck: Typo heartbeat 2018-07-01 16:25:36 -05:00