Hide Forgot
Description of problem: ====================== Volume mount is failing when volume option "cluster.extra-hash-regex" is set to '(.*)\.swp*' errors in the mount log when it failed: [2016-10-05 06:55:42.211060] I [MSGID: 100030] [glusterfsd.c:2412:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.8.4 (args: /usr/sbin/glusterfs --volfile-server=10.70.43.190 --volfile-id=/Dis-Rep /mnt) [2016-10-05 06:55:42.233791] I [MSGID: 101190] [event-epoll.c:628:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1 [2016-10-05 06:55:42.239278] E [MSGID: 101021] [graph.y:362:graphyyerror] 0-parser: syntax error: line 160 (volume 'Dis-Rep-dht'): ".swp*" allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume'() [2016-10-05 06:55:42.239570] E [MSGID: 100026] [glusterfsd.c:2265:glusterfs_process_volfp] 0-: failed to construct the graph [2016-10-05 06:55:42.240020] E [graph.c:982:glusterfs_graph_destroy] (-->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x3c1) [0x7f01e876cf51] -->/usr/sbin/glusterfs(glusterfs_process_volfp+0x149) [0x7f01e8767519] -->/lib64/libglusterfs.so.0(glusterfs_graph_destroy+0x84) [0x7f01e82a5364] ) 0-graph: invalid argument: graph [Invalid argument] [2016-10-05 06:55:42.240111] W [glusterfsd.c:1288:cleanup_and_exit] (-->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x3c1) [0x7f01e876cf51] -->/usr/sbin/glusterfs(glusterfs_process_volfp+0x172) [0x7f01e8767542] -->/usr/sbin/glusterfs(cleanup_and_exit+0x6b) [0x7f01e8766abb] ) 0-: received signum (1), shutting down [2016-10-05 06:55:42.240154] I [fuse-bridge.c:5793:fini] 0-fuse: Unmounting '/mnt'. Version-Release number of selected component (if applicable): ============================================================= glusterfs-3.8.4-2 How reproducible: ================== Always Steps to Reproduce: =================== 1. Create a replica of any size and start it 2. Set the volume option "cluster.extra-hash-regex" is set to '(.*)\.swp*' 3. Try to fuse mount the volume // It will fail Actual results: =============== mount is failing when volume option "cluster.extra-hash-regex" is set to '(.*)\.swp*' Expected results: ================= i don't the reason why mount should fail when this volume option is set. Additional info:
Expected results: ================= i don't know the reason why mount should fail when this volume option is set.
This is not a commonly used option. Moving this to 3.2.0-beyond.
Note to self: I was able to get the mount to succeed by editing the volinfo file to put quotes around the regex value.
This is not really a dht BZ seeing that this seems to be an issue with volfile generation or the graph parsing when dealing with wildcards. Moving this to Atin to process accordingly.