tripleo-heat-templates/extraconfig
Ade Lee 19373b0efb Move ipa enrollment to host_prep_tasks
This addresses a possible bug when using FreeIPA to do TLS
everywhere.

It is possible that the IPA server is not on the ctlplane.
In this case, when the nodes start up, the registration of the node
with IPA will fail, resulting in failed certificate issuance requests
later on.

We introduce a composable service to run in host_prep_tasks.
This will always run once the networks have been set up.  If the
instance has already been enrolled (by cloud-init or in an update),
then the script executed by the service will just exit.

In this iteration, we simply execute the code that the cloud-init
would have done.  In later releases, we will execute all the code
performed by novajoin-server here in ansible - and deprecate the
novajoin server.

Change-Id: I31f64c3cbd1d151e3c2a436cc3e2ec5316535087
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Resolves: rhbz#1661635
Closes-Bug: #1815924
(cherry picked from commit 2a83856585)
2019-02-25 16:22:27 +00:00
..
all_nodes Change template names to rocky 2018-05-09 08:28:42 +02:00
nova_metadata Spliting compact services in multiples lines 2018-12-20 22:51:51 +00:00
post_deploy Include the DB password in a Mistral environment for creating backups and restores 2019-02-05 17:32:52 +01:00
pre_deploy Undercloud - Restart keepalived on update 2018-09-27 07:34:44 +00:00
pre_network Add missing RoleParameters and ServiceNames 2019-02-20 14:14:20 +00:00
services Move ipa enrollment to host_prep_tasks 2019-02-25 16:22:27 +00:00
tasks Fix IHA with the new region_name key 2018-10-25 12:11:36 +02:00