[Bugs] [Bug 1379663] New: Volume gets mounted with ganesha v4 mount even when it is unexported.

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 27 11:35:21 UTC 2016


            Bug ID: 1379663
           Summary: Volume gets mounted with ganesha v4 mount even when it
                    is unexported.
           Product: Red Hat Gluster Storage
           Version: 3.2
         Component: nfs-ganesha
          Keywords: Triaged
          Severity: high
          Priority: high
          Assignee: kkeithle at redhat.com
          Reporter: sraj at redhat.com
        QA Contact: sraj at redhat.com
                CC: bugs at gluster.org, jthottan at redhat.com,
                    kkeithle at redhat.com, mvignesh at redhat.com,
                    ndevos at redhat.com, rhs-bugs at redhat.com,
                    skoduri at redhat.com, sraj at redhat.com,
                    storage-qa-internal at redhat.com
        Depends On: 1365900

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

Description of problem:

Volume gets mounted with v4 even when it is unexported.

Version-Release number of selected component (if applicable):

[root at dhcp43-133 ~]# rpm -qa|grep glusterfs

[root at dhcp43-133 ~]# rpm -qa|grep ganesha

How reproducible:


Steps to Reproduce:
1.Create a ganesha cluster and create a volume.
2.Enable ganesha on the volume and mount it on a client.

[root at dhcp43-133 ~]# gluster vol set testvolume ganesha.enable on
volume set: success on /mnt/nfs1 type nfs4

3.Mount is successful as expected.
4.Unmount the volume and unexport it.

[root at dhcp43-133 ~]# gluster vol set testvolume ganesha.enable off
volume set: success

[root at dhcp43-133 ~]# showmount -e localhost
Export list for localhost:

5.Try mounting the volume back with v4 and observe that it gets mounted and
doesn't give any error

[root at dhcp46-206 ~]# mount -t nfs -o vers=4 /mnt/nfs1
[root at dhcp46-206 ~]# on /mnt/nfs1 type nfs4

>> Trying the same with v3 mount gives access denied error as below:

[root at dhcp46-206 ~]# mount -t nfs -o vers=3 /mnt/nfs2
mount.nfs: access denied by server while mounting

6. Creating dir or files inside the mount point gives "read-only filesystem"

[root at dhcp46-206 ~]# cd /mnt/nfs1
[root at dhcp46-206 nfs1]# mkdir dir
mkdir: cannot create directory ‘dir’: Read-only file system
[root at dhcp46-206 nfs1]# touch file
touch: cannot touch ‘file’: Read-only file system

Actual results:

Volume gets mounted with ganesha v4 mount even when it is unexported.

Expected results:

Mounting an unexported volume with v4 ganesha mount should give proper error
message and should not get mounted.

Additional info:

Will attach the packet trace

--- Additional comment from Jiffin on 2016-08-11 06:36:32 EDT ---

The issue can be easily reproduced in rpm(based on dev26) provided to qa, but
on the latest ganesha dev branch(dev28-a) it is not seen.
So I am putting a need info Shashank for the same to try again on next provided
ganesha build.

But there is another issue, I can consistently receive following error during
unexport from dbus command :(even though entry is unexported properly)
Error org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from
message bus without replying.

--- Additional comment from Shashank Raj on 2016-08-23 08:33:12 EDT ---

Since with the latest build (3.8.2), unexport of ganesha volume is not working
properly and it is being tracked under seperate bug

Will verify this once, the unexport issue gets resolved.

Clearing needinfo as of now.

--- Additional comment from Niels de Vos on 2016-09-12 01:39:25 EDT ---

All 3.8.x bugs are now reported against version 3.8 (without .x). For more
information, see

Referenced Bugs:

[Bug 1365900] Volume gets mounted with ganesha v4 mount even when it is
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=zagArDBVyu&a=cc_unsubscribe

More information about the Bugs mailing list