Bug 1578678 - Include /var/log/rhui-subscription-sync.log in sosreports
Summary: Include /var/log/rhui-subscription-sync.log in sosreports
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: RHUA
Version: 3.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 3.0.4
: 3.0.x
Assignee: Martin Minar
QA Contact: Vratislav Hutsky
URL:
Whiteboard:
Depends On:
Blocks: 1591027
TreeView+ depends on / blocked
 
Reported: 2018-05-16 07:02 UTC by Radek Bíba
Modified: 2018-07-10 16:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-10 16:00:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2153 0 None None None 2018-07-10 16:00:57 UTC

Description Radek Bíba 2018-05-16 07:02:56 UTC
Description of problem:
The rh-rhui-tools package contains the /usr/share/rh-rhua/rhui-debug.py file, which is used by the sos utility to collect diagnostic information about the RHUI installation. The support team may want the subscription sync log file in the future so they can troubleshoot the subscription sync feature when it doesn't work for a customer. Therefore, I suggest we include this log file.

Version-Release number of selected component (if applicable):
rh-rhui-tools-3.0.3-3.el7ui

How reproducible:
Always

Steps to Reproduce:
1. Install "sos" and run "sosreport" on a RHUA node.
2. Examine the contents of the created archive.

Actual results:
rhui-subscription-sync.log isn't collected

Expected results:
rhui-subscription-sync.log is collected

Additional info:
We might consider collecting /etc/rhui/registered_subscriptions.conf as well, but I don't know if it would be useful. OTOH, we probably shouldn't collect rhui-subscription-sync.conf as it contains sensitive information.

FWIW, /var/log/cron is already collected, so we don't need to worry about it in rhui-debug.py.

Comment 7 errata-xmlrpc 2018-07-10 16:00:36 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.

https://access.redhat.com/errata/RHBA-2018:2153


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