[Bugs] [Bug 1505323] When sub-dir is mounted on Fuse client, adding bricks to the same volume unmounts the subdir from fuse client

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 23 10:39:38 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1505323

Amar Tumballi <atumball at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|bugs at gluster.org            |atumball at redhat.com



--- Comment #1 from Amar Tumballi <atumball at redhat.com> ---
Description of problem:
When sub-dir is mounted on Fuse client,adding bricks to the same volume
unmounts the subdir on fuse client

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

How reproducible:
2/2

Steps to Reproduce:
1.Create 4*3 Distributed-Replicate Volume 
2.Mount the volume to glusterfs Fuse client
3.Create a directory inside the mount point say dir1
4.Set auth allow option on volume for dir1 
# gluster v set ganeshavol1 auth.allow "/dir1(10.70.37.*),/(*)"
volume set: success
5.Mount the sub-dir dir1 on the same client
6.Start creating 512 kb of files inside sub-dir mount point
7.when IO's are in process,add 3 bricks to existing volume



Actual results:
Brick add operation passed on volume.After bricks are added,sub-dir is
automatically unmounted from the fuse client.

Expected results:
Add brick operation should not unmount the sub-dir from fuse client.

Additional info:

brick logs on newly added bricks-

1-client-12-2-0 (version: 3.8.4)
[2017-10-18 04:24:38.619538] E [server-handshake.c:342:do_path_lookup]
0-/gluster/brick5/b1: first lookup on subdir (dir1) failed: Success
[2017-10-18 04:24:38.619554] E [server-handshake.c:402:server_first_lookup]
0-ganeshavol1-server: first lookup on subdir (/dir1) failed: Invalid argument


Cliemt logs-

# cat mnt-Fuse-Subdir.log | grep E
[2017-10-18 04:22:26.816447] I [fuse-bridge.c:4153:fuse_init] 0-glusterfs-fuse:
FUSE inited with protocol versions: glusterfs 7.24 kernel 7.22
[2017-10-18 04:24:38.613427] E [MSGID: 114044]
[client-handshake.c:1139:client_setvolume_cbk] 2-ganeshavol1-client-12:
SETVOLUME on remote-host failed: subdirectory for mount "/dir1" is not found
[No such file or directory]
[2017-10-18 04:24:38.613441] I [MSGID: 114049]
[client-handshake.c:1249:client_setvolume_cbk] 2-ganeshavol1-client-12: sending
AUTH_FAILED event
[2017-10-18 04:24:38.613462] E [fuse-bridge.c:5328:notify] 0-fuse: Server
authenication failed. Shutting down.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list