Bug 859183

Summary: volume set gives wrong help question
Product: [Community] GlusterFS Reporter: Pranith Kumar K <pkarampu>
Component: glusterdAssignee: bugs <bugs>
Status: CLOSED EOL QA Contact:
Severity: unspecified Docs Contact:
Priority: medium    
Version: mainlineCC: bugs, gluster-bugs, lancelotds
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-22 15:46:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pranith Kumar K 2012-09-20 18:19:43 UTC
Description of problem:
[root@pranithk-laptop ~]# gluster volume set r2 nfs disable
option : nfs does not exist
Did you mean nfs?
Set volume unsuccessful

If nfs option is not present why is it saying Did you mean nfs again?

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jules Wang 2012-10-16 07:54:28 UTC
The cause of the bug is: the author of related code assumes that options only consist of two sections, such as "XXX.XXX".

When it is given the option like: "performance.nfs.read-ahead", it fails to work well.

The related function ls glusterd-volgen.c: volopt_trie, volopt_trie_section.

Full fix is not easy because the poor design. 


Or shall we limit all the options to two sections?

Comment 2 Kaleb KEITHLEY 2015-10-22 15:46:38 UTC
because of the large number of bugs filed against mainline version\ is ambiguous and about to be removed as a choice.

If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it.