Bug 1161111 - gluster vol set testvol features.uss command accepts invalid random values
Summary: gluster vol set testvol features.uss command accepts invalid random values
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: snapshot
Version: rhgs-3.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: RHGS 3.0.4
Assignee: Gaurav Kumar Garg
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1179175
Blocks: 1182947
TreeView+ depends on / blocked
 
Reported: 2014-11-06 12:02 UTC by Anil Shah
Modified: 2016-09-17 12:54 UTC (History)
8 users (show)

Fixed In Version: glusterfs-3.6.0.44-1
Doc Type: Bug Fix
Doc Text:
Previously, a non-boolean value would get set for the "features.uss" option in the volume option table. This caused the failure of subsequent volume set operation as the "features.uss" option did not contain a valid boolean value. With this fix, the "features.uss" option only accepts boolean values.
Clone Of:
: 1179175 (view as bug list)
Environment:
Last Closed: 2015-03-26 06:34:51 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0682 0 normal SHIPPED_LIVE Red Hat Storage 3.0 enhancement and bug fix update #4 2015-03-26 10:32:55 UTC

Description Anil Shah 2014-11-06 12:02:47 UTC
Description of problem:

gluster v set testvol features.uss  command accepts invalid random values
which are irrelevant.

 
Version-Release number of selected component (if applicable):

[root@rhsauto017 yum.repos.d]# rpm -qa | grep glusterfs
glusterfs-libs-3.6.0.31-1.el6rhs.x86_64
glusterfs-cli-3.6.0.31-1.el6rhs.x86_64
glusterfs-3.6.0.31-1.el6rhs.x86_64
glusterfs-fuse-3.6.0.31-1.el6rhs.x86_64
glusterfs-server-3.6.0.31-1.el6rhs.x86_64
glusterfs-rdma-3.6.0.31-1.el6rhs.x86_64
samba-glusterfs-3.6.509-169.1.el6rhs.x86_64
glusterfs-api-3.6.0.31-1.el6rhs.x86_64
glusterfs-geo-replication-3.6.0.31-1.el6rhs.x86_64

How reproducible:

100%

Steps to Reproduce:

1. [root@rhsauto017 yum.repos.d]# gluster v set testvol  features.uss  fdhfdlkfadlkf
volume set: success

2. [root@rhsauto017 yum.repos.d]# gluster v info
 
Volume Name: testvol
Type: Distributed-Replicate
Volume ID: 6c43e6df-3981-43eb-b9b2-422616775a49
Status: Started
Snap Volume: no
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.36.247:/rhs/brick1
Brick2: 10.70.36.248:/rhs/brick1
Brick3: 10.70.36.250:/rhs/brick1
Brick4: 10.70.36.251:/rhs/brick1
Options Reconfigured:
features.uss: fdhfdlkfadlkf
performance.readdir-ahead: on
snap-max-hard-limit: 256
snap-max-soft-limit: 90
auto-delete: disable

Actual results:
gluster command accepts invalid values and gives success message
stdout:volume set: success

Expected results:
gluster command should only accepts valid values like enable or disable 

Additional info:


Document URL: 

Section Number and Name: 

Describe the issue: 

Suggestions for improvement: 

Additional information:

Comment 2 Atin Mukherjee 2015-01-21 05:17:58 UTC
This bug is identified as a MUST_FIX under 3.0.4 bucket and hence setting the target milestone to 3.0.4.

Comment 3 SATHEESARAN 2015-01-21 05:51:24 UTC
Providing the qa_ack for this bug as this could be verified within the release timeline

Comment 4 SATHEESARAN 2015-02-12 11:46:53 UTC
Verified with glusterfs-3.6.0.44-1.el6rhs

Comment 6 Bhavana 2015-03-22 19:11:18 UTC
Hi Gaurav,

The doc text is updated. Please review the same and sign off if it looks ok.

Comment 7 Gaurav Kumar Garg 2015-03-24 10:53:52 UTC
Hi Bhavana,

This doc text looks good to me.

Comment 9 errata-xmlrpc 2015-03-26 06:34:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0682.html


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