You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that the AWX Operator is open source software provided for free and that I might not receive a timely response.
Bug Summary
Hello team,
Occasionally, I encounter a Post run hook errored for project updates, even though most projects update successfully. Here are the tracebacks:
2025-02-19 03:01:00,357 ERROR [-] awx.main.tasks.jobs project_update xxx (running) Post run hook errored.
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/main/tasks/jobs.py", line 637, in run
self.post_run_hook(self.instance, status)
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/main/tasks/jobs.py", line 1410, in post_run_hook
shutil.rmtree(stage_path) # cannot trust content update produced
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/shutil.py", line 752, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib64/python3.11/shutil.py", line 672, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib64/python3.11/shutil.py", line 672, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib64/python3.11/shutil.py", line 672, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib64/python3.11/shutil.py", line 683, in _rmtree_safe_fd
onerror(os.rmdir, fullname, sys.exc_info())
File "/usr/lib64/python3.11/shutil.py", line 681, in _rmtree_safe_fd
os.rmdir(entry.name, dir_fd=topfd)
OSError: [Errno 39] Directory not empty: 'ansible-windows-1.11.1-cgel_146
or
2025-02-19 09:00:41,404 ERROR [ad623158921548589ea54af63b05b196] awx.main.tasks.jobs project_update xxx (running) Post run hook errored.
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/main/tasks/jobs.py", line 637, in run
self.post_run_hook(self.instance, status)
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/main/tasks/jobs.py", line 1410, in post_run_hook
shutil.rmtree(stage_path) # cannot trust content update produced
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/shutil.py", line 752, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib64/python3.11/shutil.py", line 672, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib64/python3.11/shutil.py", line 672, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib64/python3.11/shutil.py", line 672, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib64/python3.11/shutil.py", line 703, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib64/python3.11/shutil.py", line 701, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'tmpvjbzpmia'
AWX Operator version
2.19.1
AWX version
24.6.1
Kubernetes platform
openshift
Kubernetes/Platform version
Kustomize Version: v5.0.1 Server Version: 4.14.34 Kubernetes Version: v1.27.15+6147456
Please confirm the following
Bug Summary
Hello team,
Occasionally, I encounter a Post run hook errored for project updates, even though most projects update successfully. Here are the tracebacks:
or
AWX Operator version
2.19.1
AWX version
24.6.1
Kubernetes platform
openshift
Kubernetes/Platform version
Kustomize Version: v5.0.1 Server Version: 4.14.34 Kubernetes Version: v1.27.15+6147456
Modifications
no
Steps to reproduce
It happens randomly.
Expected results
Project_update run successfully always.
Actual results
Project_update fails randomly.
Additional information
Operator Logs
No response
The text was updated successfully, but these errors were encountered: