Apart from ERR_LIBRARY, saEvtChannelUnlink api returns SA_AIS_ERR_NOT_EXIST.
---
** [tickets:#211] saEvtChannelUnlink API returns SA_AIS_ERR_LIBRARY in a corner
case.**
**Status:** unassigned
**Milestone:** future
**Created:** Wed May 15, 2013 07:09 AM UTC by Mathi Naickan
**Last Updated:** Wed Jul 15, 2015 02:50 PM UTC
**Owner:** nobody
**Attachments:**
- [osafevtd](https://sourceforge.net/p/opensaf/tickets/211/attachment/osafevtd)
(178.2 kB; application/octet-stream)
Setup:
SLES 11 64bit VM setup.
Test Scenario:
1. Invoke saEvtInitialize.
2. Open Channel as CREATE and PUBLISHER
3. Allocate, AttributeSet? and Free the Event
4. Close and Unlink the Channel
5. Finalize Evt session.
Observed from /var/log/messages that runtime object delete fails for evt
channel.
================================================
Oct 4 18:33:31 linux-b4xy osafevtd[4588]: saImmOiRtObjectDelete failed.
Channel: safChnl=channel_37. rc = 12
=================================================
>From osafevtd logs:
======================
Oct 4 18:33:31.846959 osafevtd [4588:eds_evt.c:1079] >> eds_proc_eda_api_msg
Oct 4 18:33:31.846974 osafevtd [4588:eds_evt.c:0444] >>
eds_proc_chan_unlink_msg: agent dest: 20100310f003d
Oct 4 18:33:31.846989 osafevtd [4588:eds_ll.c:1669] >> eds_channel_unlink:
channel name: safChnl=channel_37
Oct 4 18:33:31.847004 osafevtd [4588:eds_ll.c:1674] TR Use count: 0
Oct 4 18:33:31.847019 osafevtd [4588:eds_ll.c:0505] >> is_active_channel:
chan_name: safChnl=channel_37
Oct 4 18:33:31.847034 osafevtd [4588:eds_ll.c:0513] << is_active_channel: true:
channel is not marked as unlinked
Oct 4 18:33:31.847050 osafevtd [4588:eds_ll.c:1678] TR Setting the unlink flag
for this channel
Oct 4 18:33:31.847064 osafevtd [4588:eds_ll.c:0389] >> eds_remove_cname_rec:
chan_name: safChnl=channel_37
Oct 4 18:33:31.847080 osafevtd [4588:eds_ll.c:0410] << eds_remove_cname_rec
Oct 4 18:33:31.847095 osafevtd [4588:eds_ll.c:1684] TR Use count is zero,
delete the and IMM object
Oct 4 18:33:31.848039 osafevtd [4588:eds_ll.c:1689] ER saImmOiRtObjectDelete
failed. Channel: safChnl=channel_37. rc = 12
Oct 4 18:33:31.848058 osafevtd [4588:eds_ll.c:1690] << eds_channel_unlink
Oct 4 18:33:31.848073 osafevtd [4588:eds_evt.c:0449] TR Channel unlink failed
for :20100310f003d
==============================================
Changeset: 2852
Note: When this scenario is run in batch mode, this issue is observed.
---
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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets