Bug 705274

Summary: use the new libreport library instead of report
Product: Red Hat Enterprise Linux 6 Reporter: Jiri Moskovcak <jmoskovc>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.2CC: akozumpl, atodorov, dfediuck, mbanas, mnowak, rwilliam
Target Milestone: rc   
Target Release: 6.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-13.21.124-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 10:35:43 UTC Type: ---
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: 725857, 725858    
Bug Blocks:    

Description Jiri Moskovcak 2011-05-17 08:51:21 UTC
Description of problem:
Anaconda uses python-meh which uses report to send the problem reports to bugzilla to unify configuration for the bug reporting we've created a C library which should be used in every application which needs to report some problem. The plan is to provide API compatible with the old report, so hopefully no changes in the Anaconda nor the in the python-meh code will be required. So this bug is more a tracking bug for QA to give Anaconda one more slot for testing the integration with libreport.

Expected results:
- successfully created bugs in bz ;)
- slightly different UI for targets selector (the UI where user decides where to send the report)

Comment 1 Chris Lumens 2011-05-18 19:02:45 UTC
Is this going to require running any piece of abrt during installation?

Comment 2 Jiri Moskovcak 2011-05-19 08:06:47 UTC
(In reply to comment #1)
> Is this going to require running any piece of abrt during installation?

No, the libreport is a separated from ABRT, it's just a library - no daemon needed.

Comment 3 RHEL Program Management 2011-06-09 20:40:37 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 4 Chris Lumens 2011-07-26 14:50:05 UTC
*** Bug 725401 has been marked as a duplicate of this bug. ***

Comment 5 Jiri Moskovcak 2011-07-26 18:55:45 UTC
list of required packages:

libreport
libreport-cli
libreport-gtk
libreport-python
libreport-plugin-rhtsupport
libreport-plugin-logger
libreport-plugin-bugzilla


this will enable reporting to:
- Red Hat support portal (rhtsupport)
- localsave (logger - not sure if this is required)
- bugzilla.redhat.com (bugzilla)

- btw the current version will complain about not-running keyring - will fix it
asap (#725858)

Comment 8 Jiri Moskovcak 2011-07-28 14:05:19 UTC
I found 2 more packages required by libreport missing in install.img:

xmlrpc-c
xmlrpc-c-client

Comment 9 Jiri Moskovcak 2011-08-01 11:58:01 UTC
and one more:

libtar

Comment 10 Alexander Todorov 2011-08-09 13:11:23 UTC
(In reply to comment #0)
> Expected results:
> - successfully created bugs in bz ;)

Filed bug #729266 using the new functionality

> - slightly different UI for targets selector (the UI where user decides where
> to send the report)

UI was slightly different.

This was with anaconda 13.21.126

Comment 11 Alexander Todorov 2011-08-09 13:19:02 UTC
(In reply to comment #5)
> this will enable reporting to:
> - Red Hat support portal (rhtsupport)

PASS - saved to https://api.access.redhat.com/rs/cases/00516148 using our QA account.


> - localsave (logger - not sure if this is required)

PASS - saved to /tmp/abrt.log

> - bugzilla.redhat.com (bugzilla)
> 

PASS - Saved to bug #729266


> - btw the current version will complain about not-running keyring - will fix it
> asap (#725858)

Still complains about it :)

Comment 12 Jiri Moskovcak 2011-08-09 13:42:24 UTC
> 
> > - btw the current version will complain about not-running keyring - will fix it
> > asap (#725858)
> 
> Still complains about it :)

- does it popup a dialog or you're talking about the warning label in the configuration dialog? popup is wrong, the warning text is ok.

Comment 13 Alexander Todorov 2011-08-10 08:55:19 UTC
(In reply to comment #12)

> > Still complains about it :)
> 
> - does it popup a dialog or you're talking about the warning label in the
> configuration dialog? popup is wrong, the warning text is ok.

I'm talking about the label. There was no popup so we're fine then.

Comment 14 errata-xmlrpc 2011-12-06 10:35:43 UTC
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/RHBA-2011-1565.html