6a6872f390
Background: extraconfig/pre_deploy/rhel-registration interface has been maintained for some time now but it's missing some features and the code overlaps with ongoing efforts to convert everything to Ansible. Plan: Consume ansible-role-redhat-subscription from TripleO, so all the logics goes into the Ansible role, and not in TripleO anymore. The single parameter exposed to TripleO is RhsmVars and any Ansible parameter can be given to make the role working. The parameter can be overriden per roles, so we can think at specific cases were some Director roles would have specific RHSM configs. Once we have feature parity between what is done and what was here before, we'll deprecate the old interface. Testing: Because RHSM can't be tested on CentOS, this code was manually tested on RHEL against the public subscription portal. Also, we verified that generated Ansible playbooks were correct and called the role with the right parameters. Documentation: We'll work on documentation during the following weeks and explain how to switch from the previous interface to the new one, and also document new uses requested by our users. Change-Id: I8610e4f1f8478f2dcbe3afc319981df914ce1780
334 lines
13 KiB
YAML
334 lines
13 KiB
YAML
###############################################################################
|
|
# File generated by TripleO
|
|
###############################################################################
|
|
###############################################################################
|
|
# Role: Controller #
|
|
###############################################################################
|
|
- name: Controller
|
|
description: |
|
|
Controller role that has all the controler services loaded and handles
|
|
Database, Messaging and Network functions.
|
|
CountDefault: 1
|
|
tags:
|
|
- primary
|
|
- controller
|
|
networks:
|
|
- External
|
|
- InternalApi
|
|
- Storage
|
|
- StorageMgmt
|
|
- Tenant
|
|
HostnameFormatDefault: '%stackname%-controller-%index%'
|
|
# Deprecated & backward-compatible values (FIXME: Make parameters consistent)
|
|
# Set uses_deprecated_params to True if any deprecated params are used.
|
|
uses_deprecated_params: True
|
|
deprecated_param_extraconfig: 'controllerExtraConfig'
|
|
deprecated_param_flavor: 'OvercloudControlFlavor'
|
|
deprecated_param_image: 'controllerImage'
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::AodhApi
|
|
- OS::TripleO::Services::AodhEvaluator
|
|
- OS::TripleO::Services::AodhListener
|
|
- OS::TripleO::Services::AodhNotifier
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::BarbicanApi
|
|
- OS::TripleO::Services::BarbicanBackendSimpleCrypto
|
|
- OS::TripleO::Services::BarbicanBackendDogtag
|
|
- OS::TripleO::Services::BarbicanBackendKmip
|
|
- OS::TripleO::Services::BarbicanBackendPkcs11Crypto
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CeilometerAgentCentral
|
|
- OS::TripleO::Services::CeilometerAgentNotification
|
|
- OS::TripleO::Services::CephExternal
|
|
- OS::TripleO::Services::CephMds
|
|
- OS::TripleO::Services::CephMgr
|
|
- OS::TripleO::Services::CephMon
|
|
- OS::TripleO::Services::CephRbdMirror
|
|
- OS::TripleO::Services::CephRgw
|
|
- OS::TripleO::Services::CertmongerUser
|
|
- OS::TripleO::Services::CinderApi
|
|
- OS::TripleO::Services::CinderBackendDellPs
|
|
- OS::TripleO::Services::CinderBackendDellSc
|
|
- OS::TripleO::Services::CinderBackendDellEMCUnity
|
|
- OS::TripleO::Services::CinderBackendDellEMCVMAXISCSI
|
|
- OS::TripleO::Services::CinderBackendNetApp
|
|
- OS::TripleO::Services::CinderBackendScaleIO
|
|
- OS::TripleO::Services::CinderBackendVRTSHyperScale
|
|
- OS::TripleO::Services::CinderBackup
|
|
- OS::TripleO::Services::CinderHPELeftHandISCSI
|
|
- OS::TripleO::Services::CinderScheduler
|
|
- OS::TripleO::Services::CinderVolume
|
|
- OS::TripleO::Services::Clustercheck
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::Congress
|
|
- OS::TripleO::Services::Docker
|
|
- OS::TripleO::Services::Ec2Api
|
|
- OS::TripleO::Services::Etcd
|
|
- OS::TripleO::Services::ExternalSwiftProxy
|
|
- OS::TripleO::Services::Fluentd
|
|
- OS::TripleO::Services::GlanceApi
|
|
- OS::TripleO::Services::GnocchiApi
|
|
- OS::TripleO::Services::GnocchiMetricd
|
|
- OS::TripleO::Services::GnocchiStatsd
|
|
- OS::TripleO::Services::HAproxy
|
|
- OS::TripleO::Services::HeatApi
|
|
- OS::TripleO::Services::HeatApiCfn
|
|
- OS::TripleO::Services::HeatEngine
|
|
- OS::TripleO::Services::Horizon
|
|
- OS::TripleO::Services::Ipsec
|
|
- OS::TripleO::Services::IronicApi
|
|
- OS::TripleO::Services::IronicConductor
|
|
- OS::TripleO::Services::IronicPxe
|
|
- OS::TripleO::Services::Iscsid
|
|
- OS::TripleO::Services::Keepalived
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::Keystone
|
|
- OS::TripleO::Services::LoginDefs
|
|
- OS::TripleO::Services::ManilaApi
|
|
- OS::TripleO::Services::ManilaBackendCephFs
|
|
- OS::TripleO::Services::ManilaBackendIsilon
|
|
- OS::TripleO::Services::ManilaBackendNetapp
|
|
- OS::TripleO::Services::ManilaBackendUnity
|
|
- OS::TripleO::Services::ManilaBackendVNX
|
|
- OS::TripleO::Services::ManilaBackendVMAX
|
|
- OS::TripleO::Services::ManilaScheduler
|
|
- OS::TripleO::Services::ManilaShare
|
|
- OS::TripleO::Services::Memcached
|
|
- OS::TripleO::Services::MongoDb
|
|
- OS::TripleO::Services::MySQL
|
|
- OS::TripleO::Services::MySQLClient
|
|
- OS::TripleO::Services::NeutronApi
|
|
- OS::TripleO::Services::NeutronBgpVpnApi
|
|
- OS::TripleO::Services::NeutronSfcApi
|
|
- OS::TripleO::Services::NeutronCorePlugin
|
|
- OS::TripleO::Services::NeutronDhcpAgent
|
|
- OS::TripleO::Services::NeutronL2gwAgent
|
|
- OS::TripleO::Services::NeutronL2gwApi
|
|
- OS::TripleO::Services::NeutronL3Agent
|
|
- OS::TripleO::Services::NeutronLbaasv2Agent
|
|
- OS::TripleO::Services::NeutronLinuxbridgeAgent
|
|
- OS::TripleO::Services::NeutronMetadataAgent
|
|
- OS::TripleO::Services::NeutronML2FujitsuCfab
|
|
- OS::TripleO::Services::NeutronML2FujitsuFossw
|
|
- OS::TripleO::Services::NeutronOvsAgent
|
|
- OS::TripleO::Services::NeutronVppAgent
|
|
- OS::TripleO::Services::NovaApi
|
|
- OS::TripleO::Services::NovaConductor
|
|
- OS::TripleO::Services::NovaConsoleauth
|
|
- OS::TripleO::Services::NovaIronic
|
|
- OS::TripleO::Services::NovaMetadata
|
|
- OS::TripleO::Services::NovaPlacement
|
|
- OS::TripleO::Services::NovaScheduler
|
|
- OS::TripleO::Services::NovaVncProxy
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::ContainersLogrotateCrond
|
|
- OS::TripleO::Services::OctaviaApi
|
|
- OS::TripleO::Services::OctaviaHealthManager
|
|
- OS::TripleO::Services::OctaviaHousekeeping
|
|
- OS::TripleO::Services::OctaviaWorker
|
|
- OS::TripleO::Services::OpenDaylightApi
|
|
- OS::TripleO::Services::OpenDaylightOvs
|
|
- OS::TripleO::Services::OVNDBs
|
|
- OS::TripleO::Services::OVNController
|
|
- OS::TripleO::Services::Pacemaker
|
|
- OS::TripleO::Services::PankoApi
|
|
- OS::TripleO::Services::RabbitMQ
|
|
- OS::TripleO::Services::Redis
|
|
- OS::TripleO::Services::Rhsm
|
|
- OS::TripleO::Services::RsyslogSidecar
|
|
- OS::TripleO::Services::SaharaApi
|
|
- OS::TripleO::Services::SaharaEngine
|
|
- OS::TripleO::Services::Securetty
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::SkydiveAgent
|
|
- OS::TripleO::Services::SkydiveAnalyzer
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Sshd
|
|
- OS::TripleO::Services::SwiftProxy
|
|
- OS::TripleO::Services::SwiftDispersion
|
|
- OS::TripleO::Services::SwiftRingBuilder
|
|
- OS::TripleO::Services::SwiftStorage
|
|
- OS::TripleO::Services::Tacker
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::Tuned
|
|
- OS::TripleO::Services::Vpp
|
|
- OS::TripleO::Services::Zaqar
|
|
###############################################################################
|
|
# Role: Compute #
|
|
###############################################################################
|
|
- name: Compute
|
|
description: |
|
|
Basic Compute Node role
|
|
CountDefault: 1
|
|
networks:
|
|
- InternalApi
|
|
- Tenant
|
|
- Storage
|
|
HostnameFormatDefault: '%stackname%-novacompute-%index%'
|
|
# Deprecated & backward-compatible values (FIXME: Make parameters consistent)
|
|
# Set uses_deprecated_params to True if any deprecated params are used.
|
|
uses_deprecated_params: True
|
|
deprecated_param_image: 'NovaImage'
|
|
deprecated_param_extraconfig: 'NovaComputeExtraConfig'
|
|
deprecated_param_metadata: 'NovaComputeServerMetadata'
|
|
deprecated_param_scheduler_hints: 'NovaComputeSchedulerHints'
|
|
deprecated_param_ips: 'NovaComputeIPs'
|
|
deprecated_server_resource_name: 'NovaCompute'
|
|
disable_upgrade_deployment: True
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::AuditD
|
|
- 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::Ipsec
|
|
- OS::TripleO::Services::Iscsid
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::LoginDefs
|
|
- 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::NovaMigrationTarget
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::ContainersLogrotateCrond
|
|
- OS::TripleO::Services::OpenDaylightOvs
|
|
- 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::Timezone
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::Tuned
|
|
- OS::TripleO::Services::Vpp
|
|
- OS::TripleO::Services::OVNController
|
|
###############################################################################
|
|
# Role: BlockStorage #
|
|
###############################################################################
|
|
- name: BlockStorage
|
|
description: |
|
|
Cinder Block Storage node role
|
|
networks:
|
|
- InternalApi
|
|
- Storage
|
|
- StorageMgmt
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::BlockStorageCinderVolume
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CertmongerUser
|
|
- OS::TripleO::Services::CinderBackendVRTSHyperScale
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::Docker
|
|
- OS::TripleO::Services::Fluentd
|
|
- OS::TripleO::Services::Ipsec
|
|
- OS::TripleO::Services::Iscsid
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::LoginDefs
|
|
- OS::TripleO::Services::MySQLClient
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::ContainersLogrotateCrond
|
|
- OS::TripleO::Services::Rhsm
|
|
- OS::TripleO::Services::RsyslogSidecar
|
|
- OS::TripleO::Services::Securetty
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Sshd
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::Tuned
|
|
###############################################################################
|
|
# Role: ObjectStorage #
|
|
###############################################################################
|
|
- name: ObjectStorage
|
|
description: |
|
|
Swift Object Storage node role
|
|
networks:
|
|
- InternalApi
|
|
- Storage
|
|
- StorageMgmt
|
|
# Deprecated & backward-compatible values (FIXME: Make parameters consistent)
|
|
# Set uses_deprecated_params to True if any deprecated params are used.
|
|
uses_deprecated_params: True
|
|
deprecated_param_metadata: 'SwiftStorageServerMetadata'
|
|
deprecated_param_ips: 'SwiftStorageIPs'
|
|
deprecated_param_image: 'SwiftStorageImage'
|
|
deprecated_param_flavor: 'OvercloudSwiftStorageFlavor'
|
|
disable_upgrade_deployment: True
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CertmongerUser
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::Docker
|
|
- OS::TripleO::Services::Fluentd
|
|
- OS::TripleO::Services::Ipsec
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::LoginDefs
|
|
- OS::TripleO::Services::MySQLClient
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::ContainersLogrotateCrond
|
|
- OS::TripleO::Services::Rhsm
|
|
- OS::TripleO::Services::RsyslogSidecar
|
|
- OS::TripleO::Services::Securetty
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Sshd
|
|
- OS::TripleO::Services::SwiftRingBuilder
|
|
- OS::TripleO::Services::SwiftStorage
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::Tuned
|
|
###############################################################################
|
|
# Role: CephStorage #
|
|
###############################################################################
|
|
- name: CephStorage
|
|
description: |
|
|
Ceph OSD Storage node role
|
|
networks:
|
|
- Storage
|
|
- StorageMgmt
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::AuditD
|
|
- OS::TripleO::Services::CACerts
|
|
- OS::TripleO::Services::CephOSD
|
|
- OS::TripleO::Services::CertmongerUser
|
|
- OS::TripleO::Services::Collectd
|
|
- OS::TripleO::Services::Docker
|
|
- OS::TripleO::Services::Fluentd
|
|
- OS::TripleO::Services::Ipsec
|
|
- OS::TripleO::Services::Kernel
|
|
- OS::TripleO::Services::LoginDefs
|
|
- OS::TripleO::Services::MySQLClient
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::ContainersLogrotateCrond
|
|
- OS::TripleO::Services::Rhsm
|
|
- OS::TripleO::Services::RsyslogSidecar
|
|
- OS::TripleO::Services::Securetty
|
|
- OS::TripleO::Services::SensuClient
|
|
- OS::TripleO::Services::Snmp
|
|
- OS::TripleO::Services::Sshd
|
|
- OS::TripleO::Services::Timezone
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::Tuned
|
|
|