Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1313339

Summary: features.sharding is not available in 'gluster volume set help'
Product: [Community] GlusterFS Reporter: Krutika Dhananjay <kdhananj>
Component: shardingAssignee: Krutika Dhananjay <kdhananj>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 3.7.9CC: bugs, rkavunga, sabose, sasundar
Target Milestone: ---Keywords: EasyFix, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1261773 Environment:
Last Closed: 2016-04-19 07:22:11 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    
Bug Blocks: 1313320    

Description Krutika Dhananjay 2016-03-01 12:32:32 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

--- Additional comment from Vijay Bellur on 2016-03-01 07:25:12 EST ---

REVIEW: http://review.gluster.org/13565 (mgmt/glusterd: Show features.shard option in volume-set-help output) posted (#1) for review on master by Krutika Dhananjay (kdhananj)

Comment 1 Vijay Bellur 2016-03-01 12:33:33 UTC
REVIEW: http://review.gluster.org/13566 (mgmt/glusterd: Show features.shard option in volume-set-help output) posted (#1) for review on release-3.7 by Krutika Dhananjay (kdhananj)

Comment 2 Vijay Bellur 2016-03-01 12:39:53 UTC
REVIEW: http://review.gluster.org/13566 (mgmt/glusterd: Show features.shard option in volume-set-help output) posted (#2) for review on release-3.7 by Krutika Dhananjay (kdhananj)

Comment 3 Vijay Bellur 2016-03-03 11:47:31 UTC
REVIEW: http://review.gluster.org/13566 (mgmt/glusterd: Show features.shard option in volume-set-help output) posted (#3) for review on release-3.7 by Krutika Dhananjay (kdhananj)

Comment 4 Vijay Bellur 2016-03-04 03:45:25 UTC
COMMIT: http://review.gluster.org/13566 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) 
------
commit 8197b46b37cc573c67ba0c3a44539064345eb926
Author: Krutika Dhananjay <kdhananj>
Date:   Tue Mar 1 17:31:11 2016 +0530

    mgmt/glusterd: Show features.shard option in volume-set-help output
    
            Backport of: http://review.gluster.org/#/c/13565/
    
    Change-Id: Ief6f62c65dd8cc736edc785ac06af6ee7309862c
    BUG: 1313339
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/13566
    Smoke: Gluster Build System <jenkins.com>
    CentOS-regression: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 5 Kaushal 2016-04-19 07:22:11 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.9, please open a new bug report.

glusterfs-3.7.9 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://www.gluster.org/pipermail/gluster-users/2016-March/025922.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user