Merge "scale: add missing stack name in scale.ScaleDownAction"

This commit is contained in:
Zuul 2020-03-31 05:59:36 +00:00 committed by Gerrit Code Review
commit 67b6ea3693

View File

@ -64,7 +64,8 @@ def scale_down(log, clients, stack, nodes, timeout=None):
print('Running scale down')
context = clients.tripleoclient.create_mistral_context()
scale_down_action = scale.ScaleDownAction(nodes=nodes, timeout=timeout)
scale_down_action = scale.ScaleDownAction(nodes=nodes, timeout=timeout,
container=stack.stack_name)
scale_down_action.run(context=context)
utils.wait_for_stack_ready(
orchestration_client=clients.orchestration,