undercloud: deploy tripleo-validations when needed

When enabled, deploy tripleo-validations service to have parity with
instack-undercloud. It'll run Puppet and install the rpm + user useful
to run TripleO Validations on the undercloud.

Depends-On: Ida09f92010e31d952edd82b42a7fc20451537d42
Change-Id: Id6822ee8297943145865fc468d9c7a7c8fbb64c0
This commit is contained in:
Emilien Macchi
2018-06-13 11:39:50 -07:00
committed by wes hayutin
parent dababd6571
commit 7236b35c79

View File

@@ -551,6 +551,8 @@ def prepare_undercloud_deploy(upgrade=False, no_validations=False,
if CONF.get('enable_validations') and not no_validations:
undercloud_preflight.check()
deploy_args += ['-e', os.path.join(
tht_templates, "environments/tripleo-validations.yaml")]
if verbose_level > 1:
deploy_args.append('--debug')