Project

General

Profile

Bug #12678

Add qpid-stat -q/-u to foreman-debug

Added by Pavel Moravec over 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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.

Associated revisions

Revision bd9406d2 (diff)
Added by Pavel Moravec over 7 years ago

Fixes #12678 - Add qpid-stat -q/-u to foreman-debug

Signed-off-by: Pavel Moravec <>

Revision df805823
Added by Eric D Helms over 7 years ago

Merge pull request #118 from pmoravec/pmoravec-qpid-stat-to-katello-debug

Fixes #12678 - Add qpid-stat -q/-u to foreman-debug

History

#1 Updated by Dominic Cleal over 7 years ago

  • Project changed from Foreman to Katello
  • Category deleted (foreman-debug)
  • Triaged set to No

#2 Updated by Pavel Moravec over 7 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"

  1. Gofer
    add_files /etc/gofer

#3 Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/118 added

#4 Updated by Eric Helms about 7 years ago

  • Project changed from Katello to Packaging
  • Triaged changed from No to Yes

#5 Updated by Eric Helms about 7 years ago

  • Status changed from Ready For Testing to Closed
  • Legacy Backlogs Release (now unused) set to 86

#6 Updated by Greg Sutcliffe over 4 years ago

  • Target version deleted (Katello 3.0.0)

Also available in: Atom PDF