Bug 1184834
Summary: | foreman-debug does not contain main mongodb logfile | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> |
Component: | Infrastructure | Assignee: | Ivan Necas <inecas> |
Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.6 | CC: | bbuckingham, bkearney, cwelton, greartes, kbidarka |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/9079 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-12 05:22:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pavel Moravec
2015-01-22 10:44:14 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: 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 |