metal/mtce-common/src/common
Eric MacDonald 1350502720 Make Mtce Power-Off FSM verify power-off
If a host's BMC server accepts a power-off command without
error but does not actually power-off the host, the power-off
FSM reports success yet the host power is still on.

This update adds a verification component to the power-off
FSM. Once the power-off command is issued and succeeds at the
command level, the power-off FSM will now query power status
and retry the power-off command until the server is verified
to be powered-off or the retry max (10) is reached and the
power-off command is failed.

Test Plan:

PASS: Verify 200+ Mtce Power Off/On cycles (ipmi & redfish)
PASS: Verify 100+ Mtce Reinstalls with FIT (ipmi & redfish)

Change-Id: Iddd120d89d1152fc0b26915df123f586c38b909b
Closes-Bug: 1865087
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2020-11-22 13:38:33 +00:00
..
Makefile Add redfish support detection to maintenance 2019-08-19 14:03:37 +00:00
alarmUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
alarmUtil.h Refactor infrastructure network in mtce code 2019-04-18 09:32:41 -04:00
bmcUtil.cpp Disable Redfish BMC audit and improve reinstall failure handling 2020-11-16 15:15:22 +00:00
bmcUtil.h Disable Redfish BMC audit and improve reinstall failure handling 2020-11-16 15:15:22 +00:00
fitCodes.h Add mtcAgent socket initialization failure retry handling. 2020-04-01 19:24:22 +00:00
hostClass.cpp Refactor BMC provisioning in Maintenance 2019-12-09 09:39:49 -05:00
hostClass.h Refactor BMC provisioning in Maintenance 2019-12-09 09:39:49 -05:00
hostUtil.cpp Refactor BMC provisioning in Maintenance 2019-12-09 09:39:49 -05:00
hostUtil.h Refactor BMC provisioning in Maintenance 2019-12-09 09:39:49 -05:00
httpUtil.cpp MTCE: reading BMC passwords from Barbican secret storage. 2019-02-14 09:04:46 -05:00
httpUtil.h Remove all nova and libvirt files from mtce-common 2019-03-19 15:23:36 -05:00
ipmiUtil.cpp Refactor BMC provisioning in Maintenance 2019-12-09 09:39:49 -05:00
ipmiUtil.h Redfish support for Sensor Monitoring in hwmond 2019-09-12 01:56:42 +08:00
jsonUtil.cpp Refactor BMC provisioning in Maintenance 2019-12-09 09:39:49 -05:00
jsonUtil.h Remove all nova and libvirt files from mtce-common 2019-03-19 15:23:36 -05:00
keyClass.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
keyClass.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
logMacros.h Disable Redfish BMC audit and improve reinstall failure handling 2020-11-16 15:15:22 +00:00
msgClass.cpp Fix mtce-common build error with gcc-8.2.1 2020-04-03 14:49:09 +08:00
msgClass.h Fix BMC access loss handling 2020-01-03 09:34:37 -05:00
nlEvent.cpp Fix heartbeat messaging when interface is set to 'lo' 2020-06-26 14:16:41 +00:00
nlEvent.h Refactor infrastructure network in mtce code 2019-04-18 09:32:41 -04:00
nodeBase.cpp Make Mtce Power-Off FSM verify power-off 2020-11-22 13:38:33 +00:00
nodeBase.h Make Mtce Power-Off FSM verify power-off 2020-11-22 13:38:33 +00:00
nodeEvent.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
nodeEvent.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
nodeMacro.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
nodeTimers.cpp Refactor BMC provisioning in Maintenance 2019-12-09 09:39:49 -05:00
nodeTimers.h Make Mtce Power-Off FSM verify power-off 2020-11-22 13:38:33 +00:00
nodeUtil.cpp Prevent pmond process recovery when system is not running 2020-06-15 11:09:47 -04:00
nodeUtil.h Prevent pmond process recovery when system is not running 2020-06-15 11:09:47 -04:00
pingUtil.cpp Fix BMC access loss handling 2020-01-03 09:34:37 -05:00
pingUtil.h Fix BMC access loss handling 2020-01-03 09:34:37 -05:00
redfishUtil.cpp Disable Redfish BMC audit and improve reinstall failure handling 2020-11-16 15:15:22 +00:00
redfishUtil.h Add redfish power/reset/reinstall bmc support to maintenance 2019-09-26 15:59:35 -04:00
regexUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
regexUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
returnCodes.h Refactor infrastructure network in mtce code 2019-04-18 09:32:41 -04:00
secretUtil.cpp Refactor BMC provisioning in Maintenance 2019-12-09 09:39:49 -05:00
secretUtil.h Improve BMC password first fetch handling in hwmon 2019-09-17 18:57:08 +00:00
threadUtil.cpp Refactor BMC provisioning in Maintenance 2019-12-09 09:39:49 -05:00
threadUtil.h Enable protocol switch between ipmi and redfish for hwmon 2019-09-22 22:28:30 -04:00
timeUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
timeUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
tokenUtil.cpp Remove references to ceilometer in maintenance 2019-04-30 14:28:12 -04:00
tokenUtil.h MTCE: reading BMC passwords from Barbican secret storage. 2019-02-14 09:04:46 -05:00