Bug 880952 - [FEAT] including "/var/log/core" in the sosreports
Summary: [FEAT] including "/var/log/core" in the sosreports
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: sos
Version: 2.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Bala.FA
QA Contact: spandura
URL:
Whiteboard:
Depends On: 829657
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-28 09:30 UTC by spandura
Modified: 2015-11-23 02:57 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-13 04:35:25 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.