- **status**: review --> fixed
- **assigned_to**: Vu Minh Nguyen --> nobody
- **Comment**:
commit 8bc5c1badd2934caa9de550bc03421faf9e2a6af (HEAD, origin/develop, develop)
Author: Vu Minh Nguyen <[email protected]>
Date: Wed Nov 15 09:54:57 2017 +0700
clm: clmprint does not work as expected [#2651]
clmprint should exit with EXIT_FAILURE when querying non-member node.
---
** [tickets:#2651] clm: clmprint does not work as expected**
**Status:** fixed
**Milestone:** 5.18.01
**Created:** Mon Oct 23, 2017 10:40 AM UTC by Vu Minh Nguyen
**Last Updated:** Mon Nov 06, 2017 06:02 AM UTC
**Owner:** nobody
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 [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