Bug 1287985
| Summary: | Add qpid-stat -q/-u to foreman-debug | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> |
| Component: | Packaging | Assignee: | Lukas Zapletal <lzap> |
| Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1.3 | CC: | bbuckingham, kbidarka, sthirugn |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://projects.theforeman.org/issues/12678 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 09:00:07 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-12-03 08:53:43 UTC
Upstream bug component is Content Management Upstream bug component is Packaging Moving to POST since upstream bug http://projects.theforeman.org/issues/12678 has been closed ------------- Pavel Moravec As I understood, katello related stuff in foreman-debug should be placed to katello-debug.sh script. Since I am unable to find the script on github, posting the patch here: --- /usr/share/katello/script/katello-debug.sh 2015-12-03 10:42:38.701491316 +0100 +++ /usr/share/katello/script/katello-debug.sh.new 2015-12-03 10:42:33.566497422 +0100 @@ -56,6 +56,8 @@ if [ $NOGENERIC -eq 0 ]; then add_files /etc/qpid/* add_files /etc/qpidd.conf fi +add_cmd "qpid-stat --ssl-certificate=/etc/pki/katello/qpid_client_striped.crt -b amqps://localhost:5671 -q" "qpid_stat_queues" +add_cmd "qpid-stat --ssl-certificate=/etc/pki/katello/qpid_client_striped.crt -b amqps://localhost:5671 -u" "qpid_stat_subscriptions" # Gofer add_files /etc/gofer We now have these 2 files in the foreman-debug. foreman-debug-a2yvh]# ll qpid_stat_* -rw-r--r--. 1 root root 13257 Apr 12 05:28 qpid_stat_queues -rw-r--r--. 1 root root 17382 Apr 12 05:28 qpid_stat_subscriptions VERIFIED withy sat62-snap7 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/RHBA-2016:1500 |