Red Hat Bugzilla – Bug 1184834
foreman-debug does not contain main mongodb logfile
Last modified: 2017-02-23 15:38:35 EST
Description of problem: mongodb logs to 2 files: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Oops, Enter pressed too early.. Description of problem: mongodb logs to 2 files: /var/log/mongodb/mongodb.log - the parent process logs here not-important info /var/lib/mongodb/mongodb.log - the child process logs here important info (i.e. process failed as port 27017 occupied) foreman-debug gathers just /var/log/mongodb/mongodb.log but not /var/lib/mongodb/mongodb.log. Please add the second one there as well. Version-Release number of selected component (if applicable): foreman-1.6.0.49-1.el6sat.noarch How reproducible: 100% Steps to Reproduce: 1. Run foreman-debug 2. Check if it gathers /var/lib/mongodb/mongodb.log Actual results: foreman-debug does not gather /var/lib/mongodb/mongodb.log Expected results: foreman-debug to gather /var/lib/mongodb/mongodb.log Additional info:
Created redmine issue http://projects.theforeman.org/issues/9079 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/9079 has been closed ------------- Bryan Kearney Applied in changeset commit:katello|9ba969b7933a47caa8fa819b00b39361852eb2dc.
For RHEL6 --------- [root@xxxx ~]# tar -xvf /tmp/foreman-debug-KXMZl.tar.xz | grep -i mongodb var/lib/mongodb/ var/lib/mongodb/mongodb.log var/log/mongodb/ var/log/mongodb/mongodb.log [root@xxxx ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) For RHEL7 ---------- [root@yyyy ~]# tar -tvf /tmp/foreman-debug-sgP44.tar.xz | grep -i mongodb drwxr-xr-x root/root 0 2015-02-13 05:17 var/lib/mongodb/ -rw-r--r-- root/root 33757 2015-02-13 05:17 var/lib/mongodb/mongodb.log [root@yyyyy ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) VERIFIED With Beta-snap1 Sat6.1
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