瀏覽代碼

Prevent minion reuse error for Replica deployments.

Ensure that the minion manager does not bother trying to reuse
destination transfer minions for Replica deployments or if no transfer
minions were requested to begin with.
Nashwan Azhari 5 年之前
父節點
當前提交
f2a919c9a3
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      coriolis/minion_manager/rpc/server.py

+ 2 - 1
coriolis/minion_manager/rpc/server.py

@@ -901,7 +901,8 @@ class MinionManagerServerEndpoint(object):
                 if action['destination_minion_pool_id'] and (
                         include_osmorphing_minions and (
                             osmorphing_pool_id == (
-                                action['destination_minion_pool_id']))):
+                                action['destination_minion_pool_id']) and (
+                                    include_transfer_minions))):
                     LOG.debug(
                         "Reusing destination minion pool with ID '%s' for the "
                         "following instances which had it selected as an "