Bug 1422153 - [NFS-Ganesha]Failed to unexport volume when ganesha cluster is in failover state.
Summary: [NFS-Ganesha]Failed to unexport volume when ganesha cluster is in failover st...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: common-ha
Version: rhgs-3.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: RHGS 3.3.0
Assignee: Jiffin
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks: 1417147
TreeView+ depends on / blocked
 
Reported: 2017-02-14 15:35 UTC by Arthy Loganathan
Modified: 2017-09-21 04:56 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.8.4-25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 04:30:55 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2774 0 normal SHIPPED_LIVE glusterfs bug fix and enhancement update 2017-09-21 08:16:29 UTC

Description Arthy Loganathan 2017-02-14 15:35:35 UTC
Description of problem:
Failed to unexport volume when ganesha cluster is in failover state.

Error message in console:
-------------------------
volume set: failed: Staging failed on dhcp37-62.lab.eng.blr.redhat.com. Error: Dynamic export addition/deletion failed. Please see log file for details

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
glusterfs-ganesha-3.8.4-13.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create 4 node ganesha cluster.
2. Create volume and export the volume.
3. Bring down ganesha service in one of the node.(service nfs-ganesha stop)
4. Ensure ganesha cluster is in failover state.
5. Unexport the volume from other node.

Actual results:
Failed to unexport volume when ganesha cluster is in failover state.

Expected results:
Unexport should succeed.

Additional info:

No log messages are seen in ganesha.log related to this failure.

[root@dhcp37-145 ~]# showmount -e
Export list for dhcp37-145.lab.eng.blr.redhat.com:
/nfsvol1 (everyone)
[root@dhcp37-145 ~]# gluster volume set nfsvol1 ganesha.enable off
volume set: failed: Staging failed on dhcp37-62.lab.eng.blr.redhat.com. Error: Dynamic export addition/deletion failed. Please see log file for details
[root@dhcp37-145 ~]# showmount -e
Export list for dhcp37-145.lab.eng.blr.redhat.com:
[root@dhcp37-145 ~]#


Similar failure is seen in the following scenario as well.

1. Shutdown one of the node. Ganesha cluster will in failover state.
2. Export the volume.
3. Bring the node up.
4. Unexport the volume.

Comment 3 Jiffin 2017-04-19 11:02:16 UTC
Patch posted upstream for review https://review.gluster.org/#/c/17081/

Comment 7 Manisha Saini 2017-06-29 13:52:17 UTC
Verified this bug on 

# rpm -qa | grep ganesha
nfs-ganesha-gluster-2.4.4-10.el7rhgs.x86_64
nfs-ganesha-debuginfo-2.4.4-10.el7rhgs.x86_64
glusterfs-ganesha-3.8.4-31.el7rhgs.x86_64
nfs-ganesha-2.4.4-10.el7rhgs.x86_64

Volume is un-exported successfully when Ganesha cluster is in fail over state.
Hence moving this bug to verified state.

Comment 9 errata-xmlrpc 2017-09-21 04:30:55 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-2017:2774

Comment 10 errata-xmlrpc 2017-09-21 04:56:40 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-2017:2774


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