Merge "Validation are not run via mistral anymore in Train" into stable/train

This commit is contained in:
Zuul 2021-03-18 22:49:07 +00:00 committed by Gerrit Code Review
commit 78480f79f3
1 changed files with 0 additions and 8 deletions

View File

@ -142,10 +142,6 @@ def _store_passwords_in_mistral_env(mistral):
'successfully.') 'successfully.')
def _prepare_ssh_environment(mistral):
mistral.executions.create('tripleo.validations.v1.copy_ssh_key')
def _create_default_plan(mistral): def _create_default_plan(mistral):
plan_exists = [True for c in sdk.list_containers() if plan_exists = [True for c in sdk.list_containers() if
c['name'] == 'overcloud'] c['name'] == 'overcloud']
@ -183,10 +179,6 @@ try:
_configure_workbooks_and_workflows(mistral) _configure_workbooks_and_workflows(mistral)
_store_passwords_in_mistral_env(mistral) _store_passwords_in_mistral_env(mistral)
_create_default_plan(mistral) _create_default_plan(mistral)
if tripleo_validations_enabled:
_prepare_ssh_environment(mistral)
print("INFO: Undercloud post - "
"SSH Keys for TripleO Validations deployed.")
except Exception: except Exception:
print('ERROR: Undercloud Post - Failed.') print('ERROR: Undercloud Post - Failed.')
raise raise