From 5390dc883b47aa10f83f7cf056caaaa8c99ff976 Mon Sep 17 00:00:00 2001 From: Manuel Amador Date: Wed, 2 Oct 2024 13:26:51 +0200 Subject: [PATCH] Add a bit of logging to see why the logic is hitting. --- plugins/sensors/ic_os_rollout.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/sensors/ic_os_rollout.py b/plugins/sensors/ic_os_rollout.py index 58df686..15b4c3b 100644 --- a/plugins/sensors/ic_os_rollout.py +++ b/plugins/sensors/ic_os_rollout.py @@ -350,6 +350,9 @@ def send_notification_if_necessary(subnet_id: str) -> None: key=key, map_indexes=context["task_instance"].map_index, ) + self.log.info( + "Here is the current alert check timestamp: %r", alert_check_timestamp + ) if not alert_check_timestamp: # Value is not yet xcommed. Xcom it now. deadline = now + SUBNET_UPDATE_STALL_TIMEOUT_SECONDS