Validation are not run via mistral anymore in Train

Remove _prepare_ssh_environment function because Validation
are call via mistral anymore.
This workbook leads to some issues, in particular context such
as Upgrades

Change-Id: I95fbce2938e5c39fae796f0d4b95d4da266ad5a9
This commit is contained in:
Mathieu Bultel 2021-03-11 11:31:07 +01:00
parent 38e8749e11
commit deee084eda
1 changed files with 0 additions and 8 deletions

View File

@ -142,10 +142,6 @@ def _store_passwords_in_mistral_env(mistral):
'successfully.')
def _prepare_ssh_environment(mistral):
mistral.executions.create('tripleo.validations.v1.copy_ssh_key')
def _create_default_plan(mistral):
plan_exists = [True for c in sdk.list_containers() if
c['name'] == 'overcloud']
@ -183,10 +179,6 @@ try:
_configure_workbooks_and_workflows(mistral)
_store_passwords_in_mistral_env(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:
print('ERROR: Undercloud Post - Failed.')
raise