Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1057798

Summary: volume option,'s default value is (1 * 1048576ULL)
Product: Red Hat Gluster Storage Reporter: Dustin Tsang <dtsang>
Component: rhscAssignee: anmol babu <anbabu>
Status: CLOSED EOL QA Contact: storage-qa-internal <storage-qa-internal>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.1CC: mmccune, nlevinki, rhs-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-03 17:22:42 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:
Description Flags
Data from vdsm to backend none

Description Dustin Tsang 2014-01-24 22:23:23 UTC
Description of problem:

When adding a volume option,, to a volume. The default value given (1 * 1048576ULL) isn't valid

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


How reproducible:

100% of the time

Steps to Reproduce:
1. create a simple dist volume
2. on the volume main tab, select the volume
3. in the volume option sub-tab, select 'add'
4, in the modal that opens, select the option
5. click 'ok' on the modal

Actual results:
 alert is given with text, 
"Operation Canceled
Error while executing action Set Gluster Volume Option: Volume set failed
error: invalid number format "(1*1048576ULL)" in option "nfs3_read-size"
return code: 22"

Expected results:
Default value for should just be 1048576

Additional info:

Comment 2 anmol babu 2014-10-02 08:25:22 UTC
Created attachment 943325 [details]
Data from vdsm to backend

Data from vdsm to backend

Comment 3 anmol babu 2014-10-02 08:30:07 UTC
As can be seen in the engine debug screenshot attached, the data is coming to the engine as 1*1048576ULL i.e, the query to get the options list for a selected volume is fetching the list from vdsm and the list from vdsm contains the value for as 1*1048576ULL

Comment 4 anmol babu 2014-10-13 09:46:10 UTC
Getting the same value from the output of :
gluster volume set help-xml 

Comment 6 Vivek Agarwal 2015-12-03 17:22:42 UTC
Thank you for submitting this issue for consideration in Red Hat Gluster Storage. The release for which you requested us to review, is now End of Life. Please See

If you can reproduce this bug against a currently maintained version of Red Hat Gluster Storage, please feel free to file a new report against the current release.