Bug 694772 - Can not run checksysreport on sosreport which comes with abrt report
Summary: Can not run checksysreport on sosreport which comes with abrt report
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: abrt
Version: 6.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Nikola Pajkovsky
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-08 11:07 UTC by Yogesh
Modified: 2014-02-02 22:15 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-15 08:08:12 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yogesh 2011-04-08 11:07:10 UTC
Description of problem:
Checksysreport is utility that analyse sosreport and create useful useful report that matches current bugs that can fit on that system.
http://thales-1.gsslab.fab.redhat.com/wcs/index.php

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

How reproducible:
always

Steps to Reproduce:
1. extract sosreport generated by abrt report
2. specify that sosreport in http://thales-1.gsslab.fab.redhat.com/wcs/index.php
  
Actual results:
sosreport is not analysed by checksysreport.

Expected results:
Checksysreport should analyse and create report.

Additional info:
If this is not fixed in 6.1, we will have 6 more months with no use of sosreport that comes with sosreport.

Comment 1 Gavin Romig-Koch 2011-04-08 13:53:46 UTC
Yogesh, it is unlikely that this is caused by abrt (not impossible, just unlikely).  ABRT just uses the sosreport command to create the sosreport, and copies it into the abrt report.

One thing to note is that for RHEL6 sosreport's are now compressed with XZ rather than gzip or bzip.  Does the version of checksysreport on thales-1 handle XZ compressed tar-balls?  It might be worth trying to create an sosreport on RHEL6 and seeing if thales-1 can handle it.   Also, just in case, ABRT passes the following flags to sosreport (to speed up report creation).  This _should_ not have an effect on checksysreport, but it's worth looking into.

Comment 2 Yogesh 2011-04-08 14:29:53 UTC
(In reply to comment #1)
> Yogesh, it is unlikely that this is caused by abrt (not impossible, just
> unlikely).  ABRT just uses the sosreport command to create the sosreport, and
> copies it into the abrt report.

This happens because sosreport generated by abrt has some important files missing. I did almost all sanity checking... decompressed xz and created tar.gz out of it.... didn't help.

Comment 3 Gavin Romig-Koch 2011-04-08 14:54:27 UTC
these are the options that abrt passes to sosreport by default.  Please check if one or more of these options is what causes sosreport to not include redhat-release:

sosreport --batch --only=anaconda --only=bootloader --only=devicemapper     \
--only=filesys --only=hardware --only=kernel --only=libraries --only=memory \
--only=networking --only=nfsserver --only=pam --only=process                \
--only=rpm -k rpm.rpmva=off --only=ssh --only=startup --only=yum

Comment 4 Yogesh 2011-04-08 15:12:23 UTC
(In reply to comment #3)
> these are the options that abrt passes to sosreport by default.  Please check
> if one or more of these options is what causes sosreport to not include
> redhat-release:
> 
> sosreport --batch --only=anaconda --only=bootloader --only=devicemapper     \
> --only=filesys --only=hardware --only=kernel --only=libraries --only=memory \
> --only=networking --only=nfsserver --only=pam --only=process                \
> --only=rpm -k rpm.rpmva=off --only=ssh --only=startup --only=yum

I am getting error /etc/redhat-release  file missing.
We need to add  --only=general for that.

Comment 5 Jiri Moskovcak 2011-04-15 08:08:12 UTC
This is fixed since abrt-1.1.16-1


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