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
72 lines
3.0 KiB
YAML
72 lines
3.0 KiB
YAML
###############################################################################
|
|
# Role: ComputeRealTime #
|
|
###############################################################################
|
|
- name: ComputeRealTime
|
|
description: |
|
|
Compute role that is optimized for real-time behaviour. When using this role
|
|
it is mandatory that an overcloud-realtime-compute image is available and
|
|
the role specific parameters IsolCpusList and NovaVcpuPinSet are set
|
|
accordingly to the hardware of the real-time compute nodes.
|
|
CountDefault: 1
|
|
networks:
|
|
InternalApi:
|
|
subnet: internal_api_subnet
|
|
Tenant:
|
|
subnet: tenant_subnet
|
|
Storage:
|
|
subnet: storage_subnet
|
|
HostnameFormatDefault: '%stackname%-computerealtime-%index%'
|
|
ImageDefault: overcloud-realtime-compute
|
|
RoleParametersDefault:
|
|
TunedProfileName: "realtime-virtual-host"
|
|
KernelArgs: "" # these must be set in an environment file or similar
|
|
IsolCpusList: "" # according to the hardware of real-time nodes
|
|
NovaVcpuPinSet: "" #
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::Aide
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::BootParams
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CephClient
|
|
- OS::TripleO::Services::CephExternal
|
|
- OS::TripleO::Services::CertmongerUser
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::ComputeCeilometerAgent
|
|
- OS::TripleO::Services::ComputeNeutronCorePlugin
|
|
- OS::TripleO::Services::ComputeNeutronL3Agent
|
|
- OS::TripleO::Services::ComputeNeutronMetadataAgent
|
|
- OS::TripleO::Services::ComputeNeutronOvsAgent
|
|
- OS::TripleO::Services::Docker
|
|
- OS::TripleO::Services::Fluentd
|
|
- OS::TripleO::Services::IpaClient
|
|
- OS::TripleO::Services::Ipsec
|
|
- OS::TripleO::Services::Iscsid
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::LoginDefs
|
|
- OS::TripleO::Services::MetricsQdr
|
|
- OS::TripleO::Services::MySQLClient
|
|
- OS::TripleO::Services::NeutronBgpVpnBagpipe
|
|
- OS::TripleO::Services::NeutronLinuxbridgeAgent
|
|
- OS::TripleO::Services::NeutronVppAgent
|
|
- OS::TripleO::Services::NovaCompute
|
|
- OS::TripleO::Services::NovaLibvirt
|
|
- OS::TripleO::Services::NovaLibvirtGuests
|
|
- OS::TripleO::Services::NovaMigrationTarget
|
|
- OS::TripleO::Services::ContainersLogrotateCrond
|
|
- OS::TripleO::Services::OpenDaylightOvs
|
|
- OS::TripleO::Services::Podman
|
|
- OS::TripleO::Services::Rhsm
|
|
- OS::TripleO::Services::RsyslogSidecar
|
|
- OS::TripleO::Services::Securetty
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::SkydiveAgent
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Sshd
|
|
- OS::TripleO::Services::Timesync
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::Vpp
|
|
- OS::TripleO::Services::OVNController
|
|
- OS::TripleO::Services::OVNMetadataAgent
|