- **status**: assigned --> review


---

** [tickets:#2651] clm: clmprint does not work as expected**

**Status:** review
**Milestone:** 5.17.10
**Created:** Mon Oct 23, 2017 10:40 AM UTC by Vu Minh Nguyen
**Last Updated:** Mon Oct 23, 2017 10:40 AM UTC
**Owner:** Vu Minh Nguyen


1. clmprint returns 0 for the error case
> root@SC-1:~# clmprint -n 0x3060f
> node_id:198159(3060f)
> error - clmprint:: saClmClusterNodeGet_4 failed, rc = 12
> root@SC-1:~# echo $?

2. clmprint does not handle invalid inputs
> clmprint -b -m -a -n
> node_id:4294967295(ffffffff)
> node_id:4294967295(ffffffff)
> ...

3. clmprint is not able to print non-member node information
> root@SC-1:~# clm-adm -o lock safNode=PL-5,safCluster=myClmCluster
> root@SC-1:~# clm-state safNode=PL-5,safCluster=myClmCluster
> safNode=PL-5,safCluster=myClmCluster
> saClmNodeAdminState=LOCKED(2)
> saClmNodeIsMember=NON_MEMBER(0)
> saClmNodeID=132367(0x2050f)
> root@SC-1:~# clmprint -n 0x2050f
> node_id:132367(2050f)
> error - clmprint:: saClmClusterNodeGet_4 failed, rc = 31


---

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.
------------------------------------------------------------------------------
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
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to