diff --git a/src/bin/shipyard_airflow/shipyard_airflow/plugins/drydock_nodes.py b/src/bin/shipyard_airflow/shipyard_airflow/plugins/drydock_nodes.py index 40569667..0e7922c7 100644 --- a/src/bin/shipyard_airflow/shipyard_airflow/plugins/drydock_nodes.py +++ b/src/bin/shipyard_airflow/shipyard_airflow/plugins/drydock_nodes.py @@ -176,7 +176,7 @@ class DrydockNodesOperator(DrydockBaseOperator): LOG.info("Node %s failed to join the Kubernetes cluster or was" " not timely enough", node) task_result.successes.remove(node) - except ValueError: + except (ValueError, KeyError): # This node is not joined, but was not one that we were # looking for either. LOG.info("%s failed to join Kubernetes, but was not in the "