From fd18a8ea2a3940092c6004964432a32577f39e4f Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Fri, 29 Oct 2021 11:58:21 +0000 Subject: [PATCH] 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 61744a6c48a185f6caffed9b667a7e926ba09b29) --- tripleoclient/v1/overcloud_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleoclient/v1/overcloud_update.py b/tripleoclient/v1/overcloud_update.py index 8f2d79a9b..d9c746b96 100644 --- a/tripleoclient/v1/overcloud_update.py +++ b/tripleoclient/v1/overcloud_update.py @@ -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