Ticket #724 (accepted defect)

Opened 6 weeks ago

Last modified 5 weeks ago

CheckpointOpen causes node reload

Reported by: stefan.k.berg@… Owned by: shekhar
Priority: blocker Milestone: 4.0.0-M3
Component: CPSv Version: 4.0-B3
Keywords: Cc:
patch waiting for maintainer: yes

Description

When creating a checkpoint with the enclosed test program, the node restarts. Output from the test program:

Line 69, TX#: Call 1: saCkptInitialize (&ckptHandle, 0, &version)
Line 69, TX#: Return 1: saCkptInitialize (&ckptHandle, 0, &version) = 1
Line 72, TX#: Call 2: saCkptSelectionObjectGet( ckptHandle, &fd )
Line 72, TX#: Return 2: saCkptSelectionObjectGet( ckptHandle, &fd ) = 1
Line 109, TX#: Call 3: saCkptCheckpointOpen (ckptHandle, &ckptName, &ckptCreateAttr, ckptOpenFlags, timeout, &checkpointHandle)

(i.e. call does not return, but causes node restart)

Output from syslog at that point in time:

Dec  1 16:04:20 SC_2_1 local0.info opensaf_immnd: Create runtime object 'This_is_a_long_checkpoint_name' by Impl id: 5
Dec  1 16:04:20 SC_2_1 local0.notice opensaf_immnd: ERR_INVALID_PARAM: Can not tolerate ',' in RDN: 'safReplica=safAmfNode=SC_2_1,safAmfCluster=myAmfCluster'
Dec  1 16:04:20 SC_2_1 user.err ncs_cpd: saImmOiRtObjectCreate_2 FAILED, rc = 7                                                     
Dec  1 16:04:20 SC_2_1 user.err opensaf_scap: NCS_AvSv: Card going for reboot -safComp=CPD,safSu=SC_2_1,safSg=2N,safApp=OpenSAF Faulted due to:avaDown(8) Recovery is:nodeFailover(5)
Dec  1 16:04:20 SC_2_1 user.info opensaf_scap: Component 'safComp=CPD,safSu=SC_2_1,safSg=2N,safApp=OpenSAF' faulted due to 'avaDown(8)' - rcvr=5
Dec  1 16:04:20 SC_2_1 local0.info opensaf_immnd: Implementer 5 disconnected. Marking it as doomed <Conn:238, Node:2010f>
Dec  1 16:04:20 SC_2_1 local0.info opensaf_immnd: DISCARDING IMPLEMENTER 5 <238, 2010f> (safCheckPointService)                                                       
Dec  1 16:04:20 SC_2_1 user.crit opensaf_scap: node rebooting, reason: A reset has been trigerred for this node

Test based on changeset 5eac71d09644 (4.0.M3 + UML changeset).

BR,

Stefan

Attachments

cpsv_test.c (3.1 kB) - added by stefan.k.berg@… 6 weeks ago.
Test program used to reproduce the error.

Change History

Changed 6 weeks ago by stefan.k.berg@…

Test program used to reproduce the error.

Changed 6 weeks ago by anders

Does the checkpoint OI create an association object?
If so, the RDN of that association object probably contains a comma that has to be escaped using
a backslash.

Changed 5 weeks ago by shekhar

  • owner set to shekhar
  • status changed from new to accepted

Changed 5 weeks ago by shekhar

  • patch_waiting changed from no to yes

Add/Change #724 (CheckpointOpen causes node reload)

Author



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