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:
parent
04a31bebfe
commit
fd5dd4254a
|
@ -6441,8 +6441,7 @@ int nodeLinkClass::add_handler ( struct nodeLinkClass::node * node_ptr )
|
||||||
node_ptr->configAction = MTC_CONFIG_ACTION__INSTALL_PASSWD ;
|
node_ptr->configAction = MTC_CONFIG_ACTION__INSTALL_PASSWD ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (( ! SIMPLEX_AIO_SYSTEM ) &&
|
if ( node_ptr->bmc_provisioned == true )
|
||||||
( node_ptr->bmc_provisioned == true ))
|
|
||||||
{
|
{
|
||||||
mtcAlarm_clear ( node_ptr->hostname, MTC_ALARM_ID__BM );
|
mtcAlarm_clear ( node_ptr->hostname, MTC_ALARM_ID__BM );
|
||||||
node_ptr->alarms[MTC_ALARM_ID__BM] = FM_ALARM_SEVERITY_CLEAR ;
|
node_ptr->alarms[MTC_ALARM_ID__BM] = FM_ALARM_SEVERITY_CLEAR ;
|
||||||
|
|
Loading…
Reference in New Issue