Merge "Update deployment status after upgrade converge"

This commit is contained in:
Zuul 2021-09-23 13:52:45 +00:00 committed by Gerrit Code Review
commit 2c359291b6
1 changed files with 7 additions and 0 deletions

View File

@ -279,3 +279,10 @@ class UpgradeConverge(UpgradePrepare):
forbidden_params = constants.UPGRADE_CONVERGE_FORBIDDEN_PARAMS
log = logging.getLogger(__name__ + ".UpgradeConverge")
def take_action(self, parsed_args):
super(UpgradeConverge, self).take_action(parsed_args)
deployment.set_deployment_status(
parsed_args.stack,
status='DEPLOY_SUCCESS',
working_dir=self.working_dir)