Bug 1373369

Summary: sos: Improve Samba plugin for sosreport to include missing logs
Product: Red Hat Gluster Storage Reporter: Vivek Das <vdas>
Component: sosAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Rahul Hinduja <rhinduja>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: amukherj, anoopcs, bmr, rcyriac, rhs-bugs, rhs-smb, storage-qa-internal, vdas
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sos-3.4-5.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1400407 (view as bug list) Environment:
Last Closed: 2017-11-28 09:43:05 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: 1400407    
Bug Blocks:    

Description Vivek Das 2016-09-06 06:33:05 UTC
Description of problem:

All the samba related logs including the client logs should be included in sosreport. eg. Logs present in (/var/log/samba)

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
No samba logs are present in sosreport

Expected results:
Samba logs to be present in sosreport

Additional info:

Comment 3 Vivek Das 2016-11-24 07:32:14 UTC
It is already late in cycle. So let this be targeted for next release.
Moving it to 3.2.0-beyond

Comment 6 Anoop C S 2016-11-25 08:58:36 UTC
Considering the fact that we already have a Samba plugin[1] for collecting very minimal server logs, this particular bug can be used to track our effort to improve the same to include more logs related to connected clients and so on. Therefore changing the summary to reflect the same.

[1] https://github.com/sosreport/sos/blob/master/sos/plugins/samba.py

Comment 7 Anoop C S 2016-12-10 02:18:29 UTC
Since we do not have RHGS specific dist-git branches for sos moving bug to POST state based on the dependant bug status.

Comment 10 Anoop C S 2017-11-10 06:30:47 UTC
Vivek,

Can you verify whether the improvements done to samba plugin inside sos is effective or not? I see that the dependent bug has been resolved now.

Comment 11 Vivek Das 2017-11-28 07:11:45 UTC
I am getting samba related logs in sosreports. The samba directory is present in sosreport and also log.ctdb is included.