Fix minor typos

* s/wrokbooks/workbooks/
* s/execututed/executed/

Change-Id: I7a5ce8e67da59dc8a33dce06099f819d8807653e
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud 2019-04-09 13:34:24 +02:00
parent 2a20df28cf
commit 7bf040e8f9
1 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ def _create_default_keypair(sdk):
public_key=pub_key_file.read())
def _configure_wrokbooks_and_workflows(mistral):
def _configure_workbooks_and_workflows(mistral):
for workbook in [w for w in mistral.workbooks.list()
if w.name.startswith('tripleo')]:
mistral.workbooks.delete(workbook.name)
@ -179,14 +179,14 @@ try:
if mistral_api_enabled:
mistral = mistralclient.client(mistral_url=sdk.workflow.get_endpoint(),
session=sdk.session)
_configure_wrokbooks_and_workflows(mistral)
_configure_workbooks_and_workflows(mistral)
_create_logging_cron(mistral)
_store_passwords_in_mistral_env(mistral)
_create_default_plan(mistral)
if tripleo_validations_enabled:
_prepare_ssh_environment(mistral)
_upload_validations_to_swift(mistral)
print('INFO: Undercloud post - Validations execututed and '
print('INFO: Undercloud post - Validations executed and '
'uploaded to Swift.')
except Exception:
print('ERROR: Undercloud Post - Failed.')