Bug 1179449

Summary: foreman-debug does not include tomcat logs
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: InfrastructureAssignee: Christine Fouant <cfouant>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: bkearney, kbidarka, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/8858
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:21:20 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:

Description Mike McCune 2015-01-06 18:59:47 UTC
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 Program Management 2015-01-06 19:24:04 UTC
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 19:37:43 UTC
To be clear, we need to include:

For RHEL6:

/var/log/tomcat6/*

For RHEL7+

/var/log/tomcat/*

Comment 4 Bryan Kearney 2015-01-07 17:58:42 UTC
Looking at the code, tomcat6 is already collected.. so it just needs to be the 7 versions.

Comment 5 Bryan Kearney 2015-01-07 18:00:09 UTC
Created redmine issue http://projects.theforeman.org/issues/8858 from this bug

Comment 6 Bryan Kearney 2015-01-07 19:05:09 UTC
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 10:22:11 UTC
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 13:28:31 UTC
This bug is slated to be released with Satellite 6.1.

Comment 11 errata-xmlrpc 2015-08-12 05:21:20 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-2015:1592