Bug 1089664
Summary: | SMB: Windows client is not able to access gluster volume via SMB | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | surabhi <sbhaloth> |
Component: | samba | Assignee: | Poornima G <pgurusid> |
Status: | CLOSED ERRATA | QA Contact: | surabhi <sbhaloth> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | rhgs-3.0 | CC: | ira, jarrpa, nlevinki, nsathyan, pgurusid, rtalur, sbhaloth, sdharane, ssamanta, vagarwal |
Target Milestone: | --- | Keywords: | Regression, TestBlocker |
Target Release: | RHGS 3.0.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.6.0-1.0.el6rhs.x86_64 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-22 19:35:56 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: | 1056012, 1068776 | ||
Bug Blocks: |
Description
surabhi
2014-04-21 12:43:32 UTC
As identified, if the GlusterFS volume entry in smb.conf is replaced as follows then it works fine. [gluster-new-vol] comment = For samba share of volume new-vol path = / #!!!! no %P read only = No guest ok = Yes vfs objects = glusterfs glusterfs:loglevel = 7 glusterfs:logfile = /var/log/samba/glusterfs-new-vol.%M.log glusterfs:volume = new-vol But without %P exporting of sub-directories via CTDB is and issue, hence we can modify ctdb.conf file to disable directory check as follows: CTDB_SAMBA_SKIP_SHARE_CHECK = no Will be submitting a patch that removes %P from smb.conf and adds "CTDB_SAMBA_SKIP_SHARE_CHECK=no" to ctdb.conf. For the first change mentioned above we need to fix BZ 1056012 to make path as / For second one : CTDB_SAMBA_SKIP_SHARE_CHECK = yes Need official CTDB build to verify.With CTDB 2.5 scratch build the issue is tested. Patch posted to revert the %P patch at http://review.gluster.org/7598. With the following glusterfs version : glusterfs-server-3.6.0-1.0.el6rhs.x86_64 samba-glusterfs-3.6.9-168.1.el6rhs.x86_64 ctdb2.5-2.5.3-2.el6rhs.x86_64 The windows client is able to access the gluster volume. Also tried to access the volume via CTDB and the volume is accessible. Moving the bug to verified. Setting flags required to add BZs to RHS 3.0 Errata 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. http://rhn.redhat.com/errata/RHEA-2014-1278.html |