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
commit ba5302f6e65108d9023b16b3bd8e4986fe178ea8 (HEAD, origin/develop, ticket-2652, develop)
Author: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
Date: Thu Oct 26 09:38:35 2017 +0700