Red Hat Bugzilla – Bug 859183
volume set gives wrong help question
Last modified: 2015-10-22 11:46:38 EDT
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):
Steps to Reproduce:
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?
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.