Merge branch '7667-node-manager-logging' refs #7667
[arvados.git] / services / nodemanager / arvnodeman / computenode / dispatch / __init__.py
index 17d04638a6a774d3de6cb645b5a6d39b3f3a37cb..2ae4fc8923612d474b833fcf9f345b255148ee3d 100644 (file)
@@ -203,8 +203,7 @@ class ComputeNodeShutdownActor(ComputeNodeStateChangeBase):
 
     def cancel_shutdown(self, reason):
         self.cancel_reason = reason
-        self._logger.info("Shutdown cancelled: %s.",
-                          self.cloud_node.id, reason)
+        self._logger.info("Shutdown cancelled: %s.", reason)
         self._finished(success_flag=False)
 
     def _stop_if_window_closed(orig_func):
@@ -374,9 +373,9 @@ class ComputeNodeMonitorActor(config.actor_class):
             # is in an error state, so shut it down.
             return True
         if missing is None and self._cloud.broken(self.cloud_node):
-            self._logger.warning(
-                "cloud reports broken node, but paired node %s never pinged "
-                "(bug?) -- skipped check for node_stale_after",
+            self._logger.info(
+                "Cloud node considered 'broken' but paired node %s last_ping_at is None, " +
+                "cannot check node_stale_after (node may be shut down and we just haven't gotten the message yet).",
                 self.arvados_node['uuid'])
         if self.in_state('idle'):
             return True