[RHV]"No usable temporary directory found" in the logs while executing tasks like add host, export OVA,host upgrade that calls ansible-runner service

Solution Verified - Updated -

Issue

  • The following message is observed in the ansible-runner service logs:
2022-09-07 10:05:01,707 - runner_service.services.playbook - DEBUG - cb_event_handler event_data={'event': 'verbose', 'uuid': '80f53826-6ed7-42fc-8ad9-a68e72341be6', 'counter': 1, 'stdout': "ERROR! Unexpected Exception, this is probably a bug: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/usr/share/ovirt-engine/ansible-runner-service-project/project']", 'start_line': 0, 'end_line': 1, 'runner_ident': '64198db6-2e7b-11ed-83eb-005056aa8327'}
  • The following message is registered during the deployment process of a new host in /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-${remote_hostname}.log.
    MSK - ERROR! Unexpected Exception, this is probably a bug: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/usr/share/ovirt-engine/ansible-runner-service-project/project']

Environment

  • Red Hat Virtualization 4.4.

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