Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1538640 - [RFE] Update foreman-debug to collect logs
Summary: [RFE] Update foreman-debug to collect logs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Anurag Patel
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks: 1542407
TreeView+ depends on / blocked
 
Reported: 2018-01-25 14:01 UTC by Ivan Necas
Modified: 2019-09-26 15:36 UTC (History)
7 users (show)

Fixed In Version: foreman-1.15.6.33-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1542407 (view as bug list)
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21743 0 None None None 2018-01-25 14:01:44 UTC

Description Ivan Necas 2018-01-25 14:01:42 UTC
/var/log/foreman-maintain/foreman-maintain.log

Comment 1 Ivan Necas 2018-01-25 14:01:48 UTC
Created from redmine issue http://projects.theforeman.org/issues/21743

Comment 2 Ivan Necas 2018-01-25 14:01:53 UTC
Upstream bug assigned to apatel

Comment 5 Nikhil Kathole 2018-02-06 10:06:46 UTC
VERIFIED

foreman-debug collects foreman-maintain.log file. (see attachment)

Version tested:
Satellite 6.3 snap 35

# rpm -q satellite
satellite-6.3.0-23.0.el7sat.noarch

# rpm -qa | grep foreman-debug
foreman-debug-1.15.6.34-1.el7sat.noarch

# foreman-debug
Processing... (takes a while)

 HOSTNAME: $(hostname)
       OS: redhat
  RELEASE: Red Hat Enterprise Linux Server release 7.4 (Maipo)
  FOREMAN: 1.15.6.34
     RUBY: ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
   PUPPET: 3.8.6
  DENIALS: 0


A debug file has been created: /var/tmp/foreman-debug-gLUpq.tar.xz (1761828 bytes)

To upload a tarball to our secure site, please use the -u option.

# tar -tvf /var/tmp/foreman-debug-gLUpq.tar.xz | grep foreman-maintain
drwxr-xr-x root/root         0 2018-02-06 03:54 foreman-debug-gLUpq/var/log/foreman-maintain/
-rw-r--r-- root/root     22809 2018-02-06 03:59 foreman-debug-gLUpq/var/log/foreman-maintain/foreman-maintain.log

Comment 7 Satellite Program 2018-02-21 16:54:17 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/RHSA-2018:0336


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