Bug 880952

Summary: [FEAT] including "/var/log/core" in the sosreports
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: spandura
Component: sosAssignee: Bala.FA <barumuga>
Status: CLOSED NOTABUG QA Contact: spandura
Severity: unspecified Docs Contact:
Priority: medium    
Version: 2.0CC: amarts, bmr, dpati, grajaiya, rhs-bugs, sdharane, shaines, surs, vbellur, vinaraya
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 04:35:25 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: 829657    
Bug Blocks:    

Description spandura 2012-11-28 09:30:58 UTC
Description of problem:
========================
Including "cores" in sos reports will be helpful information to provide for debugging.

Comment 2 Amar Tumballi 2012-11-29 09:00:25 UTC
Bryn,

Any particular reason why we had left out /var/log/core in sos? is it because ABRT should handle that? Any insight on that would be helpful. Because we have a bug open which says ABRT is not capturing cores of glusterfs binaries (bug 829657). My guess is fixing the ABRT issue should be good enough here.

Comment 3 Bryn M. Reeves 2012-11-29 11:16:25 UTC
What is /var/log/core? It seems to be some RHEV-specific directory (the only references I find on google are to an obsolete corekeeper package in Debian and our own RHEV docs).

This is not the standard dump directory ABRT uses (/var/spool/abrt).

If this is RHEV-specific it probably belongs in the module hanlding vdsm (whether shipped in sos or vdsm packages although we should be moving away from externally packaged modules ASAP).

Comment 4 Vijay Bellur 2012-12-11 06:37:34 UTC
Bala, can you please take a look in?

Comment 5 Bala.FA 2012-12-11 07:05:47 UTC
vdsm sos plugin collects directory entries of /var/log/core ("/bin/ls -l /var/log/core") not entire content.

Please give more information about the requirement.

Comment 6 Vidya Sakar 2013-01-08 14:50:24 UTC
Bala, spoke to Shwetha and what is being requested is to include the core files itself and not just listing of the entries in /var/log/core. I am marking this bug dependent on 829657 as I think resolution of that bug will have an impact on this bug.

Comment 7 Amar Tumballi 2013-01-11 07:34:49 UTC
as per comment #5, /var/log/core is used by only VDSM. Also in RHS 'DumpLocation' of abrt.conf was commented out, and hence, the QE team was not getting the core files, which led to this bug.

Comment 9 Bala.FA 2013-01-28 06:30:16 UTC
upstream patch is submitted at http://gerrit.ovirt.org/11445

Comment 10 Amar Tumballi 2013-02-13 04:35:25 UTC
Core files should not be added in sosreport, and core file validation/upload should happen from 'abrt' (if required). Marking it as NOTABUG.

Comment 11 Bala.FA 2013-02-13 10:02:09 UTC
Abandoning the patch http://gerrit.ovirt.org/11445 as well