30ca49bf61
This patch adds two new tripleo services that together support deploying the glance-api service at edge sites. The service uses the same glance database in the control plane, but allows other edge services (e.g. cinder and nova) to access a glance endpoint that is local to the edge site. A new GlanceApiEdge service is a minor variant of the GlanceApi service. The most significant change is it doesn't use the control plane VIP, but instead configures cinder and nova services to access the glance-api endpoint running on that edge node (not the VIP). A companion HAproxyEdge service supports scaling out DCN sites with larger (>3) number of nodes. Instead of deploying GlanceApiEdge on every node, the HAproxyEdge service configures a local haproxy to forward glance-api requests to the edge nodes running GlanceApiEdge. The HAproxyEdge is extensible. While this patch is only concerned with proxying glance-api, it can be extended to support additional proxy requirements as needs arise. blueprint: split-controlplane-glance-cache Change-Id: Id6c416b8c7b3b6314d935e3eeb8a3f114492cecd Depends-On: Ic8d652a5209219c96f795a8c18ceb457c6d9382a
74 lines
2.9 KiB
YAML
74 lines
2.9 KiB
YAML
###############################################################################
|
|
# Role: DistributedCompute #
|
|
###############################################################################
|
|
- name: DistributedCompute
|
|
description: |
|
|
Distributed Compute Node role with Cinder volume.
|
|
CountDefault: 1
|
|
networks:
|
|
InternalApi:
|
|
subnet: internal_api_subnet
|
|
Tenant:
|
|
subnet: tenant_subnet
|
|
Storage:
|
|
subnet: storage_subnet
|
|
RoleParametersDefault:
|
|
TunedProfileName: "virtual-host"
|
|
update_serial: 25
|
|
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::BlockStorageCinderVolume
|
|
- 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::Etcd
|
|
# Include the GlanceApiEdge -OR- the HAproxyEdge service, but not both.
|
|
# Deploy GlanceApiEdge on 2-3 nodes for HA, and HAproxyEdge for each
|
|
# additional node. The HAproxyEdge service forwards glance-api requests
|
|
# to the GlanceApiEdge nodes.
|
|
- OS::TripleO::Services::GlanceApiEdge
|
|
# OS::TripleO::Services::HAproxyEdge
|
|
- 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::Multipathd
|
|
- OS::TripleO::Services::MySQLClient
|
|
- OS::TripleO::Services::NeutronBgpVpnBagpipe
|
|
- OS::TripleO::Services::NeutronLinuxbridgeAgent
|
|
- OS::TripleO::Services::NeutronVppAgent
|
|
- OS::TripleO::Services::NovaAZConfig
|
|
- OS::TripleO::Services::NovaCompute
|
|
- OS::TripleO::Services::NovaLibvirt
|
|
- OS::TripleO::Services::NovaLibvirtGuests
|
|
- OS::TripleO::Services::NovaMigrationTarget
|
|
- OS::TripleO::Services::ContainersLogrotateCrond
|
|
- OS::TripleO::Services::Podman
|
|
- OS::TripleO::Services::Rhsm
|
|
- OS::TripleO::Services::Rsyslog
|
|
- OS::TripleO::Services::RsyslogSidecar
|
|
- OS::TripleO::Services::Securetty
|
|
- 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::Tuned
|
|
- OS::TripleO::Services::Vpp
|
|
- OS::TripleO::Services::OVNController
|
|
- OS::TripleO::Services::OVNMetadataAgent
|