maguy
April 7, 2025, 2:10pm
1
Hello!
Im trying to run my project: cisco_backup in AAP but getting the below error knowing that /home/maguy/aap/controller/data/projects/ is the base path of the projects.
I gave awx all needed permissions (chmod o+x /home/maguy) and when i try the below touch command i get no errors:
[maguy@test ~]$ sudo -u awx touch /home/maguy/aap/controller/data/projects/cisco_backup.lock
[maguy@test ~]$
Any recommendations on how to troubleshoot the permission denied error?
mcen1
(mcen1)
April 7, 2025, 7:04pm
2
Please post the entire Ansible error, ideally with max verbosity and removing any sensitive info
maguy
April 8, 2025, 5:34am
3
Hello,
Im getting the below error:
Traceback (most recent call last):
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 492, in run
self.build_project_dir(self.instance, private_data_dir)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 1086, in build_project_dir
self.sync_and_copy(job.project, private_data_dir, scm_branch=job.scm_branch)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 765, in sync_and_copy
self.acquire_lock(project, self.instance.id)
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 388, in acquire_lock
self.lock_fd = os.open(lock_path, os.O_RDWR | os.O_CREAT)
PermissionError: [Errno 13] Permission denied: ‘/home/maguy/aap/controller/data/projects/cisco_backup.lock’