Bug 1369398 - Unexporting ganesha volume fails with "Dynamic export addition/deletion failed"
Summary: Unexporting ganesha volume fails with "Dynamic export addition/deletion failed"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: nfs-ganesha
Classification: Retired
Component: Cache Inode
Version: 2.4
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Jiffin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-23 09:55 UTC by Shashank Raj
Modified: 2016-11-08 03:53 UTC (History)
7 users (show)

Fixed In Version: nfs-ganesha-2.4.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 13:00:27 UTC
Embargoed:


Attachments (Terms of Use)

Description Shashank Raj 2016-08-23 09:55:26 UTC
Description of problem:

Unexporting ganesha volume fails with "Dynamic export addition/deletion failed"

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

[root@dhcp43-116 gluster_pkgs]# rpm -qa|grep glusterfs
glusterfs-fuse-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-libs-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-client-xlators-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-api-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-cli-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-server-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-geo-replication-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-debuginfo-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64
glusterfs-ganesha-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64

[root@dhcp43-116 gluster_pkgs]# rpm -qa|grep ganesha
nfs-ganesha-gluster-next.20160813.2f47e8a-1.el7.centos.x86_64
nfs-ganesha-next.20160813.2f47e8a-1.el7.centos.x86_64
nfs-ganesha-debuginfo-next.20160813.2f47e8a-1.el7.centos.x86_64
glusterfs-ganesha-3.8.2-0.1.gitd33aa0b.el7rhgs.x86_64


How reproducible:

Always

Steps to Reproduce:

1.Create and start a volume.

[root@dhcp43-116 gluster_pkgs]# gluster volume create newvolume replica 2 10.70.43.116:/bricks/brick0/b0 10.70.43.88:/bricks/brick0/b0 10.70.42.47:/bricks/brick0/b0 10.70.42.237:/bricks/brick0/b0 
volume create: newvolume: success: please start the volume to access data

[root@dhcp43-116 gluster_pkgs]# gluster volume start newvolume
volume start: newvolume: success

2. Enable ganesha on the volume

[root@dhcp43-116 gluster_pkgs]# gluster vol set newvolume ganesha.enable on
volume set: success

3. Try to unexport the volume and observe that unexport always fails with "Dynamic export addition/deletion failed"

[root@dhcp43-116 gluster_pkgs]# gluster vol set newvolume ganesha.enable off
volume set: failed: Dynamic export addition/deletion failed. Please see log file for details

Following message is observed in ganesha.log

23/08/2016 20:49:28 : epoch 57bc690e : dhcp43-116.lab.eng.blr.redhat.com : ganesha.nfsd-8143[dbus_heartbeat] dbus_message_entrypoint :DBUS :MAJ :Method (RemoveExport) on (org.ganesha.nfsd.exportmgr) failed: name = (org.freedesktop.DBus.Error.InvalidArgs), message = (Cannot remove export with id 0)


Actual results:

Unexporting ganesha volume fails with "Dynamic export addition/deletion failed"

Expected results:

There should not be any errors and unexport should be successful.

Additional info:

Comment 1 Jiffin 2016-09-06 07:02:19 UTC
Patch posted upstream for reviewhttps://review.gerrithub.io/#/c/289765/

Comment 2 Niels de Vos 2016-09-12 05:38:17 UTC
All 3.8.x bugs are now reported against version 3.8 (without .x). For more information, see http://www.gluster.org/pipermail/gluster-devel/2016-September/050859.html


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