Bug 1366171
Summary: | Hammer admin logging does not set debug per individual component | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukas Zapletal <lzap> |
Component: | Hammer | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED ERRATA | QA Contact: | jcallaha |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2.0 | CC: | bbuckingham, ehelms, jcallaha, lzap, mmccune |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://github.com/theforeman/hammer-cli-foreman-admin/pull/3 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 16:54:37 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
Lukas Zapletal
2016-08-11 08:44:05 UTC
Can you help in patch reviewing process? Apply the patch and test if it works please if possible. https://github.com/theforeman/hammer-cli-foreman-admin/pull/3.patch sure can, and it looks like that does the trick! [root@rhsm-qe-1 hammer_cli_foreman_admin-0.0.5]# hammer admin logging -p -c rails hammer admin logging -p -c postgresql,rails,proxy,puppet,dhcpd,named,tftp,qpidd,tomcat,pulp,virt-who *** Bug 1366040 has been marked as a duplicate of this bug. *** This will be fixed in tfm-rubygem-hammer_cli-0.6.0 let's rebase in 6.3. REL-ENG: There will be two commits in 0.6.0 version, please rebase the dependency in 6.3. https://github.com/theforeman/hammer-cli-foreman-admin/commits/master FYI gem was released, RPM packages pending. Verified in Satellite 6.3 Snap 33. -bash-4.2# hammer admin logging --list -----------|-------------------------------------|------------------------------------- COMPONENT | AUTO-DETECTED BY EXISTENCE OF | DESTINATIONS -----------|-------------------------------------|------------------------------------- postgresql | /var/lib/pgsql/data/postgresql.conf | syslog /var/lib/pgsql/data/pg_log/ rails | /etc/foreman/settings.yaml | /var/log/foreman/production.log proxy | /etc/foreman-proxy/settings.yml | /var/log/foreman-proxy/proxy.log puppet | /etc/puppet/puppet.conf | /var/log/puppet/masterhttp.log dhcpd | /etc/dhcp/dhcpd.conf | syslog /var/log/dhcpd-debug.log named | /etc/named.conf | syslog tftp | /etc/xinetd.d/tftp | syslog qpidd | /etc/qpid/qpidd.conf | syslog tomcat | /etc/candlepin/candlepin.conf | /var/log/candlepin/ /var/log/tomcat/ pulp | /etc/pulp/server.conf | syslog /var/log/pulp-debug.log virt-who | /etc/sysconfig/virt-who | syslog -----------|-------------------------------------|------------------------------------- -bash-4.2# hammer admin logging --list | awk '{print $1}' | tail -n 12 | head -n 11 postgresql rails proxy puppet dhcpd named tftp qpidd tomcat pulp virt-who -bash-4.2# for component in $(hammer admin logging --list | awk '{print $1}' | tail -n 12 | head -n 11); do hammer admin logging -d -c $component; done -bash-4.2# 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:0336
|