Replace deprecated params in prepare

Update prepare should only run the stack update
and Download the playbooks required to run the
update. The config_download arg was deprecated
by:
https://review.opendev.org/c/openstack/python-tripleoclient/+/803610

As such, we need to use stack_only = True to
ensure the update prepare is only running the
stack update, and not the entire deployment.

Change-Id: If7e8e25aba35ec8a00b2190abee2c6a8784b291e
(cherry picked from commit 61744a6c48)
This commit is contained in:
Brendan Shephard 2021-10-29 11:58:21 +00:00
parent e2f3acd131
commit fd18a8ea2a

View File

@ -60,7 +60,7 @@ class UpdatePrepare(DeployOvercloud):
# In case of update and upgrade we need to force the
# config_download to false. The heat stack update will be performed
# by DeployOvercloud class but skipping the config download part.
parsed_args.config_download = False
parsed_args.stack_only = True
# Add the update-prepare.yaml environment to set noops etc
templates_dir = (parsed_args.templates or