Bug 1237053 - Consecutive volume start/stop operations when ganesha.enable is on, leads to errors
Summary: Consecutive volume start/stop operations when ganesha.enable is on, leads to ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nfs-ganesha
Version: rhgs-3.1
Hardware: All
OS: Linux
high
urgent
Target Milestone: ---
: RHGS 3.1.0
Assignee: Meghana
QA Contact: Apeksha
URL:
Whiteboard:
Depends On: 1238054 1238752
Blocks: 1202842
TreeView+ depends on / blocked
 
Reported: 2015-06-30 09:43 UTC by Apeksha
Modified: 2015-09-01 02:54 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.7.1-7.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1238054 (view as bug list)
Environment:
Last Closed: 2015-07-29 05:08:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Description Apeksha 2015-06-30 09:43:36 UTC
Description of problem:
Consecutive volume start/stop operations when ganesha.enable is on, leads to errors

Version-Release number of selected component (if applicable):
glusterfs-3.7.1-6.el6rhs.x86_64
nfs-ganesha-2.2.0-3.el6rhs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create a 6X2 volume on the ganesha setup 
2. Start the volume and enable ganesha, volume gets exported
3. Stop/start the volume, volume gets unexported and exported
4. Again stop the volume, volume does not get unexported.
5. Now if we start the volume, showmount command hangs and times out

Actual results: Showmount command hangs

Expected results: Showmount command must work successfully

Additional info:

Comment 2 Meghana 2015-07-01 05:35:09 UTC
gluster vol stop is expected to unexport the volume and the following start is expected to export the volume. This behaviour works fine for one iteration.
The second iteration, the export file is created in a slightly different format.
Due to this, the volume can never be unexported after this operation. Even 'ganesha.enable' off will not work after this.

I have RCAd the problem and will send in a fix soon.

Comment 3 Meghana 2015-07-01 06:48:37 UTC
The upstream patch URL is ,
http://review.gluster.org/#/c/11477/

Comment 6 Apeksha 2015-07-08 10:46:34 UTC
Consequitive start/stop now exports/unexports the ganesha volume

Comment 7 errata-xmlrpc 2015-07-29 05:08:32 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://rhn.redhat.com/errata/RHSA-2015-1495.html


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