Menu

#2740 smfd: immCCB action failed to create rollback element due to ERR_EXIST

5.18.04
duplicate
nobody
None
defect
smf
d
major
False
2018-06-08
2017-12-19
No

While testing the fix of ticket #2584, a fault has been found, in which the retried resource-aborted immCCB action (due to IMM sync request) in <campCompleteAction> failed to create the smfRollbackElement object with return code of SA_AIS_ERR_EXIST (because the object had already been created before the CCB got aborted). That error made the campaign fail.

  • system log:

2017-12-19 16:26:37.086 SC-1 osafsmfd[310]: NO CAMP: Start campaign complete actions (1)
2017-12-19 16:26:37.104 SC-1 osafimmnd[207]: NO Create of PERSISTENT runtime object 'smfRollbackElement=CampComplete,safSmfCampaign=campaign_d2584,safApp=safSmfService' (safSmfCampaign).
2017-12-19 16:26:37.116 SC-1 osafimmnd[207]: NO Create of PERSISTENT runtime object 'smfRollbackElement=ccb_00000001,smfRollbackElement=CampComplete,safSmfCampaign=campaign_d2584,safApp=safSmfService' (safSmfCampaign).
2017-12-19 16:26:37.250 SC-1 osafimmnd[207]: NO PBE-OI established on this SC. Dumping incrementally to file imm.db
2017-12-19 16:26:37.348 SC-1 osafimmd[196]: NO MDS event from svc_id 25 (change:4, dest:566312912814258)
2017-12-19 16:26:37.353 SC-1 osafimmnd[207]: NO Global discard node received for nodeId:2030f pid:178
2017-12-19 16:26:37.434 SC-1 osafimmd[196]: NO MDS event from svc_id 25 (change:3, dest:566312912814394)
2017-12-19 16:26:37.436 SC-1 osafimmd[196]: NO Extended intro from node 2030f
2017-12-19 16:26:37.642 SC-1 osafimmd[196]: NO Node 2030f request sync sync-pid:314 epoch:0
2017-12-19 16:26:38.255 SC-1 osafimmnd[207]: NO Announce sync, epoch:6
2017-12-19 16:26:38.260 SC-1 osafimmnd[207]: NO SERVER STATE: IMM_SERVER_READY --> IMM_SERVER_SYNC_SERVER
2017-12-19 16:26:38.267 SC-1 osafimmd[196]: NO Successfully announced sync. New ruling epoch:6
2017-12-19 16:26:38.268 SC-1 osafimmnd[207]: NO NODE STATE-> IMM_NODE_R_AVAILABLE
2017-12-19 16:26:40.141 SC-1 osafimmnd[207]: NO Precheck of fevs message of type <33> failed with ERROR:18
2017-12-19 16:26:43.151 SC-1 osafimmnd[207]: message repeated 3 times: [ NO Precheck of fevs message of type <33> failed with ERROR:18]
2017-12-19 16:26:43.308 SC-1 osafimmnd[207]: WA Aborting ccbId 21 to start sync
2017-12-19 16:26:43.317 SC-1 osafimmnd[207]: NO Ccb 21 ABORTED (SMFSERVICE)
2017-12-19 16:26:43.458 SC-1 osafimmloadd: logtrace: trace enabled to file 'osafimmnd', mask=0x0
2017-12-19 16:26:43.459 SC-1 osafimmloadd: NO Sync starting
2017-12-19 16:26:43.894 SC-1 osafimmloadd: IN Synced 362 objects in total
2017-12-19 16:26:43.896 SC-1 osafimmnd[207]: NO NODE STATE-> IMM_NODE_FULLY_AVAILABLE 19132
2017-12-19 16:26:43.901 SC-1 osafimmd[196]: NO ACT: New Epoch for IMMND process at node 2030f old epoch: 0 new epoch:6
2017-12-19 16:26:43.902 SC-1 osafimmd[196]: NO ACT: New Epoch for IMMND process at node 2040f old epoch: 5 new epoch:6
2017-12-19 16:26:43.903 SC-1 osafimmd[196]: NO ACT: New Epoch for IMMND process at node 2020f old epoch: 5 new epoch:6
2017-12-19 16:26:43.904 SC-1 osafimmd[196]: NO ACT: New Epoch for IMMND process at node 2050f old epoch: 5 new epoch:6
2017-12-19 16:26:43.906 SC-1 osafimmloadd: NO Sync ending normally
2017-12-19 16:26:43.906 SC-1 osafimmnd[207]: NO Epoch set to 6 in ImmModel
2017-12-19 16:26:43.907 SC-1 osafimmpbed: NO Update epoch 6 committing with ccbId:100000021/4294967329
2017-12-19 16:26:43.908 SC-1 osafimmd[196]: NO ACT: New Epoch for IMMND process at node 2010f old epoch: 5 new epoch:6
2017-12-19 16:26:43.986 SC-1 osafimmnd[207]: NO SERVER STATE: IMM_SERVER_SYNC_SERVER --> IMM_SERVER_READY
2017-12-19 16:26:44.671 SC-1 osafsmfd[310]: ER SmfImmCcbAction::execute failed to create rollback element smfRollbackElement=ccb_00000001,smfRollbackElement=CampComplete,safSmfCampaign=campaign_d2584,safApp=safSmfService, rc=SA_AIS_ERR_EXIST (14)
2017-12-19 16:26:44.675 SC-1 osafsmfd[310]: WA executeCampComplete: SmfCampaignWrapup::executeCampComplete Fail 'SA_AIS_ERR_EXIST (14)'
2017-12-19 16:26:44.677 SC-1 osafsmfd[310]: NO CAMP: Campaign complete actions Failed
2017-12-19 16:26:44.678 SC-1 osafsmfd[310]: ER Campaign wrapup executing campaign complete actions failed

Discussion

  • Nguyen TK Luu

    Nguyen TK Luu - 2017-12-21
    • summary: smfd: immCcb action failed to create rollback element due to ERR_EXIST --> smfd: immCCB action failed to create rollback element due to ERR_EXIST
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -While testing the fix of ticket [#2584](https://sourceforge.net/p/opensaf/tickets/2584/), a fault has been found, in which the retried resource-aborted immCcb action (due to IMM sync request) in <campCompleteAction> failed to create the smfRollbackElement object with return code of SA_AIS_ERR_EXIST (because the object had already been created before the CCB got aborted). That error made the campaign fail.
    +While testing the fix of ticket [#2584](https://sourceforge.net/p/opensaf/tickets/2584/), a fault has been found, in which the retried resource-aborted immCCB action (due to IMM sync request) in <campCompleteAction> failed to create the smfRollbackElement object with return code of SA_AIS_ERR_EXIST (because the object had already been created before the CCB got aborted). That error made the campaign fail.
    
     * system log:
    
     
  • Anders Widell

    Anders Widell - 2018-02-02
    • Milestone: 5.18.01 --> 5.18.04
     
  • Nguyen TK Luu

    Nguyen TK Luu - 2018-05-04
    • status: unassigned --> duplicate
    • assigned_to: Nguyen TK Luu
     
  • Nguyen TK Luu

    Nguyen TK Luu - 2018-05-04

    This ticket appears to be a duplicate of [#2676] which, after having been discussed by SMF developers, will be fixed as part of [#1398] once its solution is fully implemented.

     

    Related

    Tickets: #1398
    Tickets: #2676

  • Nguyen TK Luu

    Nguyen TK Luu - 2018-06-08
    • assigned_to: Nguyen TK Luu --> nobody
     

Log in to post a comment.