Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1184834 - foreman-debug does not contain main mongodb logfile
foreman-debug does not contain main mongodb logfile
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Infrastructure (Show other bugs)
6.0.6
Unspecified Unspecified
unspecified Severity high (vote)
: Unspecified
: Unused
Assigned To: Ivan Necas
Kedar Bidarkar
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-22 05:44 EST by Pavel Moravec
Modified: 2017-02-23 15:38 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:22:06 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
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 Pavel Moravec 2015-01-22 05:44:14 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:
Comment 1 Pavel Moravec 2015-01-22 05:48:09 EST
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:
Comment 3 Bryan Kearney 2015-01-22 08:00:31 EST
Created redmine issue http://projects.theforeman.org/issues/9079 from this bug
Comment 4 Bryan Kearney 2015-01-22 18:05:08 EST
Moving to POST since upstream bug http://projects.theforeman.org/issues/9079 has been closed
-------------
Bryan Kearney
Applied in changeset commit:katello|9ba969b7933a47caa8fa819b00b39361852eb2dc.
Comment 7 Kedar Bidarkar 2015-02-13 05:27:08 EST
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
Comment 8 Bryan Kearney 2015-08-11 09:21:59 EDT
This bug is slated to be released with Satellite 6.1.
Comment 9 errata-xmlrpc 2015-08-12 01:22:06 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.