Bug 1976885
| Summary: | [pulp3] "hammer admin logging -l" reflects the old config file name for pulp component in Satellite 6.10 | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Sayan Das <saydas> |
| Component: | Hammer | Assignee: | wclark |
| Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.10.0 | CC: | ahumbe, apatel, kgaikwad, lzap, ofedoren, osousa, rabajaj, wclark |
| Target Milestone: | 6.10.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-hammer_cli_foreman_admin-1.1.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-16 14:39:05 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
Sayan Das
2021-06-28 13:07:44 UTC
Created redmine issue https://projects.theforeman.org/issues/32954 from this bug Upstream bug assigned to ofedoren Upstream bug assigned to ofedoren We have somewhat duplicate BZs with this and https://bugzilla.redhat.com/show_bug.cgi?id=1977693 Since it MAY be desirable to add management of pulp3 logging, separately from removing pulp2 management (for example, both will be running at the same time during the 2to3 migration, and debug logging may be useful for troubleshooting issues with that migration) let's not close the separate BZ as duplicates; rather let's focus this bug ONLY on removal of the pulp2 definitions, so that it's possible to backport pulp3 addition via the other bug if desired. Also related, to implement this functionality in foreman-maintain: https://bugzilla.redhat.com/show_bug.cgi?id=1980904 Verified. Tested on Satellite 6.10.0 Snap 16.0 Steps: 1. hammer admin logging --list Observation: `hammer admin logging --list` now reflects pulpcore instead of pulp, with its respective config file(/etc/pulp/settings.py) and logs(syslog) details. For pulpcore logging, to change to either DEBUG or INFO from hammer admin logging, must need a service restart. Note: Following KCS[1] needs an update for this change, also [2] if needed. [1] https://access.redhat.com/solutions/1155573 [2] https://access.redhat.com/documentation/en-us/red_hat_satellite/6.9/html/hammer_cli_guide/reference#hammer-admin-logging 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 (Satellite 6.10 Satellite Tools Release), 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/RHBA-2021:4701 |