- **status**: unassigned --> assigned
- **assigned_to**: Neelakanta Reddy
- **Part**: - --> nd
- **Milestone**: 4.5.2 --> 4.6.0
---
** [tickets:#1304] FAILED_OPERATION is not returned in case of response timeout
from OI callback**
**Status:** assigned
**Milestone:** 4.6.0
**Created:** Mon Apr 06, 2015 10:36 AM UTC by Sirisha Alla
**Last Updated:** Tue Apr 07, 2015 09:23 AM UTC
**Owner:** Neelakanta Reddy
The issue is seen on cs6377(46 FC Tag). According to the fix of #57, failed
operation is returned in case of timeout on response from OI. But timeout is
being returned.
IMMA Trace:
Apr 6 15:31:37.931007 imma [7642:imma_om_api.c:1597] >>
ccb_object_create_common
Apr 6 15:31:37.931031 imma [7642:imma_om_api.c:1863] TR attr:attrName1
Apr 6 15:31:37.934663 imma [7642:imma_proc.c:1346] TR ** Event type:15
Apr 6 15:31:37.934700 imma [7642:imma_proc.c:1142] TR Posted
IMMA_CALLBACK_OI_CCB_CREATE for ccb 2
Apr 6 15:31:37.934712 imma [7642:imma_db.c:0209] >> imma_oi_ccb_record_add
Apr 6 15:31:37.934720 imma [7642:imma_db.c:0187] >> imma_oi_ccb_record_find
Apr 6 15:31:37.934727 imma [7642:imma_db.c:0196] TR Record for ccbid:0x2
handle:330002030f client:0x89adf0 NOT found
Apr 6 15:31:37.934735 imma [7642:imma_db.c:0198] << imma_oi_ccb_record_find
Apr 6 15:31:37.934740 imma [7642:imma_db.c:0244] TR Record for ccbid:0x2
handle:330002030f client:0x89adf0 opCount:0 added
Apr 6 15:31:37.934744 imma [7642:imma_db.c:0245] << imma_oi_ccb_record_add
Apr 6 15:31:37.934748 imma [7642:imma_proc.c:1239] >> imma_proc_free_pointers
Apr 6 15:31:37.934754 imma [7642:imma_proc.c:1332] << imma_proc_free_pointers
Apr 6 15:31:37.934774 imma [7642:imma_db.c:0187] >> imma_oi_ccb_record_find
Apr 6 15:31:37.934779 imma [7642:imma_db.c:0194] TR Record for ccbid:0x2
handle:330002030f client:0x89adf0 found
Apr 6 15:31:37.934784 imma [7642:imma_db.c:0198] << imma_oi_ccb_record_find
Apr 6 15:31:37.934788 imma [7642:imma_proc.c:1914] >>
imma_process_callback_info
Apr 6 15:31:37.934793 imma [7642:imma_proc.c:2233] TR Ccb-object-create
callback
Apr 6 15:31:37.934797 imma [7642:imma_db.c:0187] >> imma_oi_ccb_record_find
Apr 6 15:31:37.934801 imma [7642:imma_db.c:0194] TR Record for ccbid:0x2
handle:330002030f client:0x89adf0 found
Apr 6 15:31:37.934804 imma [7642:imma_db.c:0198] << imma_oi_ccb_record_find
Apr 6 15:31:37.934813 imma [7642:imma_proc.c:2336] TR ccb-object-create make
the callback
Apr 6 15:31:43.889216 imma [7642:imma_proc.c:1346] TR ** Event type:20
Apr 6 15:31:43.889296 imma [7642:imma_proc.c:0957] TR Posted
IMMA_CALLBACK_OI_CCB_ABORT for ccb 2
Apr 6 15:31:43.889327 imma [7642:imma_db.c:0302] >> imma_oi_ccb_record_abort
Apr 6 15:31:43.889349 imma [7642:imma_db.c:0187] >> imma_oi_ccb_record_find
Apr 6 15:31:43.889857 imma [7642:imma_db.c:0194] TR Record for ccbid:0x2
handle:330002030f client:0x89adf0 found
Apr 6 15:31:43.889888 imma [7642:imma_db.c:0198] << imma_oi_ccb_record_find
Apr 6 15:31:43.889909 imma [7642:imma_db.c:0313] << imma_oi_ccb_record_abort
Apr 6 15:31:43.889928 imma [7642:imma_proc.c:0960] T2 CCB-ABORT-UC:
oi_ccb_record for 2 aborted
Apr 6 15:31:43.889950 imma [7642:imma_proc.c:1239] >> imma_proc_free_pointers
Apr 6 15:31:43.889970 imma [7642:imma_proc.c:1332] << imma_proc_free_pointers
Apr 6 15:31:47.941573 imma [7642:imma_om_api.c:1961] TR objectCreate send
RETURNED:5
Apr 6 15:31:47.941671 imma [7642:imma_om_api.c:2092] <<
ccb_object_create_common
Apr 6 15:31:49.950709 imma [7642:imma_proc.c:2396] TR ccb-object-create
callback returned RC:1
IMMND Trace:
Apr 6 15:31:37.934582 osafimmnd [7422:immnd_evt.c:5978] T2 MAKING
OI-IMPLEMENTER OBJ CREATE upcall towards agent
Apr 6 15:31:37.935214 osafimmnd [7422:immnd_evt.c:6064] <<
immnd_evt_proc_object_create
Apr 6 15:31:37.935231 osafimmnd [7422:immnd_evt.c:8658] >> dequeue_outgoing
Apr 6 15:31:37.935236 osafimmnd [7422:immnd_evt.c:8664] TR Pending replies:0
space:16 out list?:(nil)
Apr 6 15:31:37.935241 osafimmnd [7422:immnd_evt.c:8693] << dequeue_outgoing
Apr 6 15:31:37.935244 osafimmnd [7422:immnd_evt.c:8777] <<
immnd_evt_proc_fevs_rcv
Apr 6 15:31:38.607788 osafimmnd [7422:immnd_proc.c:1637] T5 tmout:1000 ste:10
ME:24 RE:24 crd:0 rim:KEEP_REPO 4.3A:1 2Pbe:0 VetA/B: 1/0 othsc:0/0
Apr 6 15:31:43.632884 osafimmnd [7422:immnd_proc.c:1637] T5 tmout:1000 ste:10
ME:24 RE:24 crd:0 rim:KEEP_REPO 4.3A:1 2Pbe:0 VetA/B: 1/0 othsc:0/0
Apr 6 15:31:43.888439 osafimmnd [7422:immnd_evt.c:8716] >>
immnd_evt_proc_fevs_rcv
Apr 6 15:31:43.888514 osafimmnd [7422:immnd_evt.c:8734] T2 REMOTE FEVS
received. Messages from me still pending:0
Apr 6 15:31:43.888605 osafimmnd [7422:immsv_evt.c:5500] T8 Received:
IMMND_EVT_D2ND_ABORT_CCB (62) from 0
Apr 6 15:31:43.888650 osafimmnd [7422:immnd_evt.c:7364] >>
immnd_evt_proc_ccb_finalize
Apr 6 15:31:43.888676 osafimmnd [7422:immnd_evt.c:6621] >> immnd_evt_ccb_abort
Apr 6 15:31:43.888696 osafimmnd [7422:immnd_evt.c:6625] TR We expect there to
be a PBE
Apr 6 15:31:43.888723 osafimmnd [7422:ImmModel.cc:5562] >> ccbAbort
Apr 6 15:31:43.888750 osafimmnd [7422:ImmModel.cc:5571] T5 ABORT CCB 2
Apr 6 15:31:43.888829 osafimmnd [7422:ImmModel.cc:5580] NO Aborting ccb 2
while waiting for reply from implementer on CREATE-OP
Apr 6 15:31:43.888891 osafimmnd [7422:ImmModel.cc:5640] NO Ccb 2 ABORTED
(exowner)
Also the environment variable for IMMA_OI_CALLBACK_TIMEOUT is set to 8 seconds.
But the timeout happened at 6 seconds. IMMA library code snippet:
if(cl_node->isImmA2e && (timeout_env_value =
getenv("IMMA_OI_CALLBACK_TIMEOUT"))!=NULL) {
char *endp = NULL;
cl_node->oiTimeout = strtol(timeout_env_value, &endp, 10);
if(!endp || *endp) {
TRACE_2("Failed to parse IMMA_OI_CALLBACK_TIMEOUT. "
"OI timeout will be set to the default
value");
cl_node->oiTimeout = 0;
} else {
TRACE_2("IMMA library OI timeout set to:%u",
cl_node->oiTimeout);
}
} else {
cl_node->oiTimeout = 0;
}
The IMMA OI agent needs to be A.2.14 to set the variable according to the
implementation. But there is no information on the dependency on version in the
documentation.
---
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.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets