- **status**: assigned --> review
---
** [tickets:#2652] clm: return wrong error code**
**Status:** review
**Milestone:** 5.17.10
**Created:** Tue Oct 24, 2017 05:09 AM UTC by Vu Minh Nguyen
**Last Updated:** Tue Oct 24, 2017 05:09 AM UTC
**Owner:** Vu Minh Nguyen
saClmClusterNodeGet_4() returns `SA_AIS_ERR_UNAVAILABLE`(31) when querying
non-member node information from a member node.
According to AIS, chapter 3.5.5, it should return `SA_AIS_ERR_NOT_EXIST`
instead.
> root@SC-1:~# clm-state
> safNode=PL-3,safCluster=myClmCluster
> saClmNodeAdminState=LOCKED(2)
> saClmNodeIsMember=NON_MEMBER(0)
> saClmNodeID=131855(0x2030f)
> safNode=PL-4,safCluster=myClmCluster
> saClmNodeAdminState=UNLOCKED(1)
> saClmNodeIsMember=MEMBER(1)
> saClmNodeID=132111(0x2040f)
> safNode=PL-5,safCluster=myClmCluster
> saClmNodeAdminState=UNLOCKED(1)
> saClmNodeIsMember=MEMBER(1)
> saClmNodeID=132367(0x2050f)
> safNode=SC-1,safCluster=myClmCluster
> saClmNodeAdminState=UNLOCKED(1)
> saClmNodeIsMember=MEMBER(1)
> saClmNodeID=131343(0x2010f)
> safNode=SC-2,safCluster=myClmCluster
> saClmNodeAdminState=UNLOCKED(1)
> saClmNodeIsMember=MEMBER(1)
> saClmNodeID=131599(0x2020f)
> root@SC-1:~# clmprint -n 0x2030f
> node_id:131855(2030f)
> error - clmprint:: saClmClusterNodeGet_4 failed, rc = 31
---
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