mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 22:49:32 -02:30
Only clear hop node errors if they were lost before, not lost now
This commit is contained in:
@@ -457,8 +457,9 @@ def inspect_execution_nodes(instance_list):
|
|||||||
|
|
||||||
# Only execution nodes should be dealt with by execution_node_health_check
|
# Only execution nodes should be dealt with by execution_node_health_check
|
||||||
if instance.node_type == 'hop':
|
if instance.node_type == 'hop':
|
||||||
logger.warning(f'Hop node {hostname}, has rejoined the receptor mesh')
|
if was_lost and (not instance.is_lost(ref_time=nowtime)):
|
||||||
instance.save_health_data(errors='')
|
logger.warning(f'Hop node {hostname}, has rejoined the receptor mesh')
|
||||||
|
instance.save_health_data(errors='')
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if was_lost:
|
if was_lost:
|
||||||
|
|||||||
Reference in New Issue
Block a user