diff --git a/tripleoclient/v1/tripleo_deploy.py b/tripleoclient/v1/tripleo_deploy.py index a86c355d2..9343cdcab 100644 --- a/tripleoclient/v1/tripleo_deploy.py +++ b/tripleoclient/v1/tripleo_deploy.py @@ -1116,6 +1116,8 @@ class Deploy(command.Command): if rc != 0: raise exceptions.DeploymentError('Upgrade failed') rc = self._launch_ansible_deploy(self.ansible_dir) + if rc != 0: + raise exceptions.DeploymentError('Deployment failed') if parsed_args.upgrade: # Run Online Upgrade tasks after the deployment rc = self._launch_ansible_online_upgrade(self.ansible_dir)