scale: add missing stack name in scale.ScaleDownAction
It was missing the arg, so it would always use the default which is overcloud. Change-Id: Ie0e0e121487f13e933d96594f361ac93cdf6af15
This commit is contained in:
parent
0379179dfd
commit
ae6e20cf22
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user