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 1184834 - foreman-debug does not contain main mongodb logfile
Summary: foreman-debug does not contain main mongodb logfile
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Infrastructure
Version: 6.0.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Kedar Bidarkar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-22 10:44 UTC by Pavel Moravec
Modified: 2019-09-12 08:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:22:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Pavel Moravec 2015-01-22 10:44:14 UTC
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 10:48:09 UTC
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 13:00:31 UTC
Created redmine issue http://projects.theforeman.org/issues/9079 from this bug

Comment 4 Bryan Kearney 2015-01-22 23:05:08 UTC
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 10:27:08 UTC
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 13:21:59 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 errata-xmlrpc 2015-08-12 05:22:06 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


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