[Bugs] [Bug 1402366] New: NFS-Ganesha: Volume reset for any option causes reset of ganesha enable option and bring down the ganesha services

bugzilla at redhat.com bugzilla at redhat.com
Wed Dec 7 11:42:38 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1402366

            Bug ID: 1402366
           Summary: NFS-Ganesha:Volume reset for any option causes reset
                    of ganesha enable option and bring down the ganesha
                    services
           Product: GlusterFS
           Version: 3.9
         Component: glusterd
          Keywords: Triaged
          Severity: high
          Assignee: jthottan at redhat.com
          Reporter: jthottan at redhat.com
                CC: amukherj at redhat.com, bugs at gluster.org,
                    jthottan at redhat.com, kkeithle at redhat.com,
                    rhinduja at redhat.com, rhs-bugs at redhat.com,
                    sbhaloth at redhat.com, skoduri at redhat.com,
                    storage-qa-internal at redhat.com
        Depends On: 1397450, 1397795



+++ This bug was initially created as a clone of Bug #1397795 +++

+++ This bug was initially created as a clone of Bug #1397450 +++

Description of problem:
********************************
When any of the volume option is reset, error is seen in the cli output and
ganesha options are also reset with bringing down the ganesha services .

I executed gluster vol volname reset readdir-ahead

gluster vol reset ganesha readdir-ahead 
volume reset: success: Dynamic export addition/deletion failed. Please see log
file for details



 pcs status
Cluster name: ganesha-ha-360
Stack: corosync
Current DC: dhcp47-147.lab.eng.blr.redhat.com (version
1.1.15-11.el7_3.2-e174ec8) - partition with quorum
Last updated: Tue Nov 22 18:15:59 2016        Last change: Tue Nov 22 18:15:42
2016 by root via crm_attribute on dhcp47-137.lab.eng.blr.redhat.com

4 nodes and 24 resources configured

Online: [ dhcp47-104.lab.eng.blr.redhat.com dhcp47-105.lab.eng.blr.redhat.com
dhcp47-137.lab.eng.blr.redhat.com dhcp47-147.lab.eng.blr.redhat.com ]

Full list of resources:

 Clone Set: nfs_setup-clone [nfs_setup]
     Started: [ dhcp47-104.lab.eng.blr.redhat.com
dhcp47-105.lab.eng.blr.redhat.com dhcp47-137.lab.eng.blr.redhat.com
dhcp47-147.lab.eng.blr.redhat.com ]
 Clone Set: nfs-mon-clone [nfs-mon]
     Started: [ dhcp47-104.lab.eng.blr.redhat.com
dhcp47-105.lab.eng.blr.redhat.com dhcp47-137.lab.eng.blr.redhat.com
dhcp47-147.lab.eng.blr.redhat.com ]
 Clone Set: nfs-grace-clone [nfs-grace]
     Stopped: [ dhcp47-104.lab.eng.blr.redhat.com
dhcp47-105.lab.eng.blr.redhat.com dhcp47-137.lab.eng.blr.redhat.com
dhcp47-147.lab.eng.blr.redhat.com ]
 Resource Group: dhcp47-147.lab.eng.blr.redhat.com-group
     dhcp47-147.lab.eng.blr.redhat.com-nfs_block    (ocf::heartbeat:portblock):
   Stopped
     dhcp47-147.lab.eng.blr.redhat.com-cluster_ip-1    (ocf::heartbeat:IPaddr):
   Stopped
     dhcp47-147.lab.eng.blr.redhat.com-nfs_unblock   
(ocf::heartbeat:portblock):    Stopped
 Resource Group: dhcp47-137.lab.eng.blr.redhat.com-group
     dhcp47-137.lab.eng.blr.redhat.com-nfs_block    (ocf::heartbeat:portblock):
   Stopped
     dhcp47-137.lab.eng.blr.redhat.com-cluster_ip-1    (ocf::heartbeat:IPaddr):
   Stopped
     dhcp47-137.lab.eng.blr.redhat.com-nfs_unblock   
(ocf::heartbeat:portblock):    Stopped
 Resource Group: dhcp47-104.lab.eng.blr.redhat.com-group
     dhcp47-104.lab.eng.blr.redhat.com-nfs_block    (ocf::heartbeat:portblock):
   Stopped
     dhcp47-104.lab.eng.blr.redhat.com-cluster_ip-1    (ocf::heartbeat:IPaddr):
   Stopped
     dhcp47-104.lab.eng.blr.redhat.com-nfs_unblock   
(ocf::heartbeat:portblock):    Stopped
 Resource Group: dhcp47-105.lab.eng.blr.redhat.com-group
     dhcp47-105.lab.eng.blr.redhat.com-nfs_block    (ocf::heartbeat:portblock):
   Stopped
     dhcp47-105.lab.eng.blr.redhat.com-cluster_ip-1    (ocf::heartbeat:IPaddr):
   Stopped
     dhcp47-105.lab.eng.blr.redhat.com-nfs_unblock   
(ocf::heartbeat:portblock):    Stopped



