From d5626a4f3e28ac7b04a2069bacb570f9ac61ec5e Mon Sep 17 00:00:00 2001 From: Hideki Saito Date: Mon, 15 Oct 2018 11:40:51 +0900 Subject: [PATCH] [3.3.1] Add files and output of commands to gather with sosreport - Fixed issue #3064 --- tools/sosreport/tower.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/sosreport/tower.py b/tools/sosreport/tower.py index 20fef80ea1..6d4aec0c02 100644 --- a/tools/sosreport/tower.py +++ b/tools/sosreport/tower.py @@ -11,17 +11,22 @@ SOSREPORT_TOWER_COMMANDS = [ "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 + "/var/lib/awx/venv/awx/bin/pip freeze", # pip package list + "/var/lib/awx/venv/awx/bin/pip freeze -l", # pip package list without globally-installed packages + "/var/lib/awx/venv/ansible/bin/pip freeze", # pip package list + "/var/lib/awx/venv/ansible/bin/pip freeze -l", # pip package list without globally-installed packages "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 /etc/tower", + "umask -p" # check current umask ] SOSREPORT_TOWER_DIRS = [ "/etc/tower/", "/etc/ansible/", + "/etc/supervisord.d/", + "/etc/nginx/", "/var/log/tower", "/var/log/nginx", "/var/log/rabbitmq",