Bug 1575707
Summary: | Gluster volume smb share options are getting overwritten after restating the gluster volume | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Anoop C S <anoopcs> |
Component: | scripts | Assignee: | Anoop C S <anoopcs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.1 | CC: | annair, anoopcs, asriram, bugs, divya, gdeschner, ira, nlevinki, pgurusid, plambri, rgowdapp, rtalur, sankarshan, vdas, vumrao |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-v4.1.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1558921 | Environment: | |
Last Closed: | 2018-06-20 18:06:01 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: | 1558921 | ||
Bug Blocks: | 1164778 |
Description
Anoop C S
2018-05-07 17:02:15 UTC
REVIEW: https://review.gluster.org/19972 (extras/hooks: Do not blindly remove volume share from smb.conf) posted (#1) for review on release-4.1 by Anoop C S COMMIT: https://review.gluster.org/19972 committed in release-4.1 by "Shyamsundar Ranganathan" <srangana> with a commit message- extras/hooks: Do not blindly remove volume share from smb.conf When Gluster volumes are shared via Samba, any extra smb.conf parameter setting done by administrator to those shares are lost during restart of the volume. Instead of removing the whole share completely from smb.conf(via hook scripts during volume stop) it is better to make it temporarily unavailable to end-users till the volume is started again. Therefore we make use of a smb.conf parameter named 'available'[1] to achieve the above intend. [1] https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html Change-Id: I68a9055b50791f6ffd3b95a3c13d858a75fa6530 fixes: bz#1575707 BUG: 1575707 Signed-off-by: Anoop C S <anoopcs> (cherry picked from commit 33131131469e18d3ebbdc6ce741c2984dc77b290) This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-v4.1.0, please open a new bug report. glusterfs-v4.1.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2018-June/000102.html [2] https://www.gluster.org/pipermail/gluster-users/ |