---

** [tickets:#830] IMM: 2PBE rejects PRTA update causing SMF campaign to fail**

**Status:** assigned
**Milestone:** 4.4.1
**Created:** Tue Apr 01, 2014 03:02 PM UTC by Anders Bjornerstedt
**Last Updated:** Tue Apr 01, 2014 03:02 PM UTC
**Owner:** Anders Bjornerstedt

An SMF campaign has disabled the PBE earlier. At a given point it enables PBE
(by performing the relevant CCB on imm config data) and immediately tries to
update a persistent runtime attribute (PRTA). This update fails because the 
slave PBE has not yet completed its initialization by the time the primary PBE
is processing the PRTA update request. 

The primary PBE tries to send the "prepare" request for the PRTA update to the
slave PBE in the form of an admin-operation on the runtime object provided
by the slave PBE. The object exists, but the slave PBE has not yet had time to
set admin-owner for its RTO. 

The slave PBE then also exits because of an incorrect abort of an empty
sqlite transaction. 

After the restart of tghe slave PBE the PBEs normalize, but the SMF campaign
hangs.

SC1:
Mar 31 10:33:19 SC-2-1 osafimmpbed: IN Starting distributed PBE commit for PRTA 
update Ccb:100000078/4294967416
Mar 31 10:33:19 SC-2-1 osafimmnd[13967]: NO ERR_BAD_OPERATION: Mismatch on 
administrative owner '' != 'safImmService'
Mar 31 10:33:19 SC-2-1 osafimmpbed: WA Start prepare for ccb: 
100000078/4294967416 towards slave PBE returned: '20' from Immsv
Mar 31 10:33:19 SC-2-1 osafimmpbed: WA PBE-A failed to prepare PRTA update 
Ccb:100000078/4294967416 towards PBE-B
Mar 31 10:33:19 SC-2-1 osafimmpbed: NO 2PBE Error (20) in PRTA update 
(ccbId:100000078)
Mar 31 10:33:19 SC-2-1 osafimmnd[13967]: WA update of PERSISTENT runtime 
attributes in object 'safSmfCampaign=ERIC-TestAppInstall,safApp=safSmfService' 
REVERTED. PBE rc:20

SC2:
Mar 31 10:33:19 SC-2-2 osafimmnd[5243]: NO ERR_BAD_OPERATION: Mismatch on 
administrative owner '' != 'safImmService'
Mar 31 10:33:19 SC-2-2 osafimmnd[5243]: WA update of PERSISTENT runtime 
attributes in object 'safSmfCampaign=ERIC-TestAppInstall,safApp=safSmfService' 
REVERTED. PBE rc:20
Mar 31 10:33:19 SC-2-2 osafimmd[5233]: NO IMMND coord at 2010f
Mar 31 10:33:19 SC-2-2 osafimmpbed: IN PBE slave waiting for prepare from 
primary on PRTA update ccb:100000078
Mar 31 10:33:19 SC-2-2 osafimmpbed: IN ccb-prepare received at PBE slave 
ccbId:100000079/4294967417 numOps:1
Mar 31 10:33:20 SC-2-2 osafimmpbed: IN PBE slave waiting for prepare from 
primary on PRTA update ccb:100000078
Mar 31 10:33:20 SC-2-2 osafimmpbed: IN ccb-prepare received at PBE slave 
ccbId:100000079/4294967417 numOps:1
Mar 31 10:33:20 SC-2-2 osafimmpbed: IN PBE slave waiting for prepare from 
primary on PRTA update ccb:100000078
Mar 31 10:33:20 SC-2-2 osafimmpbed: IN ccb-prepare received at PBE slave 
ccbId:100000079/4294967417 numOps:1
Mar 31 10:33:21 SC-2-2 osafimmpbed: IN PBE slave waiting for prepare from 
primary on PRTA update ccb:100000078
Mar 31 10:33:21 SC-2-2 osafimmpbed: IN ccb-prepare received at PBE slave 
ccbId:100000079/4294967417 numOps:1
Mar 31 10:33:21 SC-2-2 osafimmpbed: IN PBE slave waiting for prepare from 
primary on PRTA update ccb:100000078
Mar 31 10:33:21 SC-2-2 osafimmpbed: IN ccb-prepare received at PBE slave 
ccbId:100000079/4294967417 numOps:1
Mar 31 10:33:22 SC-2-2 osafimmpbed: IN PBE slave waiting for prepare from 
primary on PRTA update ccb:100000078
Mar 31 10:33:22 SC-2-2 osafimmpbed: IN ccb-prepare received at PBE slave 
ccbId:100000079/4294967417 numOps:1
Mar 31 10:33:22 SC-2-2 osafimmpbed: IN PBE slave waiting for prepare from 
primary on PRTA update ccb:100000078
Mar 31 10:33:22 SC-2-2 osafimmnd[5243]: WA update of PERSISTENT runtime 
attributes in object 'safSmfCampaign=ERIC-TestAppInstall,safApp=safSmfService' 
REVERTED. PBE rc:20
Mar 31 10:33:22 SC-2-2 osafimmpbed: IN 
s2PbeBCcbToCompleteAtB==(100000079/4294967417) => Update-epoch ignoring wait 
for applyCallback at slave
Mar 31 10:33:22 SC-2-2 osafimmpbed: NO Update epoch 11 committing with 
ccbId:10000007a/4294967418
Mar 31 10:33:23 SC-2-2 osafimmpbed: IN PBE slave waiting for prepare from 
primary on PRTA update ccb:100000078
Mar 31 10:33:24 SC-2-2 osafimmpbed: IN PBE slave waiting for prepare from 
primary on PRTA update ccb:100000078
Mar 31 10:33:24 SC-2-2 osafimmpbed: NO Slave PBE time-out in waiting on 
porepare for PRTA update ccb:100000078 
dn:safSmfCampaign=ERIC-TestAppInstall,safApp=safSmfService
Mar 31 10:33:24 SC-2-2 osafimmpbed: ER SQL statement ('ROLLBACK') failed 
because:  cannot rollback - no transaction is active
Mar 31 10:33:24 SC-2-2 osafimmpbed: ER Exiting (line:2827)




---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to