fb748ba307
This aligns the docker based services with the new composable upgrades architecture we landed for ocata, and does a first-pass adding upgrade_tasks for the services (these may change, atm we only disable the service on the host). To run the upgrade workflow you basically do two steps: openstack overcloud deploy --templates \ -e environments/major-upgrade-composable-steps-docker.yaml This will run the ansible upgrade steps we define via upgrade_tasks then run the normal docker PostDeploySteps to bring up the containers. For the puppet workflow there's then an operator driven step where compute nodes (and potentially storage nodes) are upgrades in batches and finally you do: openstack overcloud deploy --templates \ -e environments/major-upgrade-converge-docker.yaml In the puppet case this re-applies puppet to unpin the nova RPC API so I guess it'll restart the nova containers this affects but otherwise will be a no-op (we also disable the ansible steps at this point. Depends-On: I9057d47eea15c8ba92ca34717b6b5965d4425ab1 Change-Id: Ia50169819cb959025866348b11337728f8ed5c9e
214 lines
8.4 KiB
YAML
214 lines
8.4 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.
|
|
#
|
|
# disable_upgrade_deployment: (boolean) optional, whether to run the
|
|
# ansible upgrade steps for all services that are deployed on the role. If set
|
|
# to True, the operator will drive the upgrade for this role's nodes.
|
|
#
|
|
# upgrade_batch_size: (number): batch size for upgrades where tasks are
|
|
# specified by services to run in batches vs all nodes at once.
|
|
# This defaults to 1, but larger batches may be specified here.
|
|
#
|
|
# 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: Controller # the 'primary' role goes first
|
|
CountDefault: 1
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CephMds
|
|
- OS::TripleO::Services::CephMon
|
|
- OS::TripleO::Services::CephExternal
|
|
- OS::TripleO::Services::CephRbdMirror
|
|
- OS::TripleO::Services::CephRgw
|
|
- OS::TripleO::Services::CinderApi
|
|
- OS::TripleO::Services::CinderBackup
|
|
- OS::TripleO::Services::CinderScheduler
|
|
- OS::TripleO::Services::CinderVolume
|
|
- OS::TripleO::Services::Congress
|
|
- 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::NovaPlacement
|
|
- OS::TripleO::Services::NovaMetadata
|
|
- OS::TripleO::Services::NovaScheduler
|
|
- OS::TripleO::Services::NovaConsoleauth
|
|
- OS::TripleO::Services::NovaVncProxy
|
|
- OS::TripleO::Services::Ec2Api
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::SwiftProxy
|
|
- OS::TripleO::Services::SwiftStorage
|
|
- OS::TripleO::Services::SwiftRingBuilder
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Sshd
|
|
- 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::Collectd
|
|
- OS::TripleO::Services::BarbicanApi
|
|
- OS::TripleO::Services::PankoApi
|
|
- OS::TripleO::Services::Tacker
|
|
- OS::TripleO::Services::Zaqar
|
|
- OS::TripleO::Services::OVNDBs
|
|
- OS::TripleO::Services::NeutronML2FujitsuCfab
|
|
- OS::TripleO::Services::NeutronML2FujitsuFossw
|
|
- OS::TripleO::Services::CinderHPELeftHandISCSI
|
|
- OS::TripleO::Services::Etcd
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::OctaviaApi
|
|
- OS::TripleO::Services::OctaviaHealthManager
|
|
- OS::TripleO::Services::OctaviaHousekeeping
|
|
- OS::TripleO::Services::OctaviaWorker
|
|
- OS::TripleO::Services::Vpp
|
|
- OS::TripleO::Services::Docker
|
|
|
|
- name: Compute
|
|
CountDefault: 1
|
|
HostnameFormatDefault: '%stackname%-novacompute-%index%'
|
|
disable_upgrade_deployment: 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::Sshd
|
|
- 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
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::Vpp
|
|
- OS::TripleO::Services::MySQLClient
|
|
|
|
- name: BlockStorage
|
|
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::Sshd
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::FluentdClient
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::MySQLClient
|
|
|
|
- name: ObjectStorage
|
|
disable_upgrade_deployment: 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::Sshd
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::FluentdClient
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::MySQLClient
|
|
|
|
- name: CephStorage
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CephOSD
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Sshd
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::FluentdClient
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::MySQLClient
|