Bug 145560 - cman_tool version -r shouldn't allow non ints to be used since ccs doesn't
cman_tool version -r shouldn't allow non ints to be used since ccs doesn't
Status: CLOSED CURRENTRELEASE
Product: Red Hat Cluster Suite
Classification: Red Hat
Component: cman (Show other bugs)
4
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Christine Caulfield
Cluster QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-19 13:58 EST by Corey Marthaler
Modified: 2009-04-16 15:59 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-01-28 18:28:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Corey Marthaler 2005-01-19 13:58:03 EST
Description of problem:
[root@morph-04 root]# cat /proc/cluster/status
Protocol version: 4.0.1
Config version: 11
Cluster name: morph-cluster
Cluster ID: 41652
Membership state: Cluster-Member
Nodes: 5
Expected_votes: 5
Total_votes: 5
Quorum: 3
Active subsystems: 0
Node addresses: 192.168.44.64

[root@morph-04 root]# cman_tool version -r 12.6

[root@morph-04 root]# cat /proc/cluster/status
Protocol version: 4.0.1
Config version: 12
Cluster name: morph-cluster
Cluster ID: 41652
Membership state: Cluster-Member
Nodes: 5
Expected_votes: 5
Total_votes: 5
Quorum: 3
Active subsystems: 0
Node addresses: 192.168.44.64

[root@morph-04 root]# cman_tool version -r "-3"

[root@morph-04 root]# cat /proc/cluster/status
Protocol version: 4.0.1
Config version: -3
Cluster name: morph-cluster
Cluster ID: 41652
Membership state: Cluster-Member
Nodes: 5
Expected_votes: 5
Total_votes: 5
Quorum: 3
Active subsystems: 0
Node addresses: 192.168.44.64


How reproducible:
Always


CMAN <CVS> (built Jan 18 2005 12:59:17)
Comment 1 Christine Caulfield 2005-01-26 05:01:12 EST
Improved validation

Checking in main.c;
/cvs/cluster/cluster/cman/cman_tool/main.c,v  <--  main.c
new revision: 1.15; previous revision: 1.14
done
Checking in main.c;
/cvs/cluster/cluster/cman/cman_tool/main.c,v  <--  main.c
new revision: 1.12.2.2; previous revision: 1.12.2.1
done
Comment 2 Corey Marthaler 2005-01-28 18:28:04 EST
fix verified.

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