- **summary**: 2PBE: pbed exits with error 'cannot rollback - no transaction is
active' --> 2PBE: PBE slave restart during class-create must regenerate imm.db
- **Comment**:
This ticket actually describes two problems.
The first problem captured by the original slogan for this ticket:
(#1092 2PBE): pbed exits with error 'cannot rollback - no transaction
is active'
is another duplicate of the problem fixed by ticket #1057.
The second problem is the class-create done before and during the gap
when the slave PBE re-attaches. This is for the class:
testMA_verifyObjCompCallbackNode_101_133
The slave PBE should re-attach with regenerating the imm.db file.
But this does not happen here.
Instead the slave PBE restarts with '--recover' resulting in the slave
PBE starting with an imm.db file that is missing this class.
The restarted slave PBE fails in verification for this class, exits and
restarts again. The second restart is without '--recover' and regenerates
the imm.db file and system gets back to normal.
I have altered the slogan for this ticket to focus on the second problem.
The restart of the slave PBE during a class-create should not be with
'--recover'. This is controled by the state variable mPbeVeteranB in
the immnd.
---
** [tickets:#1092] 2PBE: PBE slave restart during class-create must regenerate
imm.db**
**Status:** accepted
**Milestone:** 4.4.2
**Created:** Tue Sep 16, 2014 07:12 AM UTC by Sirisha Alla
**Last Updated:** Mon Oct 27, 2014 10:39 AM UTC
**Owner:** Anders Bjornerstedt
The issue is seen on SLES X86 VMs running with opensaf changeset 5697+#946
patches. IMM DB is loaded with 50k objects.
IMM Applications along with switchover is in progress.
Following is observed in the syslog of SC-1:
Sep 16 11:07:27 SLES-64BIT-SLOT1 osafimmpbed: NO Slave PBE time-out in waiting
on porepare for PRTA update ccb:1000001c4
dn:safNode=PL-3,safCluster=myClmCluster
Sep 16 11:07:28 SLES-64BIT-SLOT1 osafimmpbed: ER SQL statement ('ROLLBACK')
failed because: cannot rollback - no transaction is active
Sep 16 11:07:28 SLES-64BIT-SLOT1 osafimmpbed: ER Exiting (line:2843)
An application class is created just before the PBE process started.
Sep 16 11:07:32 SLES-64BIT-SLOT1 osafimmnd[2384]: NO Create of class
testMA_verifyObjCompCallbackNode_101_133 is PERSISTENT.
When the PBE process started verification of pbe state failed.
Sep 16 11:07:33 SLES-64BIT-SLOT1 osafimmpbed: NO Successfully opened
pre-existing sqlite pbe file /home/sirisha/immsv/immpbe/imm.db.2010f
Sep 16 11:07:33 SLES-64BIT-SLOT1 osafimmpbed: IN saImmRepositoryInit:
SA_IMM_KEEP_REPOSITORY - attaching to repository
Sep 16 11:07:33 SLES-64BIT-SLOT1 osafimmpbed: ER Expected 1 row got 0 rows
(line: 1161)
Sep 16 11:07:33 SLES-64BIT-SLOT1 osafimmpbed: WA Verify class
testMA_verifyObjCompCallbackNode_101_133 failed!
Sep 16 11:07:33 SLES-64BIT-SLOT1 osafimmpbed: NO Renamed
/home/sirisha/immsv/immpbe/imm.db.2010f to
/home/sirisha/immsv/immpbe/imm.db.2010f.failed_immdump because it has been
detected to be corrupt.
Sep 16 11:07:33 SLES-64BIT-SLOT1 osafimmpbed: NO Removed obsolete journal file:
/home/sirisha/immsv/immpbe/imm.db.2010f-journal
Sep 16 11:07:33 SLES-64BIT-SLOT1 osafimmpbed: WA verifyPbeState failed!
Sep 16 11:07:33 SLES-64BIT-SLOT1 osafimmpbed: WA Pbe: Failed to re-attach to db
file /home/sirisha/immsv/immpbe/imm.db.2010f - regenerating db file
Sep 16 11:07:33 SLES-64BIT-SLOT1 osafimmpbed: IN Generating DB file from
current IMM state. DB file: /home/sirisha/immsv/immpbe/imm.db.2010f
Syslog and IMMND traces on both the controllers is attached. there might be a
few seconds time difference between the two slots.
---
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