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 <eric.macdonald@windriver.com>
This commit is contained in:
Eric MacDonald 2021-06-14 16:46:41 -04:00
parent 04a31bebfe
commit fd5dd4254a
1 changed files with 1 additions and 2 deletions

View File

@ -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 ;