mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 23:18:03 -03:30
Skip additional instance checks on unrecognized hosts
Skip checking the health of a mesh instance when the instance is not registered with the application. This prevents encountering an 'UnbouncLocalError' when running the application attached to a multi-use Receptor mesh network Signed-off-by: Ethan Paul <24588726+enpaul@users.noreply.github.com>
This commit is contained in:
parent
25140c9072
commit
c77aaece1d
@ -514,6 +514,7 @@ def inspect_execution_nodes(instance_list):
|
||||
logger.warn(f"Registered execution node '{hostname}' (marked disabled by default)")
|
||||
else:
|
||||
logger.warn(f"Unrecognized node on mesh advertising ansible-runner work type: {hostname}")
|
||||
continue
|
||||
|
||||
was_lost = instance.is_lost(ref_time=nowtime)
|
||||
last_seen = parse_date(ad['Time'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user