소스 검색

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 달 전
부모
커밋
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,