Bug 1532262
| Summary: | capsule-certs-generate logfile should be under /var/log/foreman* | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> |
| Component: | Installation | Assignee: | Chris Roberts <chrobert> |
| Status: | CLOSED ERRATA | QA Contact: | Radovan Drazny <rdrazny> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | Unspecified | CC: | chrobert, rdrazny |
| Target Milestone: | 6.4.0 | Keywords: | EasyFix, Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| URL: | https://projects.theforeman.org/issues/22810 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-16 19:35:18 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: | |||
Tested on Sat 6.4 Snap 12, satellite-installer-6.4.0.5-1.beta using the reproducer from the initial report.
$ lsof -p $(ps aux | grep capsule-certs-generat[e] | awk ' { print $2 } ') | grep log
capsule-c 31652 root mem REG 253,0 15720 100852721 /usr/lib64/ruby/syslog.so
capsule-c 31652 root 7u REG 253,0 259765 102412993 /var/log/foreman-installer/foreman-proxy-certs-generate.log
Resulting log file can be found in the /var/log/foreman-installer directory.
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-2018:2927 |
Description of problem: capsule-certs-generate tool logs to /var/log/capsule-certs-generate.log . Since the log is foreman or foreman-installer relevant, the logfile should be placed under either directory: /var/log/foreman/ /var/log/foreman-installer/ Version-Release number of selected component (if applicable): Sat 6.2.13 How reproducible: 100% Steps to Reproduce: 1. Invoke capsule-certs-generate 2. concurrently run: lsof -p $(ps aux | grep -v grep | grep capsule-certs-generate | awk '{ print $2 }') | grep log to see what logfile the tool uses Actual results: 2. to return /var/log/foreman-installer/capsule-certs-generate.log Expected results: 2. returns /var/log/capsule-certs-generate.log Additional info: