Browse Source

Merge "(UX) Improve logging if the ephemeral heat stack wasn't created" into stable/ussuri

changes/97/749897/1
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
6af821b57e
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      tripleoclient/v1/tripleo_deploy.py

+ 6
- 1
tripleoclient/v1/tripleo_deploy.py View File

@@ -820,8 +820,13 @@ class Deploy(command.Command):

self.log.warning(_("** Performing Heat stack create.. **"))
stack = orchestration_client.stacks.create(**stack_args)
stack_id = stack['stack']['id']
if not stack:
msg = _('The ephemeral Heat stack could not be created, please '
'check logs in /var/log/heat-launcher and/or any '
'possible misconfiguration.')
raise exceptions.DeploymentError(msg)

stack_id = stack['stack']['id']
return "%s/%s" % (stack_name, stack_id)

def _download_ansible_playbooks(self, client, stack_name,


Loading…
Cancel
Save