90431683b5
When fixing LP#1643487 we added ?bind_address to all DB URIs. Since this clashes with Cellsv2 due to the URIs becoming host dependent, we need a new approach to pass bind_address to pymysql that leaves the DB URIs host-independent. In change Iff8bd2d9ee85f7bb1445aa2e1b3cfbff1f397b18 we first create a /etc/my.cnf.d/tripleo.cnf file with a [tripleo] section with the correct bind-address option. In this change we make sure that the DB URIs will point to the added file and to the specific section containing the necessary bind-address option. We do introduce a new MySQLClient profile which will hold all this more client-specific configuration so that this change can fit better in the composable roles work. Also, in the future it might contain the necessary configuration for SSL for example. Note that in case the /etc/my.cnf.d/tripleo.cnf file does not exist (because it is created via the mysqlclient profile), things keep on working as usual and the bind-address option simply won't be set, which has no impact on hosts where there are no VIPs. Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com> Change-Id: Ieac33efe38f32e949fd89545eb1cd8e0fe114a12 Related-Bug: #1643487 Closes-Bug: #1663181 Closes-Bug: #1664524 Depends-On: Iff8bd2d9ee85f7bb1445aa2e1b3cfbff1f397b18
174 lines
6.7 KiB
YAML
174 lines
6.7 KiB
YAML
# Specifies which roles (groups of nodes) will be deployed
|
|
# Note this is used as an input to the various *.j2.yaml
|
|
# jinja2 templates, so that they are converted into *.yaml
|
|
# during the plan creation (via a mistral action/workflow).
|
|
#
|
|
# The format is a list, with the following format:
|
|
#
|
|
# * name: (string) mandatory, name of the role, must be unique
|
|
#
|
|
# CountDefault: (number) optional, default number of nodes, defaults to 0
|
|
# sets the default for the {{role.name}}Count parameter in overcloud.yaml
|
|
#
|
|
# HostnameFormatDefault: (string) optional default format string for hostname
|
|
# defaults to '%stackname%-{{role.name.lower()}}-%index%'
|
|
# sets the default for {{role.name}}HostnameFormat parameter in overcloud.yaml
|
|
#
|
|
# disable_constraints: (boolean) optional, whether to disable Nova and Glance
|
|
# constraints for each role specified in the templates.
|
|
#
|
|
# ServicesDefault: (list) optional default list of services to be deployed
|
|
# on the role, defaults to an empty list. Sets the default for the
|
|
# {{role.name}}Services parameter in overcloud.yaml
|
|
|
|
- name: ControllerDeployedServer
|
|
CountDefault: 1
|
|
disable_constraints: True
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CephMon
|
|
- OS::TripleO::Services::CephExternal
|
|
- OS::TripleO::Services::CephRgw
|
|
- OS::TripleO::Services::CinderApi
|
|
- OS::TripleO::Services::CinderBackup
|
|
- OS::TripleO::Services::CinderScheduler
|
|
- OS::TripleO::Services::CinderVolume
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::Keystone
|
|
- OS::TripleO::Services::GlanceApi
|
|
- OS::TripleO::Services::HeatApi
|
|
- OS::TripleO::Services::HeatApiCfn
|
|
- OS::TripleO::Services::HeatApiCloudwatch
|
|
- OS::TripleO::Services::HeatEngine
|
|
- OS::TripleO::Services::MySQL
|
|
- OS::TripleO::Services::MySQLClient
|
|
- OS::TripleO::Services::NeutronDhcpAgent
|
|
- OS::TripleO::Services::NeutronL3Agent
|
|
- OS::TripleO::Services::NeutronMetadataAgent
|
|
- OS::TripleO::Services::NeutronApi
|
|
- OS::TripleO::Services::NeutronCorePlugin
|
|
- OS::TripleO::Services::NeutronOvsAgent
|
|
- OS::TripleO::Services::RabbitMQ
|
|
- OS::TripleO::Services::HAproxy
|
|
- OS::TripleO::Services::Keepalived
|
|
- OS::TripleO::Services::Memcached
|
|
- OS::TripleO::Services::Pacemaker
|
|
- OS::TripleO::Services::Redis
|
|
- OS::TripleO::Services::NovaConductor
|
|
- OS::TripleO::Services::MongoDb
|
|
- OS::TripleO::Services::NovaApi
|
|
- OS::TripleO::Services::NovaMetadata
|
|
- OS::TripleO::Services::NovaPlacement
|
|
- OS::TripleO::Services::NovaScheduler
|
|
- OS::TripleO::Services::NovaConsoleauth
|
|
- OS::TripleO::Services::NovaVncProxy
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::SwiftProxy
|
|
- OS::TripleO::Services::SwiftStorage
|
|
- OS::TripleO::Services::SwiftRingBuilder
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::CeilometerApi
|
|
- OS::TripleO::Services::CeilometerCollector
|
|
- OS::TripleO::Services::CeilometerExpirer
|
|
- OS::TripleO::Services::CeilometerAgentCentral
|
|
- OS::TripleO::Services::CeilometerAgentNotification
|
|
- OS::TripleO::Services::Horizon
|
|
- OS::TripleO::Services::GnocchiApi
|
|
- OS::TripleO::Services::GnocchiMetricd
|
|
- OS::TripleO::Services::GnocchiStatsd
|
|
- OS::TripleO::Services::ManilaApi
|
|
- OS::TripleO::Services::ManilaScheduler
|
|
- OS::TripleO::Services::ManilaBackendGeneric
|
|
- OS::TripleO::Services::ManilaBackendNetapp
|
|
- OS::TripleO::Services::ManilaBackendCephFs
|
|
- OS::TripleO::Services::ManilaShare
|
|
- OS::TripleO::Services::AodhApi
|
|
- OS::TripleO::Services::AodhEvaluator
|
|
- OS::TripleO::Services::AodhNotifier
|
|
- OS::TripleO::Services::AodhListener
|
|
- OS::TripleO::Services::SaharaApi
|
|
- OS::TripleO::Services::SaharaEngine
|
|
- OS::TripleO::Services::IronicApi
|
|
- OS::TripleO::Services::IronicConductor
|
|
- OS::TripleO::Services::NovaIronic
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::OpenDaylightApi
|
|
- OS::TripleO::Services::OpenDaylightOvs
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::FluentdClient
|
|
- OS::TripleO::Services::BarbicanApi
|
|
- OS::TripleO::Services::PankoApi
|
|
- OS::TripleO::Services::Zaqar
|
|
- OS::TripleO::Services::OVNDBs
|
|
|
|
- name: ComputeDeployedServer
|
|
CountDefault: 1
|
|
HostnameFormatDefault: '%stackname%-novacompute-%index%'
|
|
disable_constraints: True
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CephClient
|
|
- OS::TripleO::Services::CephExternal
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::NovaCompute
|
|
- OS::TripleO::Services::NovaLibvirt
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::ComputeNeutronCorePlugin
|
|
- OS::TripleO::Services::ComputeNeutronOvsAgent
|
|
- OS::TripleO::Services::ComputeCeilometerAgent
|
|
- OS::TripleO::Services::ComputeNeutronL3Agent
|
|
- OS::TripleO::Services::ComputeNeutronMetadataAgent
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::NeutronSriovAgent
|
|
- OS::TripleO::Services::OpenDaylightOvs
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::FluentdClient
|
|
|
|
- name: BlockStorageDeployedServer
|
|
disable_constraints: True
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::BlockStorageCinderVolume
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::FluentdClient
|
|
|
|
- name: ObjectStorageDeployedServer
|
|
disable_constraints: True
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::SwiftStorage
|
|
- OS::TripleO::Services::SwiftRingBuilder
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::FluentdClient
|
|
|
|
- name: CephStorageDeployedServer
|
|
disable_constraints: True
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CephOSD
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::FluentdClient
|