I installed AWX 24.6.1 with awx-operator 2.19.1.
kubectl get pods -n awx
NAME READY STATUS RESTARTS AGE
awx-migration-24.6.1-2s9qv 0/1 Completed 0 69m
awx-operator-controller-manager-666ddcf9c5-c5b8h 2/2 Running 2 (35m ago) 74m
awx-postgres-15-0 1/1 Running 1 (35m ago) 72m
awx-task-6cfbc66dfd-88s6g 4/4 Running 4 (35m ago) 71m
awx-web-7c6b47c9fb-f2qwv 3/3 Running 3 (35m ago) 71m
But when I create a project in awx-web, it recognizes it, but when I run the template, I get the following error:
File “/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/main/tasks/jobs.py”, line 1371, in make_local_copy
shutil.copytree(project_path, destination_folder, ignore=shutil.ignore_patterns(‘.git’), symlinks=True)
File “/usr/lib64/python3.11/shutil.py”, line 571, in copytree
with os.scandir(src) as itr:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/var/lib/awx/projects/DemoJR’
When I create it in the task awx-task-6cfbc66dfd-88s6g
, it recognizes it.
However, when I shut down or restart the server, the folder /var/lib/awx/projects
no longer exists in awx-web-7c6b47c9fb-f2qwv
.
Why does this happen?