- Only reboot if RDE role is not ACTIVE because there is a case that node just promote to ACTIVE. --- src/fm/fmd/fm_main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/fm/fmd/fm_main.cc b/src/fm/fmd/fm_main.cc index 4a843cc9f..d1f1b42d6 100644 --- a/src/fm/fmd/fm_main.cc +++ b/src/fm/fmd/fm_main.cc @@ -572,7 +572,8 @@ static void fm_mbx_msg_handler(FM_CB *fm_cb, FM_EVT *fm_mbx_evt) { LOG_NO("Current role: %s", role_string[fm_cb->role]); if ((fm_mbx_evt->node_id == fm_cb->peer_node_id)) { /* Check whether node(AMF) initialization is done */ - if (fm_cb->csi_assigned == false) { + if ((fm_cb->csi_assigned == false) && + (fm_cb->role != PCS_RDA_ACTIVE)) { opensaf_reboot(0, NULL, "Failover occurred, but this node is not yet ready"); } -- 2.17.1 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel