[tickets] [opensaf:tickets] #1426 imm: pbe should exit if pbeBeginTrans fails in sqlite3_exec

2015-07-30 Thread Neelakanta Reddy
There is a chance that NFS may re-attach after few seconds, and transaction is 
not yet started instead of exit, decrement sqliteTransLock in pbeBeginTrans


---

** [tickets:#1426] imm: pbe should exit if  pbeBeginTrans fails in 
sqlite3_exec**

**Status:** accepted
**Milestone:** 4.5.2
**Created:** Wed Jul 29, 2015 11:44 AM UTC by Neelakanta Reddy
**Last Updated:** Thu Jul 30, 2015 07:03 AM UTC
**Owner:** Neelakanta Reddy



2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 err osafimmpbed: ER SQL 
statement ('BEGIN EXCLUSIVE TRANSACTION') failed because:  disk I/O error

   2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 warning 
osafimmpbed: WA Sqlite db locked by other thread.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1429 immtools: immcfg sets admin-owner to parent object with SUBTREE scope

2015-07-30 Thread Hung Nguyen



---

** [tickets:#1429] immtools: immcfg sets admin-owner to parent object with 
SUBTREE scope**

**Status:** unassigned
**Milestone:** 4.5.2
**Created:** Thu Jul 30, 2015 12:07 PM UTC by Hung Nguyen
**Last Updated:** Thu Jul 30, 2015 12:07 PM UTC
**Owner:** nobody


When using immcfg to create an object, the tool sets admin-owner to parent 
object with subtree scope. That makes it fail to set admin-owner to the 
children of the parent object.

immcfg -c Test test=1
immcfg -c Test test=2,test=1
immcfg (explicit mode)
 immcfg -c Test test=3,test=1

immcfg -d test=2,test=1
error - saImmOmAdminOwnerSet FAILED: SA_AIS_ERR_EXIST (14)



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1426 imm: Decrement sqliteTransLock if pbeBeginTrans fails in sqlite3_exec

2015-07-30 Thread Neelakanta Reddy
- **summary**: imm: pbe should exit if  pbeBeginTrans fails in sqlite3_exec -- 
imm: Decrement sqliteTransLock  if  pbeBeginTrans fails in sqlite3_exec
- Description has changed:

Diff:



--- old
+++ new
@@ -1,4 +1,3 @@
-
 2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 err osafimmpbed: ER SQL 
statement ('BEGIN EXCLUSIVE TRANSACTION') failed because:  disk I/O error
 
2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 warning 
osafimmpbed: WA Sqlite db locked by other thread.



- **status**: accepted -- review



---

** [tickets:#1426] imm: Decrement sqliteTransLock  if  pbeBeginTrans fails in 
sqlite3_exec**

**Status:** review
**Milestone:** 4.5.2
**Created:** Wed Jul 29, 2015 11:44 AM UTC by Neelakanta Reddy
**Last Updated:** Thu Jul 30, 2015 12:42 PM UTC
**Owner:** Neelakanta Reddy


2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 err osafimmpbed: ER SQL 
statement ('BEGIN EXCLUSIVE TRANSACTION') failed because:  disk I/O error

   2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 warning 
osafimmpbed: WA Sqlite db locked by other thread.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1426 imm: pbe should exit if pbeBeginTrans fails in sqlite3_exec

2015-07-30 Thread Neelakanta Reddy
- **summary**: imm: decrement the lock when pbeBeginTrans fails -- imm: pbe 
should exit if  pbeBeginTrans fails in sqlite3_exec
- Description has changed:

Diff:



--- old
+++ new
@@ -1,4 +1,3 @@
-
 
 2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 err osafimmpbed: ER SQL 
statement ('BEGIN EXCLUSIVE TRANSACTION') failed because:  disk I/O error
 



- **Comment**:

In the disk I/O error case the PBE file is not  accessible,(because of NFS or 
other share storage), the PBE should exit in this case and try to regenerate. 
If the error code is other than SQLITE_OK the PBE must exit.



---

** [tickets:#1426] imm: pbe should exit if  pbeBeginTrans fails in 
sqlite3_exec**

**Status:** accepted
**Milestone:** 4.5.2
**Created:** Wed Jul 29, 2015 11:44 AM UTC by Neelakanta Reddy
**Last Updated:** Wed Jul 29, 2015 11:44 AM UTC
**Owner:** Neelakanta Reddy



2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 err osafimmpbed: ER SQL 
statement ('BEGIN EXCLUSIVE TRANSACTION') failed because:  disk I/O error

   2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 warning 
osafimmpbed: WA Sqlite db locked by other thread.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1427 imm: Agent crash leaving leaked admin-owner

2015-07-30 Thread Hung Nguyen



---

** [tickets:#1427] imm: Agent crash leaving leaked admin-owner**

**Status:** assigned
**Milestone:** 4.5.2
**Created:** Thu Jul 30, 2015 10:57 AM UTC by Hung Nguyen
**Last Updated:** Thu Jul 30, 2015 10:57 AM UTC
**Owner:** Hung Nguyen


This is the same type of problem with #1424.

If IMMND gets IMMA DOWN event before receiving IMMND_EVT_D2ND_ADMINIT, IMMND 
will fail to finalize the admin-owner because the admin-owner is not added to 
immModel. The admin-owner will become leaked.

It can be checked with resource-display admin-operation.
# immadm -O display -p resource:SA_STRING_T:adminowners 
opensafImm=opensafImm,safApp=safImmService


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1428 imm: Agent crash leaving leaked CCB

2015-07-30 Thread Hung Nguyen



---

** [tickets:#1428] imm: Agent crash leaving leaked CCB**

**Status:** assigned
**Milestone:** 4.5.2
**Created:** Thu Jul 30, 2015 11:01 AM UTC by Hung Nguyen
**Last Updated:** Thu Jul 30, 2015 11:01 AM UTC
**Owner:** Hung Nguyen


This is the same type of problem with [#1424]

If IMMND gets IMMA DOWN event before receiving IMMND_EVT_D2ND_CCBINIT, IMMND 
will fail to discard the CCB because the CCB is not added to immModel. The CCB 
will become leaked.

It can be checked with resource-display admin-operation.
immadm -O display -p resource:SA_STRING_T:ccbs 
opensafImm=opensafImm,safApp=safImmService



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1424 imm: Agent crash leaving zombie OI

2015-07-30 Thread Hung Nguyen
- **summary**: Agent crash leaving zombie OI -- imm: Agent crash leaving 
zombie OI
- **status**: assigned -- review



---

** [tickets:#1424] imm: Agent crash leaving zombie OI**

**Status:** review
**Milestone:** 4.5.2
**Created:** Wed Jul 22, 2015 10:34 AM UTC by Hung Nguyen
**Last Updated:** Wed Jul 22, 2015 10:43 AM UTC
**Owner:** Hung Nguyen


IMCN set IMMA_SYNCR_TIMEOUT to 1 sec.

For some reasons osafntfimcnd got timeout when invoking 
saImmOiImplementerSet(). Then it exited.
Jun 25 16:24:49 SC-1 osafntfimcnd[14926]: ER ntfimcn_imm_init Becoming an 
applier failed SA_AIS_ERR_TIMEOUT (5)
Jun 25 16:24:49 SC-1 osafntfimcnd[14926]: ER ntfimcn_imm_init() Fail

IMMND got IMMA_DOWN event before receiving IMMND_EVT_D2ND_IMPLSET_RSP from IMMD.
IMMND tried to discard the implementer of the client but there's nothing to 
discard at that moment.

Later, IMMND received IMMND_EVT_D2ND_IMPLSET_RSP and the implementer was added 
to immModel.
Jun 25 16:24:50 SC-1 osafimmnd[14887]: NO Implementer (applier) connected: 6 
(@OpenSafImmReplicatorB) 15, 2010f
Jun 25 16:24:50 SC-1 osafimmnd[14887]: WA IMMND - Client went down so no 
response

So when IMMND use immnd_client_node_get() to get the client node of the 
implementer, it will return null and fail to assert.
In this case, that happened in immnd_evt_proc_object_modify().
Jun 25 16:25:04 SC-1 osafimmnd[14887]: immnd_evt.c:6242: 
immnd_evt_proc_object_modify: Assertion 'oi_cl_node != NULL' failed.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets