followed this guide: Chapter 5. Configuring proxy support for Red Hat Ansible Automation Platform Red Hat Ansible Automation Platform 2.0-ea | Red Hat Customer Portal
it forced me to enter something in the Proxy IP Allowed List and CSRF Trusted Origins List even though doc says empty list will allow all to be trusted. It is Kubernetes so not a static IP ALB, after entering “” awx is down the the web container throwing:
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/utils/profiling.py", line 129, in stop
res = self.output_results()
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/utils/profiling.py", line 90, in output_results
super().output_results()
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/utils/profiling.py", line 22, in output_results
os.makedirs(self.dest)
File "/usr/lib64/python3.9/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib64/python3.9/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/var/log/tower'
2023-11-16 22:03:02,385 ERROR [c42e021ac51a4f438245248386d68f28] django.request Internal Server Error: /
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__
response = self.process_response(request, response)
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/middleware.py", line 58, in process_response
response['X-API-Profile-File'] = self.prof.stop()
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/utils/profiling.py", line 129, in stop
res = self.output_results()
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/utils/profiling.py", line 90, in output_results
super().output_results()
File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/utils/profiling.py", line 22, in output_results
os.makedirs(self.dest)
File "/usr/lib64/python3.9/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib64/python3.9/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/var/log/tower'