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:
Patch posted upstream for reviewhttps://review.gerrithub.io/#/c/289765/
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