| Summary: | Enable per client logging for gluster shares served by Samba | ||
|---|---|---|---|
| Product: | Red Hat Gluster Storage | Reporter: | Poornima G <pgurusid> |
| Component: | samba | Assignee: | Poornima G <pgurusid> |
| Status: | CLOSED ERRATA | QA Contact: | surabhi <sbhaloth> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.1 | CC: | fharshav, gluster-bugs, grajaiya, pgurusid, psriniva, rtalur, sbhaloth, vagarwal |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | RHGS 2.1.2 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 3.4.0.44.1u2rhs | Doc Type: | Bug Fix |
| Doc Text: |
Previously, all the SAMBA clients having access to a specific Red Hat Storage volume would log messages in a single log file making it difficult to debug issues.
With this fix, by default, a log file is created for every SAMBA client and the log file name will have the clients' internet name appended to it making it easy to identify.
|
Story Points: | --- |
| Clone Of: | 1020848 | Environment: | |
| Last Closed: | 2014-02-25 07:55:44 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: | |
| Bug Depends On: | 1020848 | ||
| Bug Blocks: | |||
|
Description
Poornima G
2013-10-18 11:32:32 UTC
patch posted for review at https://code.engineering.redhat.com/gerrit/#/c/14249/ Tested per client per volume logging in gluster version : samba-glusterfs-3.6.9-160.7.el6rhs.x86_64 glusterfs-3.4.0.47.1u2rhs-1.el6rhs.x86_64 Seperate log is getting created per volume but per client logging still can't be verified as it is showing : glusterfs-dis-rep.%M.log glusterfs-new-vol.%M.log. To verify the per client logging we need new samba build with the fix. Moving the bug back to assigned. Removing it from Corbett per bug triage 12/13, will revive it for when the upstream samba patch gets merged. Patch in comment #4 for logs per volume has been tested and verified. However, complete verification can be done only with new samba build. samba-3.6.9-167.8.el6rhs Has the fix for this issue. Verified the issue in following version: glusterfs-libs-3.4.0.52rhs-1.el6rhs.x86_64 glusterfs-server-3.4.0.52rhs-1.el6rhs.x86_64 glusterfs-api-3.4.0.52rhs-1.el6rhs.x86_64 glusterfs-devel-3.4.0.52rhs-1.el6rhs.x86_64 glusterfs-3.4.0.52rhs-1.el6rhs.x86_64 glusterfs-fuse-3.4.0.52rhs-1.el6rhs.x86_64 glusterfs-debuginfo-3.4.0.52rhs-1.el6rhs.x86_64 glusterfs-geo-replication-3.4.0.52rhs-1.el6rhs.x86_64 glusterfs-rdma-3.4.0.52rhs-1.el6rhs.x86_64 samba-glusterfs-3.6.9-167.8.el6rhs.x86_64 glusterfs-api-devel-3.4.0.52rhs-1.el6rhs.x86_64 In /var/log/samba per volume per client logs are getting created. Can you please review the doc text for technical accuracy? The doc text looks fine. 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-0208.html |