Bug 131034 - "cman tool kill -n" usage and man page are inconsistent
Summary: "cman tool kill -n" usage and man page are inconsistent
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: gfs
Version: 4
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christine Caulfield
QA Contact: GFS Bugs
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-26 19:44 UTC by Corey Marthaler
Modified: 2010-01-12 02:57 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2004-09-08 14:18:20 UTC


Attachments (Terms of Use)

Description Corey Marthaler 2004-08-26 19:44:04 UTC
Description of problem:
from man page:

KILL OPTIONS
       -n <nodeid>
              The node ID of the node to be killed. Node IDs can  be 
obtained
              by looking in /proc/cluster/nodes

from usage:

-n <nodename>  * The name of this node (defaults to unqualified hostname)

DOESN'T WORK:
[root@morph-02 root]# cman_tool kill -n morph-03
cman_tool: kill node failed

WORKS:
[root@morph-02 root]# cman_tool kill -n 1

Comment 1 Christine Caulfield 2004-09-06 12:53:36 UTC
Changed "kill -n" to take a node name rather than a number. I think
this makes more sense than a number.


Checking in cman_tool/main.c;
/cvs/cluster/cluster/cman/cman_tool/main.c,v  <--  main.c
new revision: 1.7; previous revision: 1.6
done
Checking in man/cman_tool.8;
/cvs/cluster/cluster/cman/man/cman_tool.8,v  <--  cman_tool.8
new revision: 1.2; previous revision: 1.1
done


Comment 2 Corey Marthaler 2004-09-08 14:18:20 UTC
fix verified.

Comment 3 Kiersten (Kerri) Anderson 2004-11-16 19:04:22 UTC
Updating version to the right level in the defects.  Sorry for the storm.


Note You need to log in before you can comment on or make changes to this bug.