Red Hat Bugzilla – Bug 826463
Gluster - Backend: Exception on entering bad text in Volume Options
Last modified: 2015-11-22 21:57:15 EST
Created attachment 587654 [details]
Entering bad text in the Volume Options produces an exception. In my example I entered "xxx" in "nfs.disable", which only accepts values of "on" and "off".
Do you mean UI allows to enter other than on/off?
Do you see exception similar to
Can you attach respective vdsm log?
Yes, the UI allows entering any text in the textbox.
Attaching vdsm.log (from a new reproduction of the same flow).
Created attachment 588012 [details]
UI does not enforce validations on the values of options. If you enter invalid values for options, glusterfs will throw an error (seen in the vdsm.log attached by you). This error should be displayed on the UI as well.
There was a problem in vdsm (823565) when you raised this bug, because of which it used to crash and proper error didn't reach the UI. This is fixed now, and you should see the error returned by glusterfs on the UI as well.
Closing the bug, marking it as duplicate of 823565.
*** This bug has been marked as a duplicate of bug 823565 ***