From ade51c93d8d6ac5132f952a47d5287cea9fe3cac Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 17 Apr 2018 12:10:46 -0400 Subject: [PATCH 1/2] Add some more information to sosreports. - tower cluster configuration - list of all venvs (including custom ones) --- tools/sosreport/tower.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/sosreport/tower.py b/tools/sosreport/tower.py index 732bcca9f7..60f901684e 100644 --- a/tools/sosreport/tower.py +++ b/tools/sosreport/tower.py @@ -7,11 +7,13 @@ from distutils.version import LooseVersion SOSREPORT_TOWER_COMMANDS = [ "ansible --version", # ansible core version "awx-manage --version", # tower version + "awx-manage list_instances", # tower cluster configuration "supervisorctl status", # tower process status "/var/lib/awx/venv/awx/bin/pip freeze", # pip package list "/var/lib/awx/venv/ansible/bin/pip freeze", # pip package list "tree -d /var/lib/awx", # show me the dirs "ls -ll /var/lib/awx", # check permissions + "ls -ll /var/lib/awx/venv", # list all venvs "ls -ll /etc/tower", "ls -ll /var/lib/awx/job_status/" ] From 40cf80db1d351635c2b72636ae019ded2aa35177 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 17 Apr 2018 12:24:40 -0400 Subject: [PATCH 2/2] Add rabbitmq status commands as well. --- tools/sosreport/tower.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/sosreport/tower.py b/tools/sosreport/tower.py index 60f901684e..ebe6af6e88 100644 --- a/tools/sosreport/tower.py +++ b/tools/sosreport/tower.py @@ -9,6 +9,8 @@ SOSREPORT_TOWER_COMMANDS = [ "awx-manage --version", # tower version "awx-manage list_instances", # tower cluster configuration "supervisorctl status", # tower process status + "rabbitmqctl status", + "rabbitmqctl cluster_status", "/var/lib/awx/venv/awx/bin/pip freeze", # pip package list "/var/lib/awx/venv/ansible/bin/pip freeze", # pip package list "tree -d /var/lib/awx", # show me the dirs