Bug 1189103

Summary: ABRT fail to setup on RHEL66
Product: Red Hat Satellite Reporter: Elyézer Rezende <erezende>
Component: InstallerAssignee: Martin Milata <mmilata>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, bkearney, erezende, jmontleo, peter.vreman, sspreitz
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-18 15:49:47 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:    
Bug Blocks: 1122832    

Description Elyézer Rezende 2015-02-04 13:12:10 UTC
Description of problem:
When setting up ABRT on a RHEL66 machine, some configuration files are not in place.


Version-Release number of selected component (if applicable):
# rpm -qa | grep abrt
abrt-addon-python-2.0.8-26.el6.x86_64
abrt-cli-2.0.8-26.el6.x86_64
abrt-addon-ccpp-2.0.8-26.el6.x86_64
abrt-addon-kerneloops-2.0.8-26.el6.x86_64
abrt-2.0.8-26.el6.x86_64
ruby193-rubygem-foreman_abrt-0.0.5-2.el6_6sat.noarch
rubygem-smart_proxy_abrt-0.0.6-3.el6_6sat.noarch
abrt-tui-2.0.8-26.el6.x86_64
abrt-libs-2.0.8-26.el6.x86_64


How reproducible:
Aways


Steps to Reproduce:
1. Setup Satellite 6.1 compose
2. Install:
    'abrt-cli',
    'rubygem-smart_proxy_abrt',
    'rubygem-smart_proxy_pulp',
    'ruby193-rubygem-foreman_abrt'
3. Restart foreman
4. Edit foreman url on /etc/foreman-proxy/settings.yml
5. Enable abrt on /etc/foreman-proxy/settings.d/abrt.yml
6. Start abrtd, abrt-ccpp
7. Try to edit URL, SSLVerify and SSLClientAuth on /etc/libreport/plugins/ureport.conf
8. Last step would be run the following commands, but step 7 fails.
    cp /var/lib/puppet/ssl/certs/ca.pem /etc/pki/ca-trust/source/anchors/
    update-ca-trust
    abrt-auto-reporting enabled


Actual results:
/etc/libreport/plugins/ureport.conf file is not present

Expected results:
/etc/libreport/plugins/ureport.conf file present

Additional info:
On a RHEL 7.0 machine the steps works as expected.

Comment 2 Jason Montleon 2015-02-04 13:55:50 UTC
This file isn't from a Satellite package. Perhaps this is a difference between RHEL 6 and 7 abrt and they require slightly different setup? You can see it's from libreport-plugin-ureport from rhel-7-server-rpms.

[root@el7-smoketest ~]# yum whatprovides /etc/libreport/plugins/ureport.conf
Loaded plugins: langpacks, product-id, subscription-manager
libreport-plugin-ureport-2.1.11-10.el7.x86_64 : libreport's micro report plugin
Repo        : rhel-7-server-rpms
Matched from:
Filename    : /etc/libreport/plugins/ureport.conf

libreport-plugin-ureport-2.1.11-10.el7.x86_64 : libreport's micro report plugin
Repo        : @anaconda/7.0
Matched from:
Filename    : /etc/libreport/plugins/ureport.conf

vs.

[root@el6-smoketest ~]# yum whatprovides /etc/libreport/plugins/ureport.conf
Loaded plugins: product-id, security, subscription-manager
sat6                                                     | 3.8 kB     00:00     
No Matches found
[root@el6-smoketest ~]# yum install libreport-plugin-ureport
Loaded plugins: product-id, security, subscription-manager
Setting up Install Process
No package libreport-plugin-ureport available.
Error: Nothing to do

Comment 3 Martin Milata 2015-02-05 11:47:07 UTC
Are trying to set up the Satellite ABRT plugin to receive the problem reports, or set up a Satellite-managed host to send the reports to the Satellite?

If you want to install the ABRT plugin for Satellite or Capsule, the steps 6-8 are not needed.

Setting ABRT on a managed host to send problem reports to Satellite is not supported on RHEL 6.6.

(As a consequence, you cannot have the system running Satellite send problem reports to itself when running RHEL 6.6.)

Comment 4 Elyézer Rezende 2015-02-05 18:30:19 UTC
Martin thanks for the clarification.

I'll leave this bug as is for now and will update how setup is done in RHEL 6.6.

Comment 8 Peter Vreman 2016-01-18 17:57:47 UTC
RHEL6.7 provides the libreport configuration:

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.7 (Santiago)

$ sudo yum whatprovides /etc/libreport/plugins/ureport.conf
...
libreport-plugin-ureport-2.0.9-25.el6_7.x86_64 : libreport's micro report plugin
Repo        : rhel-6-server-eus-rpms
Matched from:
Filename    : /etc/libreport/plugins/ureport.conf

Comment 9 Bryan Kearney 2016-03-18 15:49:47 UTC
We are not looking to resolve issues with the ABRT plugin.