- **status**: unassigned --> accepted
- **assigned_to**: Praveen


---

** [tickets:#1689] ntf/imcn : IMCN asserts when saImmOmClassDescriptionGet() 
returns ERR_TIME_OUT.**

**Status:** accepted
**Milestone:** 4.6.2
**Created:** Fri Mar 04, 2016 09:25 AM UTC by Praveen
**Last Updated:** Fri Mar 04, 2016 09:25 AM UTC
**Owner:** Praveen
**Attachments:**

- 
[imcn_repr.patch](https://sourceforge.net/p/opensaf/tickets/1689/attachment/imcn_repr.patch)
 (975 Bytes; application/octet-stream)
- 
[osafimmnd](https://sourceforge.net/p/opensaf/tickets/1689/attachment/osafimmnd)
 (2.6 MB; application/octet-stream)
- 
[osafntfcn](https://sourceforge.net/p/opensaf/tickets/1689/attachment/osafntfcn)
 (24.1 kB; application/octet-stream)


For getting rdn attribute name, IMCN calls saImmOmClassDescriptionGet_2() API. 
If this API returns ERR-TIME_OUT, IMCN is not giving a retry and asserts. 
Currently IMCN give a retry only when its gets ERR_TRY_AGAIN.
Above API call will allocate memroy for class description that will be freed by 
application (here IMCN)
 by calling saImmOmClassDescriptionMemoryFree(). This API never returns 
TRY_AGAIN as per IMM spec, so retry loop for this API in ntfimcn_imm.c can be 
removed.
 
traces from ntfcn:
Mar  4 14:25:55.792614 osafntfimcnd [15265:imma_om_api.c:5070] TR ClassName: 
OsafNtfCmTestCFG
Mar  4 14:25:55.792630 osafntfimcnd [15265:imma_om_api.c:5087] TR ClassDescrGet 
3
Mar  4 14:25:56.794112 osafntfimcnd [15265:imma_om_api.c:5331] << 
saImmOmClassDescriptionGet_2
Mar  4 14:25:56.794157 osafntfimcnd [15265:ntfimcn_imm.c:0134] NO DEBUG: Class 
description :5
Mar  4 14:25:56.794176 osafntfimcnd [15265:ntfimcn_imm.c:0136] ER 
saImmOmClassDescriptionGet_2 failed SA_AIS_ERR_TIMEOUT (5)
Issue is too random to get reproduced, so above traces are reproduced after  
forcing the API tp return time out by introducing a slee in immnd (could not 
find any elegant way to reproduce it). I have attached patch to reproduce it 
(imcn_repr.patch).
Also attached immnd and ntfcn traces.

 


---

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.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to