Browse Source

Confirm task cancellation to conductor if process is not found.

Nashwan Azhari 5 năm trước cách đây
mục cha
commit
ebc39af4c7
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      coriolis/worker/rpc/server.py

+ 2 - 0
coriolis/worker/rpc/server.py

@@ -132,6 +132,8 @@ class WorkerServerEndpoint(object):
                 "completed/error'd." % (
                     process_id, task_id))
             LOG.error(msg)
+            self._rpc_conductor_client.confirm_task_cancellation(
+                ctxt, task_id, msg)
 
     def _handle_mp_log_events(self, p, mp_log_q):
         while True: