mirror of
https://github.com/ansible/awx.git
synced 2026-05-25 01:27:45 -02:30
Adding /etc/supervisord.conf to sosreports (#12104)
This commit is contained in:
18
tools/sosreport/TESTING.md
Normal file
18
tools/sosreport/TESTING.md
Normal file
@@ -0,0 +1,18 @@
|
||||
Create a RHEL box and then do the following.
|
||||
```bash
|
||||
sudo mkdir -p /usr/share/sosreport/sos/plugins
|
||||
sudo yum install sos
|
||||
cp controller.py /usr/share/sosreport/sos/plugins
|
||||
sudo chmod 644 /usr/share/sosreport/sos/plugins/controller.py
|
||||
ln -s /usr/share/sosreport/sos/plugins/controller.py `find `find /usr/lib -name sos` -name plugins`
|
||||
sosreport -l | grep controller
|
||||
```
|
||||
|
||||
The results should be:
|
||||
```bash
|
||||
# sosreport -l | grep controller
|
||||
controller Ansible Automation Platform controller information
|
||||
```
|
||||
|
||||
To run only the controller plugin run: `sosreport --only-plugins controller`
|
||||
|
||||
@@ -31,6 +31,7 @@ SOSREPORT_CONTROLLER_COMMANDS = [
|
||||
SOSREPORT_CONTROLLER_DIRS = [
|
||||
"/etc/tower/",
|
||||
"/etc/receptor/",
|
||||
"/etc/supervisord.conf",
|
||||
"/etc/supervisord.d/",
|
||||
"/etc/nginx/",
|
||||
"/var/log/tower",
|
||||
@@ -54,7 +55,7 @@ SOSREPORT_FORBIDDEN_PATHS = [
|
||||
"/etc/tower/awx.cert",
|
||||
"/var/log/tower/profile",
|
||||
"/etc/receptor/tls/ca/*.key",
|
||||
"/etc/receptor/tls/*.key"
|
||||
"/etc/receptor/tls/*.key",
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user