2a83856585
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
40 lines
1.5 KiB
YAML
40 lines
1.5 KiB
YAML
###############################################################################
|
|
# Role: IronicConductor #
|
|
###############################################################################
|
|
- name: IronicConductor
|
|
description: |
|
|
Ironic Conductor node role
|
|
networks:
|
|
InternalApi:
|
|
subnet: internal_api_subnet
|
|
Storage:
|
|
subnet: storage_subnet
|
|
HostnameFormatDefault: '%stackname%-ironic-%index%'
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::Aide
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::BootParams
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CertmongerUser
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::Docker
|
|
- OS::TripleO::Services::Fluentd
|
|
- OS::TripleO::Services::IpaClient
|
|
- OS::TripleO::Services::Ipsec
|
|
- OS::TripleO::Services::IronicConductor
|
|
- OS::TripleO::Services::IronicPxe
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::LoginDefs
|
|
- OS::TripleO::Services::MetricsQdr
|
|
- OS::TripleO::Services::MySQLClient
|
|
- OS::TripleO::Services::ContainersLogrotateCrond
|
|
- OS::TripleO::Services::Podman
|
|
- OS::TripleO::Services::Rhsm
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Timesync
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::Tuned
|