Why Are The Jobs Running on Isolated Node Failing With "OSError: [Errno 2] No such file or directory" Error In Ansible Tower ?

Solution Verified - Updated -

Issue

If there is are long running jobs it completes successfully on Ansible Tower nodes, but if we run the same jobs on Isolated nodes it fails with the below error :


Traceback (most recent call last): File "/usr/bin/ansible-playbook", line 151, in <module> display.error("Unexpected Exception, this is probably a bug: %s" % to_text(e), wrap_text=False) File "/usr/lib/python3.6/site-packages/ansible_runner/display_callback/display.py", line 41, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/ansible/utils/display.py", line 334, in error self.display(new_msg, color=C.COLOR_ERROR, stderr=True) File "/usr/lib/python3.6/site-packages/ansible_runner/display_callback/display.py", line 89, in wrapper event_context.dump_begin(fileobj) File "/usr/lib/python3.6/site-packages/ansible_runner/display_callback/events.py", line 196, in dump_begin self.cache.set(":1:ev-{}".format(begin_dict['uuid']), begin_dict) File "/usr/lib/python3.6/site-packages/ansible_runner/display_callback/events.py", line 68, in set os.mkdir(os.path.join(self.private_data_dir, 'job_events'), 0o700) FileNotFoundError: [Errno 2] No such file or directory: '/tmp/awx_7_eb2s9lqm/artifacts/7/job_events'

Environment

  • Ansible Tower

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content