Skip to content

Commit

Permalink
'om node dequeue actions' log warning when unable to fetch actions sc…
Browse files Browse the repository at this point in the history
…heduled by the collector
  • Loading branch information
cgalibern committed Nov 13, 2021
1 parent 1336cc4 commit 8745c00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opensvc/core/node/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -2213,7 +2213,9 @@ def dequeue_actions(self):
while True:
actions = self.collector.call('collector_get_action_queue')
if actions is None:
raise ex.Error("unable to fetch actions scheduled by the collector")
msg = "unable to fetch actions scheduled by the collector"
self.log.warning(msg)
raise ex.Error(msg)
n_actions = len(actions)
if n_actions == 0:
break
Expand Down

0 comments on commit 8745c00

Please sign in to comment.