Red Hat Bugzilla – Bug 1179449
foreman-debug does not include tomcat logs
Last modified: 2017-02-23 15:40:44 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.
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.
To be clear, we need to include: For RHEL6: /var/log/tomcat6/* For RHEL7+ /var/log/tomcat/*
Looking at the code, tomcat6 is already collected.. so it just needs to be the 7 versions.
Created redmine issue http://projects.theforeman.org/issues/8858 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/8858 has been closed ------------- Bryan Kearney Applied in changeset commit:katello|885796bd420735bb7781f234b814839f89d8929e.
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
This bug is slated to be released with Satellite 6.1.
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