
The 200.014 Sensor Config sensor=profile alarm was does not get cleared over a Sensor Profile Relearn nor BMC Deprovision actions. This can then lead to a stuck alarm if the sensor read / groups create issue never resolves. Sensor alarms against a host must get deleted if the BMC for that host is deprovisioned. This update removes the long time obsolete sensor=sensors alarm references and adds a clear sensor config "profile" alarm to the 'sensor group profile relearn' and 'bmc deprovisioning' code paths. Test Plan: PASS: Verify sensor config profile alarm is deleted when PASS: - sensor model is relearned PASS: - bmc deprovisioned PASS: - sensor model is properly created (FIT tested) PASS: Verify raised 200.014 alarm persists over a hwmond restart Regression: PASS: Verify basic hardware monitoring and alarming PASS: Verify sensor deprovisioning PASS: Verify sensor model relearn operation PASS: Verify sensor alarming and clear function Closes-Bug: 2074760 Change-Id: I3165105e9e4e933ab7b723bd0b6241a6a2b046ae Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
Description
Languages
C++
83%
Shell
10.2%
Python
3.3%
C
2.5%
Makefile
1%