Bug 1313320

Summary: features.sharding is not available in 'gluster volume set help'
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Sahina Bose <sabose>
Component: replicateAssignee: Krutika Dhananjay <kdhananj>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: low    
Version: rhgs-3.1CC: bugs, kdhananj, nchilaka, rcyriac, rhs-bugs, rkavunga, sabose, sasundar, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.9-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1261773 Environment:
Last Closed: 2016-06-23 05:09:45 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:
Bug Depends On: 1261773, 1313339    
Bug Blocks: 1258386, 1299184    

Description Sahina Bose 2016-03-01 11:43:47 UTC
+++ This bug was initially created as a clone of Bug #1261773 +++

Description of problem:
-----------------------
There is no description about the volume set option - 'features.shard' - found in the 'gluster volume set help' output

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

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. check for the option - features.shard - in 'gluster volume set help'

Actual results:
---------------
No description was found about 'features.shard' in 'gluster volume set help'

Expected results:
-----------------
Description about 'features.shard' should be available in 'gluster volume set help'

Additional info:
----------------
Consequence of this issue :

oVirt - which manages gluster nodes - uses 'gluster volume set help' to get all the options that are available to be set/unset on the volume and populates them in a dropdown list.

Now there is no way to enable sharding from oVirt

--- Additional comment from SATHEESARAN on 2015-09-10 03:16:02 EDT ---

[root@ ~]# gluster volume set help | grep -i shard -A3
Option: features.shard-block-size
Default Value: 4MB
Description: The size unit used to break a file into multiple chunks

Comment 1 Krutika Dhananjay 2016-03-01 12:43:24 UTC
Upstream patches posted at: http://review.gluster.org/#/c/13565/
                            http://review.gluster.org/#/c/13566/

Comment 4 SATHEESARAN 2016-03-29 06:44:31 UTC
Tested with RHGS 3.1.3 nightly build ( glusterfs-3.7.9-1.el7rhgs )

The sharding options are available with 'gluster volume set help'

[root@ ]# gluster volume set help | grep shard -A4
Option: features.shard
Default Value: off
Description: enable/disable sharding translator on the volume.

Option: features.shard-block-size
Default Value: 4MB
Description: The size unit used to break a file into multiple chunks

Comment 6 errata-xmlrpc 2016-06-23 05:09:45 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://access.redhat.com/errata/RHBA-2016:1240