From fd5dd4254a5d3806b34442b7bbced5082c0b7bd1 Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Mon, 14 Jun 2021 16:46:41 -0400 Subject: [PATCH] Clear bmc alarm over mtcAgent process restart for ALL system types If a host's BMC is provisioned and the mtcAgent process is restarted then remove the gating condition that avoids clearing the BMC access alarm in AIO SX. Change-Id: I0734c2203a7acaee27c40c3c0d259b4cc5726b5d Closes-Bug: 1931906 Signed-off-by: Eric MacDonald --- mtce/src/maintenance/mtcNodeHdlrs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mtce/src/maintenance/mtcNodeHdlrs.cpp b/mtce/src/maintenance/mtcNodeHdlrs.cpp index 6871bf93..a5769c7b 100755 --- a/mtce/src/maintenance/mtcNodeHdlrs.cpp +++ b/mtce/src/maintenance/mtcNodeHdlrs.cpp @@ -6441,8 +6441,7 @@ int nodeLinkClass::add_handler ( struct nodeLinkClass::node * node_ptr ) node_ptr->configAction = MTC_CONFIG_ACTION__INSTALL_PASSWD ; } - if (( ! SIMPLEX_AIO_SYSTEM ) && - ( node_ptr->bmc_provisioned == true )) + if ( node_ptr->bmc_provisioned == true ) { mtcAlarm_clear ( node_ptr->hostname, MTC_ALARM_ID__BM ); node_ptr->alarms[MTC_ALARM_ID__BM] = FM_ALARM_SEVERITY_CLEAR ;