Bug #12678
closedAdd qpid-stat -q/-u to foreman-debug
Description
When investigating pulp or gofer issues, it is often valuable to know qpid broker queue statistics - ideally both queue stats and also subscription stats (to see if some consumer acquired messages and got stuck).
That means, add:
qpid-stat --ssl-certificate=/etc/pki/katello/qpid_client_striped.crt -b amqps://localhost:5671 -q
qpid-stat --ssl-certificate=/etc/pki/katello/qpid_client_striped.crt -b amqps://localhost:5671 -u
to foreman-debug commands to collect, both on Satellite and Capsule.
Updated by Dominic Cleal almost 9 years ago
- Project changed from Foreman to Katello
- Category deleted (
foreman-debug) - Triaged set to No
Updated by Pavel Moravec almost 9 years ago
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
Updated by The Foreman Bot almost 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello-packaging/pull/118 added
Updated by Eric Helms almost 9 years ago
- Project changed from Katello to Packaging
- Triaged changed from No to Yes
Updated by Eric Helms almost 9 years ago
- Status changed from Ready For Testing to Closed
- Translation missing: en.field_release set to 86
Updated by Greg Sutcliffe about 6 years ago
- Target version deleted (
Katello 3.0.0)