Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1179449 - foreman-debug does not include tomcat logs
foreman-debug does not include tomcat logs
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Infrastructure (Show other bugs)
Nightly
Unspecified Unspecified
unspecified Severity medium (vote)
: Unspecified
: Unused
Assigned To: Christine Fouant
Kedar Bidarkar
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-06 13:59 EST by Mike McCune
Modified: 2017-02-23 15:40 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:21:20 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 8858 None None None 2016-04-22 11:35 EDT
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description Mike McCune 2015-01-06 13:59:47 EST
We need to include the tomcat logs as this contains a good deal of info from Candlepin's history/configuration that is useful for debugging.
Comment 1 RHEL Product and Program Management 2015-01-06 14:24:04 EST
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Comment 3 Mike McCune 2015-01-06 14:37:43 EST
To be clear, we need to include:

For RHEL6:

/var/log/tomcat6/*

For RHEL7+

/var/log/tomcat/*
Comment 4 Bryan Kearney 2015-01-07 12:58:42 EST
Looking at the code, tomcat6 is already collected.. so it just needs to be the 7 versions.
Comment 5 Bryan Kearney 2015-01-07 13:00:09 EST
Created redmine issue http://projects.theforeman.org/issues/8858 from this bug
Comment 6 Bryan Kearney 2015-01-07 14:05:09 EST
Moving to POST since upstream bug http://projects.theforeman.org/issues/8858 has been closed
-------------
Bryan Kearney
Applied in changeset commit:katello|885796bd420735bb7781f234b814839f89d8929e.
Comment 9 Kedar Bidarkar 2015-02-13 05:22:11 EST
For RHEL7 
---------

[root@vvvvv ~]# tar -tvf /tmp/foreman-debug-sgP44.tar.xz | grep -i tomcat
drwxr-xr-x root/root         0 2015-02-13 05:17 etc/tomcat/
-rw-r--r-- root/root      7350 2015-02-13 05:17 etc/tomcat/server.xml
drwxr-xr-x root/root         0 2015-02-13 05:17 var/log/tomcat/
-rw-r--r-- root/root     13064 2015-02-13 05:17 var/log/tomcat/catalina.2015-02-11.log
-rw-r--r-- root/root     15292 2015-02-13 05:17 var/log/tomcat/catalina.out
-rw-r--r-- root/root      8046 2015-02-13 05:17 var/log/tomcat/localhost.2015-02-11.log
[root@vvvvv ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.0 (Maipo)

--------------------------------------------------------------------------

For RHEL6
----------

[root@wwww ~]# tar -xvf /tmp/foreman-debug-KXMZl.tar.xz | grep -i tomcat6
etc/tomcat6/
etc/tomcat6/server.xml
var/log/tomcat6/
var/log/tomcat6/catalina.out
[root@wwww ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.6 (Santiago)

VERIFIED with sat6.1 Beta SNAP2
Comment 10 Bryan Kearney 2015-08-11 09:28:31 EDT
This bug is slated to be released with Satellite 6.1.
Comment 11 errata-xmlrpc 2015-08-12 01:21:20 EDT
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-2015:1592

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