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
When trying to run job via transmit-worker-process while using process_isolation_executable the kwargs pass into transmit will contain the process_isolation=true this cause check_isolation_executable_installed to run during all 3 of the phases (transmit, worker, process)
print(f'Unable to find process isolation executable: {pi_executable}')
sys.exit(1)
In order for the transmit-worker-process chain to use process_isolation_executable the argument must be passed to transmit and have transmit pass the argument down the chain. Therefore we can not just simply remove the argument.
In AWX ansible-runner transmit runs on host that dispatcher runs while ansible-runner worker runs on host that the receptor runs
It is possible for the host for dispatcher does not have the process_isolation_executable (since the job is not actually run on the host) and only the host for receptor have the process_isolation_executable
When trying to run job via
transmit-worker-process
while usingprocess_isolation_executable
the kwargs pass intotransmit
will contain theprocess_isolation=true
this causecheck_isolation_executable_installed
to run during all 3 of the phases (transmit, worker, process)ansible-runner/ansible_runner/interface.py
Lines 86 to 90 in a349921
In order for the
transmit-worker-process
chain to useprocess_isolation_executable
the argument must be passed totransmit
and havetransmit
pass the argument down the chain. Therefore we can not just simply remove the argument.In AWX
ansible-runner transmit
runs on host thatdispatcher
runs whileansible-runner worker
runs on host that thereceptor
runsIt is possible for the host for
dispatcher
does not have theprocess_isolation_executable
(since the job is not actually run on the host) and only the host forreceptor
have theprocess_isolation_executable
https://github.com/ansible/awx/blob/4dc956c76f31accc3f57599d5e6df1735ffa2c16/awx/main/tasks/receptor.py#L391
The text was updated successfully, but these errors were encountered: