Bug 1122978
Summary: | SMB:While running command user.cifs enable/disable there are error messages in log file for hook script. | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | surabhi <sbhaloth> | |
Component: | samba | Assignee: | Meghana <mmadhusu> | |
Status: | CLOSED ERRATA | QA Contact: | surabhi <sbhaloth> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | rhgs-3.0 | CC: | ashetty, mmadhusu, nlevinki, rtalur, skoduri, surs, vagarwal | |
Target Milestone: | --- | Keywords: | Patch, ZStream | |
Target Release: | RHGS 3.0.3 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.6.0.33-1 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1125804 (view as bug list) | Environment: | ||
Last Closed: | 2015-01-15 13:38:59 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1125804 | |||
Bug Blocks: | 1162694 |
Description
surabhi
2014-07-24 13:52:53 UTC
As suspected, when I run gluster vol set testvol nfs-ganesha.host enable on, I see the following samba related errors in the logs, [2014-07-24 12:12:49.927187] E [run.c:190:runner_log] (-->/lib64/libpthread.so.0() [0x3481e07851] (-->/usr/lib/glusterfs/3.7dev/xlator/mgmt/glusterd.so(+0xc9db5) [0x7fca215f2db5] (-->/usr/lib/glusterfs/3.7dev/xlator/mgmt/glusterd.so(glusterd_hooks_run_hooks+0x44c) [0x7fca215f29dc]))) 0-management: Failed to execute script: /var/lib/glusterd/hooks/1/set/post/S30samba-set.sh --volname=testvol -o nfs-ganesha.host=10.70.43.78 [2014-07-24 12:12:49.983760] E [run.c:190:runner_log] (-->/lib64/libpthread.so.0() [0x3481e07851] (-->/usr/lib/glusterfs/3.7dev/xlator/mgmt/glusterd.so(+0xc9db5) [0x7fca215f2db5] (-->/usr/lib/glusterfs/3.7dev/xlator/mgmt/glusterd.so(glusterd_hooks_run_hooks+0x44c) [0x7fca215f29dc]))) 0-management: Failed to execute script: /var/lib/glusterd/hooks/1/set/post/S31ganesha-set.sh --volname=testvol -o nfs-ganesha.host=10.70.43.78 [2014-07-24 12:12:50.065805] W [socket.c:530:__socket_rwv] 0-management: readv on /var/run/b8fced70f04a9f1b3c9a7e48d0678055.socket failed (Invalid argument) Both the scripts will be run invariably when a volume set is executed. The status i.e, success/failure of BOTH the scripts will be reported when any volume set is executed. For example, gluster vol set testvol nfs.disable on, I see the same logs, [2014-07-24 12:19:42.870425] E [run.c:190:runner_log] (-->/lib64/libpthread.so.0() [0x3481e07851] (-->/usr/lib/glusterfs/3.7dev/xlator/mgmt/glusterd.so(+0xc9db5) [0x7fca215f2db5] (-->/usr/lib/glusterfs/3.7dev/xlator/mgmt/glusterd.so(glusterd_hooks_run_hooks+0x44c) [0x7fca215f29dc]))) 0-management: Failed to execute script: /var/lib/glusterd/hooks/1/set/post/S30samba-set.sh --volname=testvol -o nfs.disable=on [2014-07-24 12:19:42.882974] I [run.c:190:runner_log] (-->/lib64/libpthread.so.0() [0x3481e07851] (-->/usr/lib/glusterfs/3.7dev/xlator/mgmt/glusterd.so(+0xc9db5) [0x7fca215f2db5] (-->/usr/lib/glusterfs/3.7dev/xlator/mgmt/glusterd.so(glusterd_hooks_run_hooks+0x5a6) [0x7fca215f2b36]))) 0-management: Ran script: /var/lib/glusterd/hooks/1/set/post/S31ganesha-set.sh --volname=testvol -o nfs.disable=on I'm not sure if the behaviour itself is a bug. I need to check if S31ganesha-set.sh exits with the right value when the key is not nfs-ganesha.enable/nfs-ganesha.host. I'll do that. *** Bug 1131458 has been marked as a duplicate of this bug. *** With the fix , when any volume set operation is executed there are no errors in logs seen from ganesha hook script. Verified with cifs.enable and disable options.Also verified with any volume set operations. I [run.c:190:runner_log] (-->/lib64/libpthread.so.0() [0x35bbc079d1] (-->/usr/lib64/glusterfs/3.6.0.33/xlator/mgmt/glusterd.so(+0xd1ee5) [0x7f031a147ee5] (-->/usr/lib64/glusterfs/3.6.0.33/xlator/mgmt/glusterd.so(glusterd_hooks_run_hooks+0x5a6) [0x7f031a147c66]))) 0-management: Ran script: /var/lib/glusterd/hooks/1/set/post/S30samba-set.sh --volname=verify-vol -o user.cifs=enable I [run.c:190:runner_log] (-->/lib64/libpthread.so.0() [0x35bbc079d1] (-->/usr/lib64/glusterfs/3.6.0.33/xlator/mgmt/glusterd.so(+0xd1ee5) [0x7f031a147ee5] (-->/usr/lib64/glusterfs/3.6.0.33/xlator/mgmt/glusterd.so(glusterd_hooks_run_hooks+0x5a6) [0x7f031a147c66]))) 0-management: Ran script: /var/lib/glusterd/hooks/1/set/post/S31ganesha-set.sh --volname=verify-vol -o user.cifs=enable Moving the Bug to verified with version : samba-glusterfs-3.6.509-169.1.el6rhs.x86_64 glusterfs-fuse-3.6.0.33-1.el6rhs.x86_64 glusterfs-3.6.0.33-1.el6rhs.x86_64 glusterfs-server-3.6.0.33-1.el6rhs.x86_64 glusterfs-rdma-3.6.0.33-1.el6rhs.x86_64 glusterfs-api-3.6.0.33-1.el6rhs.x86_64 glusterfs-cli-3.6.0.33-1.el6rhs.x86_64 glusterfs-geo-replication-3.6.0.33-1.el6rhs.x86_64 glusterfs-libs-3.6.0.33-1.el6rhs.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0038.html |