Project

General

Profile

Actions

Bug #12678

closed

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

Added by Pavel Moravec almost 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Dominic Cleal almost 9 years ago

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

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"

  1. Gofer
    add_files /etc/gofer
Actions #3

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
Actions #4

Updated by Eric Helms almost 9 years ago

  • Project changed from Katello to Packaging
  • Triaged changed from No to Yes
Actions #5

Updated by Eric Helms almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • Translation missing: en.field_release set to 86
Actions #6

Updated by Greg Sutcliffe about 6 years ago

  • Target version deleted (Katello 3.0.0)
Actions

Also available in: Atom PDF