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

Bug 1096616

Summary: [RFE] Allow options to be enabled on new volumes based on op-version
Product: [Community] GlusterFS Reporter: Kaushal <kaushal>
Component: glusterdAssignee: Kaushal <kaushal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.6.0beta1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-11 08:32:22 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:    
Bug Blocks: 1096614, 1216187, 1217135    

Description Kaushal 2014-05-12 07:14:49 UTC
We need a way to allow options to be enabled on newly created volumes based on the cluster op-version. This will allow features like open-behind and readdir-ahead to be enabled automatically for new volumes.

Comment 1 Anand Avati 2014-05-12 07:42:36 UTC
REVIEW: http://review.gluster.org/7734 (glusterd: Allow setting volume options by default based on op-version) posted (#1) for review on master by Kaushal M (kaushal)

Comment 2 Anand Avati 2014-05-12 07:42:43 UTC
REVIEW: http://review.gluster.org/7735 (glusterd: Use new default options framework to enable open-behind) posted (#1) for review on master by Kaushal M (kaushal)

Comment 3 Anand Avati 2014-05-12 11:19:49 UTC
REVIEW: http://review.gluster.org/7734 (glusterd: Allow setting volume options by default based on op-version) posted (#2) for review on master by Kaushal M (kaushal)

Comment 4 Anand Avati 2014-05-12 11:19:55 UTC
REVIEW: http://review.gluster.org/7735 (glusterd: Use new default options framework to enable open-behind) posted (#2) for review on master by Kaushal M (kaushal)

Comment 5 Anand Avati 2014-05-13 10:47:46 UTC
REVIEW: http://review.gluster.org/7734 (glusterd: Allow setting volume options by default based on op-version) posted (#3) for review on master by Kaushal M (kaushal)

Comment 6 Anand Avati 2014-05-13 10:47:54 UTC
REVIEW: http://review.gluster.org/7735 (glusterd: Use new default options framework to enable open-behind) posted (#3) for review on master by Kaushal M (kaushal)

Comment 7 Anand Avati 2014-05-14 10:14:40 UTC
COMMIT: http://review.gluster.org/7734 committed in master by Krishnan Parthasarathi (kparthas) 
------
commit bfde478cedda8267134ee3807c8db5e042115eae
Author: Kaushal M <kaushal>
Date:   Mon May 12 11:22:36 2014 +0530

    glusterd: Allow setting volume options by default based on op-version
    
    A new function glusterd_enable_default_options is introduced, which will
    set some volume options on a volume based on op-version. This function
    is called near the end of the volume create and will allow some options
    to be enabled based on op-version on newly created volumes. This will
    also be called during volume reset, to reset the options to their
    default values if they had changed.
    
    Change-Id: I91057d9e42409b17a884728b43ae3721328d4831
    BUG: 1096616
    Signed-off-by: Kaushal M <kaushal>
    Reviewed-on: http://review.gluster.org/7734
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Atin Mukherjee <amukherj>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Krishnan Parthasarathi <kparthas>

Comment 8 Anand Avati 2014-05-20 10:39:04 UTC
REVIEW: http://review.gluster.org/7735 (glusterd: Use new default options framework to enable open-behind) posted (#4) for review on master by Kaushal M (kaushal)

Comment 9 Anand Avati 2014-05-26 09:21:23 UTC
REVIEW: http://review.gluster.org/7735 (glusterd: Use new default options framework to enable open-behind) posted (#5) for review on master by Kaushal M (kaushal)

Comment 10 Anand Avati 2014-05-29 06:38:31 UTC
REVIEW: http://review.gluster.org/7735 (glusterd: Use new default options framework to enable open-behind) posted (#6) for review on master by Kaushal M (kaushal)

Comment 11 Niels de Vos 2014-09-22 12:40:15 UTC
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED.

Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html
[2] http://supercolony.gluster.org/pipermail/gluster-users/

Comment 12 Niels de Vos 2014-11-11 08:32:22 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.6.1, please reopen this bug report.

glusterfs-3.6.1 has been announced [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] http://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html
[2] http://supercolony.gluster.org/mailman/listinfo/gluster-users