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 1432977 - On capsules collect katello-reverse-proxy_access_ssl.log
Summary: On capsules collect katello-reverse-proxy_access_ssl.log
Keywords:
Status: CLOSED DUPLICATE of bug 1546099
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Debug
Version: 6.2.8
Hardware: All
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact: Sanket Jagtap
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-16 13:42 UTC by Julio Entrena Perez
Modified: 2020-08-13 08:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-21 20:28:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 19126 0 Normal Closed On capsules collect katello-reverse-proxy_access_ssl.log 2020-08-25 21:12:12 UTC

Description Julio Entrena Perez 2017-03-16 13:42:33 UTC
Description of problem:
When run on a Satellite 6 Capsule, foreman-debug does not collect httpd log files for the client requests that are being proxied to the Satellite.

Version-Release number of selected component (if applicable):
foreman-debug-1.11.0.66-3.el7sat
How reproducible:
Always

Steps to Reproduce:
1. Run "foreman-debug"
2. Inspect the resulting tarball
3.

Actual results:
/var/log/httpd/katello-reverse-proxy_access_ssl.log(-*) log files are not collected.

Expected results:
/var/log/httpd/katello-reverse-proxy_access_ssl.log(-*) log files are collected.

Additional info:

Comment 3 Satellite Program 2017-04-06 18:11:52 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19126 has been resolved.

Comment 6 Sanket Jagtap 2017-12-13 08:02:36 UTC
Build: Satellite 6.3.0 snap 28

root@qe-capsule-upgrade-rhel7 httpd]# rpm -qa | grep satellite
satellite-capsule-6.3.0-22.0.el7sat.noarch
satellite-common-6.3.0-22.0.el7sat.noarch
satellite-installer-6.3.0.9-1.beta.el7sat.noarch

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

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


A debug file has been created: /tmp/foreman-debug-WZxbl.tar.xz (2849836 bytes)

Output for /var/log/httpd

 ll /var/log/httpd/ | grep katello
-rw-r--r--. 1 root root   4997 Dec 13 02:49 katello-reverse-proxy_access_ssl.log
-rw-r--r--. 1 root root  27419 May  2  2017 katello-reverse-proxy_access_ssl.log-20170630
-rw-r--r--. 1 root root   9216 Jul  3 03:03 katello-reverse-proxy_access_ssl.log-20170703
-rw-r--r--. 1 root root   9394 Oct 26 10:46 katello-reverse-proxy_access_ssl.log-20171113
-rw-r--r--. 1 root root  10914 Nov 14 05:21 katello-reverse-proxy_access_ssl.log-20171212
-rw-r--r--. 1 root root      0 Jan  3  2017 katello-reverse-proxy_error_ssl.log
-rw-r--r--. 1 root root   2544 Dec 13  2016 katello-reverse-proxy_error_ssl.log-20161213
-rw-r--r--. 1 root root  13310 Dec 15  2016 katello-reverse-proxy_error_ssl.log-20161218
-rw-r--r--. 1 root root   9152 Dec 26  2016 katello-reverse-proxy_error_ssl.log-20170103


So, box has the related log files.

Foreman-debug log

cd foreman-debug-WZxbl/var/log/httpd/
[root@qe-capsule-upgrade-rhel7 httpd]# ll
total 1048
-rw-r--r--. 1 root root  18046 Dec 12 09:39 error_log
-rw-r--r--. 1 root root  14189 Aug 27 04:24 error_log-20170827
-rw-r--r--. 1 root root  27311 Oct 26 04:30 error_log-20171026
-rw-r--r--. 1 root root  38154 Nov 13 03:30 error_log-20171113
-rw-r--r--. 1 root root  17226 Dec 12 07:21 error_log-20171212
-rw-r--r--. 1 root root 248571 Dec 13 02:48 pulp-https_access_ssl.log
-rw-r--r--. 1 root root  32708 Jul  3 03:03 pulp-https_access_ssl.log-20170827
-rw-r--r--. 1 root root 128198 Aug 27 07:02 pulp-https_access_ssl.log-20171026
-rw-r--r--. 1 root root 204332 Oct 26 10:46 pulp-https_access_ssl.log-20171113
-rw-r--r--. 1 root root 304444 Dec 12 07:07 pulp-https_access_ssl.log-20171212
-rw-r--r--. 1 root root    822 Dec 12 10:10 pulp-https_error_ssl.log
-rw-r--r--. 1 root root   3161 Jun 30 12:36 pulp-https_error_ssl.log-20170702
-rw-r--r--. 1 root root    824 Aug 27 07:02 pulp-https_error_ssl.log-20171026
-rw-r--r--. 1 root root   1656 Oct 26 09:36 pulp-https_error_ssl.log-20171113
-rw-r--r--. 1 root root   1652 Dec 12 07:06 pulp-https_error_ssl.log-20171212

But the foreman-debug still fails to capture those.

Comment 7 Chris Roberts 2018-03-21 20:28:51 UTC

*** This bug has been marked as a duplicate of bug 1546099 ***


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