Bug 1004801 - cluster.nufa :- cluster.nufa option should accept only 2 values - on or off
Summary: cluster.nufa :- cluster.nufa option should accept only 2 values - on or off
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterfs
Version: 2.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-05 13:58 UTC by Rachana Patel
Modified: 2015-11-27 12:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-27 12:10:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Rachana Patel 2013-09-05 13:58:02 UTC
Description of problem:
cluster.nufa :- cluster.nufa option should accept only 2 values - on or off

Version-Release number of selected component (if applicable):
3.4.0.30rhs-2.el6_4.x86_64

How reproducible:
always

Steps to Reproduce:
[root@DHT3 ~]# gluster volume set nufa cluster.nufa om
volume set: success
[root@DHT3 ~]# gluster volume info nufa
Volume Name: nufa
Type: Distribute
Volume ID: dd08d0e3-3b71-4d1b-8102-fd6067ecc263
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: 10.70.37.195:/rhs/brick2/n1
Brick2: 10.70.37.66:/rhs/brick2/n1
Brick3: 10.70.37.98:/rhs/brick2/n1
Options Reconfigured:
cluster.nufa: om
[root@DHT3 ~]# gluster volume set nufa cluster.nufa 55
volume set: success
[root@DHT3 ~]# gluster volume info nufa
Volume Name: nufa
Type: Distribute
Volume ID: dd08d0e3-3b71-4d1b-8102-fd6067ecc263
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: 10.70.37.195:/rhs/brick2/n1
Brick2: 10.70.37.66:/rhs/brick2/n1
Brick3: 10.70.37.98:/rhs/brick2/n1
Options Reconfigured:
cluster.nufa: 55
[root@DHT3 ~]# gluster volume set nufa cluster.nufa anything
volume set: success
[root@DHT3 ~]# gluster volume info nufa
Volume Name: nufa
Type: Distribute
Volume ID: dd08d0e3-3b71-4d1b-8102-fd6067ecc263
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: 10.70.37.195:/rhs/brick2/n1
Brick2: 10.70.37.66:/rhs/brick2/n1
Brick3: 10.70.37.98:/rhs/brick2/n1
Options Reconfigured:
cluster.nufa: anything

Actual results:
user is able to set any value for that option

Expected results:
cluster.nufa option should accept only 2 values - on or off

Additional info:


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