Bug 1443490 - [Nfs-ganesha] Refresh config fails when ganesha cluster is in failover mode.
Summary: [Nfs-ganesha] Refresh config fails when ganesha cluster is in failover mode.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: common-ha
Version: 3.10
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jiffin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1419816 glusterfs-3.10.2
TreeView+ depends on / blocked
 
Reported: 2017-04-19 10:58 UTC by Jiffin
Modified: 2017-05-31 20:44 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.10.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1419816
Environment:
Last Closed: 2017-05-31 20:44:07 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Jiffin 2017-04-19 10:58:47 UTC
+++ This bug was initially created as a clone of Bug #1419816 +++

Description of problem:
Refresh config fails, if any one or more nodes in ganesha cluster is in failover state

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


How reproducible:
Always

Steps to Reproduce:
1. Create a 4 node ganesha cluster.
2. Create a volume and enable ganesha on it.
3. Stop nfs-ganesha service in node2 and let failover happen.
4. Run Refresh config for the volume.

Actual results:
Refresh config fails on the node for which failover happened and it is not getting executed on the other nodes

Expected results:
If any one or more nodes in ganesha cluster is in failover state, refresh config should succeed on the other nodes in ganesha cluster.

Additional info:
Similar issue can happen for volume export/unexport

Comment 1 Worker Ant 2017-04-19 11:00:00 UTC
REVIEW: https://review.gluster.org/17081 (ganesha : allow refresh-config and volume export/unexport in failover state) posted (#1) for review on release-3.10 by jiffin tony Thottan (jthottan)

Comment 2 Worker Ant 2017-04-19 11:10:16 UTC
REVIEW: https://review.gluster.org/17081 (ganesha : allow refresh-config and volume export/unexport in failover state) posted (#2) for review on release-3.10 by jiffin tony Thottan (jthottan)

Comment 3 Worker Ant 2017-04-24 10:33:54 UTC
COMMIT: https://review.gluster.org/17081 committed in release-3.10 by Kaleb KEITHLEY (kkeithle) 
------
commit e91cdf4d63893c3cc5506f8fd73f00dc47272dc6
Author: Jiffin Tony Thottan <jthottan>
Date:   Wed Apr 19 16:12:10 2017 +0530

    ganesha : allow refresh-config and volume export/unexport in failover state
    
    If ganesha is not running on one of nodes in HA cluster, then alli dbus
    commands send to that ganesha server will fail. This results in both
    refresh-config and volume export/unepxort failure. This change will
    gracefully handle those scenarios.
    
    Change-Id: I3f1b7b7ca98e54c273c266e56357d8e24dd1b14b
    BUG: 1443490
    Signed-off-by: Jiffin Tony Thottan <jthottan>
    Reviewed-on: https://review.gluster.org/17081
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: soumya k <skoduri>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>

Comment 4 Worker Ant 2017-05-03 07:24:52 UTC
REVIEW: https://review.gluster.org/17152 (ganesha : minor improvments for commit e91cdf4 (17081)) posted (#1) for review on release-3.10 by jiffin tony Thottan (jthottan)

Comment 5 Worker Ant 2017-05-03 09:47:58 UTC
REVIEW: https://review.gluster.org/17152 (ganesha : minor improvments for commit e91cdf4 (17081)) posted (#2) for review on release-3.10 by jiffin tony Thottan (jthottan)

Comment 6 Worker Ant 2017-05-03 10:24:42 UTC
REVIEW: https://review.gluster.org/17152 (ganesha : minor improvments for commit e91cdf4 (17081)) posted (#3) for review on release-3.10 by jiffin tony Thottan (jthottan)

Comment 7 Worker Ant 2017-05-03 22:35:59 UTC
COMMIT: https://review.gluster.org/17152 committed in release-3.10 by Kaleb KEITHLEY (kkeithle) 
------
commit 568d81673a5c1b21dd536d055fb6f94c8df0a7cd
Author: Jiffin Tony Thottan <jthottan>
Date:   Wed May 3 12:47:14 2017 +0530

    ganesha : minor improvments for commit e91cdf4 (17081)
    
    Change-Id: I3af13e081c5e46cc6f2c132e7a5106ac3355c850
    BUG: 1443490
    Signed-off-by: Jiffin Tony Thottan <jthottan>
    Reviewed-on: https://review.gluster.org/17152
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: soumya k <skoduri>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>

Comment 8 Raghavendra Talur 2017-05-31 20:44:07 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.10.2, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.