Ticket #610 (new defect)

Opened 7 months ago

Last modified 5 months ago

Runtime Object deletion failure for non-existing stream leads to node reboot

Reported by: Sangeeta.meena@… Owned by:
Priority: major Milestone: PL 3.0.1
Component: AvSv Version: 3.0.0-GA
Keywords: Cc:
patch waiting for maintainer: no

Description

immutil_saImmOiRtObjectDelete returns SA_AIS_ERR_NOT_EXIST incase the runtime object doesn't exist with IMMND(after immnd restart case)and since immutilWrapperProfile.errorsAreFatal is not reset to 0,IMMSV does abort and the system reboots.

if (lgs_cb->ha_state == SA_AMF_HA_ACTIVE)

{

TRACE("Stream is closed, I am HA active so remove IMM object");
SaNameT objectName;
strcpy((char *) objectName.value, stream->name);
objectName.length = strlen((char *) objectName.value);
(void) immutil_saImmOiRtObjectDelete(lgs_cb->immOiHandle, &objectName);

}

log_stream_delete(s);

Attachments

Change History

Changed 7 months ago by hafe

Sangeeta:
"It is on single node so the runtime object will not be synced."

Anders:
"If you are running single node and kill the IMMND, then this ammounts to a restart of the entire IMMSv. This is a special case of the more general case where the IMMD detects loss of IMMND coord and fails to elect a new coord. The really correct way to handle this is for the IMMD to request the AMF to restart the cluster. But the current AMF implementation apparently does not support this case.

Ironically, even thoug the IMMSv and AMF fail to escalate to cluster restart, the LOGSv fails
(correctly because the runtime object should still exist) and this causes then node to restart,
which in this case equals cluster restart :-))"

Changed 5 months ago by anders

  • component changed from LOGSv to AvSv

This is not a defect of the LOGSv but a defect (or lack of enhancement) in the AVSv implementation.
What is missing is support for cluster restart, or SAF midleware restart.

Add/Change #610 (Runtime Object deletion failure for non-existing stream leads to node reboot)

Author



Action
as new
Note: See TracTickets for help on using tickets.