Просмотр исходного кода

Fix deployer manager failing deployments when awaiting for minions

If the deployer transfer starts with a minion pool, the deployer manager
would've considered the `AWAITING_MINION_ALLOCATIONS` status as an invalid
one, and thus error out the automatically launched deployment. This patch
adds this minion status as an active and valid one, and properly waits for
the deployer to finish with minion refreshment and the transfer execution as
well.
Daniel Vincze 10 месяцев назад
Родитель
Сommit
a29858ccf6
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      coriolis/deployer_manager/rpc/server.py

+ 1 - 0
coriolis/deployer_manager/rpc/server.py

@@ -38,6 +38,7 @@ class DeployerManagerServerEndpoint:
         active_statuses = [
             constants.EXECUTION_STATUS_UNEXECUTED,
             constants.EXECUTION_STATUS_RUNNING,
+            constants.EXECUTION_STATUS_AWAITING_MINION_ALLOCATIONS,
         ]
         error_statuses = [
             constants.EXECUTION_STATUS_ERROR,