Merge "Update deployment status after upgrade converge" into stable/wallaby

This commit is contained in:
Zuul 2021-09-28 04:00:57 +00:00 committed by Gerrit Code Review
commit 086fbcb46a
1 changed files with 7 additions and 0 deletions

View File

@ -278,3 +278,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)