From cbbe7cdd84768160acfaa32e19c8804e28aec380 Mon Sep 17 00:00:00 2001 From: rabi Date: Wed, 1 Jun 2022 14:21:26 +0530 Subject: [PATCH] Only export overcloud for --stack-only/full deploy Overcloud export contains stack outputs and passwords. With ephemeral heat we save the stack outputs and kill heat. We should export only when stack is created to generate the configs and not when we run with --setup-only/--config-download-only. Also, stop using parsed_args.config_download which is deprecated. Change-Id: Ica73e4d04909352646b4518ccd93d01535a243db --- tripleoclient/v1/overcloud_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleoclient/v1/overcloud_deploy.py b/tripleoclient/v1/overcloud_deploy.py index d9d4aaa5b..ac9a24899 100644 --- a/tripleoclient/v1/overcloud_deploy.py +++ b/tripleoclient/v1/overcloud_deploy.py @@ -1307,7 +1307,7 @@ class DeployOvercloud(command.Command): self.log.error(e) try: - if parsed_args.config_download: + if do_stack: # Create overcloud export data = export.export_overcloud( self.working_dir,