Volume Name: gluster_shared_storage
Type: Replicate
Volume ID: 7cc41702-7189-41d7-8931-051ad49ba1d1
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: dhcp47-104.lab.eng.blr.redhat.com:/var/lib/glusterd/ss_brick
Brick2: dhcp47-105.lab.eng.blr.redhat.com:/var/lib/glusterd/ss_brick
Brick3: dhcp47-147.lab.eng.blr.redhat.com:/var/lib/glusterd/ss_brick
Options Reconfigured:
ganesha.enable: off
features.cache-invalidation: off
nfs.disable: on
performance.readdir-ahead: on
transport.address-family: inet
cluster.enable-shared-storage: enable
nfs-ganesha: enable




Version-Release number of selected component (if applicable):
nfs-ganesha-2.4.1-1.el7rhgs.x86_64
nfs-ganesha-gluster-2.4.1-1.el7rhgs.x86_64
glusterfs-ganesha-3.8.4-5.el7rhgs.x86_64


How reproducible:
Always

Steps to Reproduce:
1.Create ganesha cluster setup
2. create a volume,start it
3. Execute gluster vol reset volname <any vol option>

Actual results:
It resets the ganesha enable option as well and brings ganesha and other
services to stopped state and pcs status shows all nodes stopped.

Expected results:
The volume reset for specific option should only reset taht option and should
not cause changes to ganesha related options and should not bring down the
cluster.

--- Additional comment from Worker Ant on 2016-11-23 06:21:58 EST ---

REVIEW: http://review.gluster.org/15914 (glusterd/ganesha : handle volume reset
properly for ganesha options) posted (#1) for review on master by jiffin tony
Thottan (jthottan at redhat.com)

--- Additional comment from Worker Ant on 2016-11-24 05:29:14 EST ---

REVIEW: http://review.gluster.org/15914 (glusterd/ganesha : handle volume reset
properly for ganesha options) posted (#2) for review on master by jiffin tony
Thottan (jthottan at redhat.com)

--- Additional comment from Worker Ant on 2016-11-24 06:49:03 EST ---

REVIEW: http://review.gluster.org/15914 (glusterd/ganesha : handle volume reset
properly for ganesha options) posted (#3) for review on master by jiffin tony
Thottan (jthottan at redhat.com)

--- Additional comment from Worker Ant on 2016-11-24 07:41:55 EST ---

REVIEW: http://review.gluster.org/15914 (glusterd/ganesha : handle volume reset
properly for ganesha options) posted (#4) for review on master by jiffin tony
Thottan (jthottan at redhat.com)

--- Additional comment from Worker Ant on 2016-11-28 07:52:00 EST ---

REVIEW: http://review.gluster.org/15914 (glusterd/ganesha : handle volume reset
properly for ganesha options) posted (#5) for review on master by jiffin tony
Thottan (jthottan at redhat.com)

--- Additional comment from Worker Ant on 2016-11-29 02:35:40 EST ---

REVIEW: http://review.gluster.org/15914 (glusterd/ganesha : handle volume reset
properly for ganesha options) posted (#6) for review on master by jiffin tony
Thottan (jthottan at redhat.com)

--- Additional comment from Worker Ant on 2016-12-01 09:39:19 EST ---

REVIEW: http://review.gluster.org/15914 (glusterd/ganesha : handle volume reset
properly for ganesha options) posted (#7) for review on master by jiffin tony
Thottan (jthottan at redhat.com)

--- Additional comment from Worker Ant on 2016-12-05 08:55:25 EST ---

REVIEW: http://review.gluster.org/15914 (glusterd/ganesha : handle volume reset
properly for ganesha options) posted (#8) for review on master by jiffin tony
Thottan (jthottan at redhat.com)

--- Additional comment from Worker Ant on 2016-12-07 01:09:43 EST ---

COMMIT: http://review.gluster.org/15914 committed in master by Kaleb KEITHLEY
(kkeithle at redhat.com) 
------
commit 4a9a5362f0b74046b7f161d485b2ffb44c027ead
Author: Jiffin Tony Thottan <jthottan at redhat.com>
Date:   Wed Nov 23 16:04:26 2016 +0530

    glusterd/ganesha : handle volume reset properly for ganesha options

    The "gluster volume reset" should first unexport the volume and then delete
    export configuration file. Also reset option is not applicable for
ganesha.enable
    if volume value is "all".
    This patch also changes the name of create_export_config into
manange_export_config

    Change-Id: Ie81a49e7d3e39a88bca9fbae5002bfda5cab34af
    BUG: 1397795
    Signed-off-by: Jiffin Tony Thottan <jthottan at redhat.com>
    Reviewed-on: http://review.gluster.org/15914
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: soumya k <skoduri at redhat.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1397450
[Bug 1397450] NFS-Ganesha:Volume reset for any option causes reset of
ganesha enable option and bring down the ganesha services
https://bugzilla.redhat.com/show_bug.cgi?id=1397795
[Bug 1397795] NFS-Ganesha:Volume reset for any option causes reset of
ganesha enable option and bring down the ganesha services
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Pi3HXOgngp&a=cc_unsubscribe


More information about the Bugs mailing list