Update deployment status after upgrade converge
Now that UpgradeConverge inherits from UpgradePrepare, overcloud status is left as 'DEPLOYING' after it finishes. Let's set the status to 'DEPLOY_SUCCESS'. Note: With ephemeral heat (Wallaby and after) we would not need the converge step as there is no stack/plan. This change would be backported to stable/train. Change-Id: I4329b21adbc4cd568c0a164d2778b79df700ae48
This commit is contained in:
parent
898a960a99
commit
e8d1da4ba3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue