Define a new CinderVolumeEdge service

CinderVolumeEdge is an optional service (defaults to OS::Heat::None)
that can be enabled on DCN/Edge nodes for edge sites that support
persistent block storage (i.e. cinder). The dcn-hci.yaml environment
file enables the service.

The new service supports the following edge deployment models:
1. Edge site with no block storage
   - Deploy DistributedCompute nodes
   - Use dcn.yaml environment file (the CinderVolumeEdge service
     remains disabled)
2. Edge site with traditional HCI storage
   - Deploy DistributedComputeHCI nodes
   - Use dcn-hci.yaml env file to enable the CinderVolumeEdge service
   - Use ceph-ansible.yaml env file to deploy ceph for the RBD backend
3. Edge site with quasi-hyperconverged storage
   - Deploy DistributedCompute nodes
   - Use dcn-hci.yaml env file to enable the CinderVolumeEdge service
   - Use ceph-ansible-external.yaml env file so the RBD backend can
     access an external ceph cluster

This patch adds support for number 3, which is a new capability. Whereas
traditional HCI means ceph and cinder services run on compute nodes, the
new model is still quasi-hyperconverged because cinder (as well as
glance) runs on the compute nodes.

Change-Id: I56b5792c1d53bb8659e440f598006e471894ff2e
(cherry picked from commit 2d60799c49)
(cherry picked from commit 8e316d7f1b)
(cherry picked from commit 3b9e1dad66)
This commit is contained in:
Alan Bishop 2020-12-08 06:17:02 -08:00
parent 04a950aa8a
commit d539906eef
5 changed files with 6 additions and 3 deletions

View File

@ -49,7 +49,7 @@ parameter_defaults:
resource_registry: resource_registry:
OS::TripleO::Network::Ports::OVNDBsVipPort: ../network/ports/noop.yaml OS::TripleO::Network::Ports::OVNDBsVipPort: ../network/ports/noop.yaml
OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/noop.yaml OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/noop.yaml
OS::TripleO::Services::CinderVolume: ../deployment/cinder/cinder-volume-container-puppet.yaml OS::TripleO::Services::CinderVolumeEdge: ../deployment/cinder/cinder-volume-container-puppet.yaml
OS::TripleO::Services::Etcd: ../deployment/etcd/etcd-container-puppet.yaml OS::TripleO::Services::Etcd: ../deployment/etcd/etcd-container-puppet.yaml
OS::TripleO::Services::GlanceApiEdge: ../deployment/glance/glance-api-edge-container-puppet.yaml OS::TripleO::Services::GlanceApiEdge: ../deployment/glance/glance-api-edge-container-puppet.yaml
OS::TripleO::Services::HAproxyEdge: ../deployment/haproxy/haproxy-edge-container-puppet.yaml OS::TripleO::Services::HAproxyEdge: ../deployment/haproxy/haproxy-edge-container-puppet.yaml

View File

@ -299,6 +299,7 @@ resource_registry:
OS::TripleO::Services::CinderBackendVRTSHyperScale: OS::Heat::None OS::TripleO::Services::CinderBackendVRTSHyperScale: OS::Heat::None
OS::TripleO::Services::CinderBackendNVMeOF: OS::Heat::None OS::TripleO::Services::CinderBackendNVMeOF: OS::Heat::None
OS::TripleO::Services::CinderHPELeftHandISCSI: OS::Heat::None OS::TripleO::Services::CinderHPELeftHandISCSI: OS::Heat::None
OS::TripleO::Services::CinderVolumeEdge: OS::Heat::None
OS::TripleO::Services::Etcd: OS::Heat::None OS::TripleO::Services::Etcd: OS::Heat::None
OS::TripleO::Services::Ec2Api: OS::Heat::None OS::TripleO::Services::Ec2Api: OS::Heat::None
OS::TripleO::Services::AuditD: OS::Heat::None OS::TripleO::Services::AuditD: OS::Heat::None

View File

@ -24,6 +24,7 @@
- OS::TripleO::Services::CephClient - OS::TripleO::Services::CephClient
- OS::TripleO::Services::CephExternal - OS::TripleO::Services::CephExternal
- OS::TripleO::Services::CertmongerUser - OS::TripleO::Services::CertmongerUser
- OS::TripleO::Services::CinderVolumeEdge
- OS::TripleO::Services::Collectd - OS::TripleO::Services::Collectd
- OS::TripleO::Services::ComputeCeilometerAgent - OS::TripleO::Services::ComputeCeilometerAgent
- OS::TripleO::Services::ComputeNeutronCorePlugin - OS::TripleO::Services::ComputeNeutronCorePlugin
@ -31,6 +32,7 @@
- OS::TripleO::Services::ComputeNeutronMetadataAgent - OS::TripleO::Services::ComputeNeutronMetadataAgent
- OS::TripleO::Services::ComputeNeutronOvsAgent - OS::TripleO::Services::ComputeNeutronOvsAgent
- OS::TripleO::Services::Docker - OS::TripleO::Services::Docker
- OS::TripleO::Services::Etcd
- OS::TripleO::Services::GlanceApiEdge - OS::TripleO::Services::GlanceApiEdge
- OS::TripleO::Services::IpaClient - OS::TripleO::Services::IpaClient
- OS::TripleO::Services::Ipsec - OS::TripleO::Services::Ipsec

View File

@ -21,7 +21,6 @@
- OS::TripleO::Services::Aide - OS::TripleO::Services::Aide
- OS::TripleO::Services::AuditD - OS::TripleO::Services::AuditD
- OS::TripleO::Services::BarbicanClient - OS::TripleO::Services::BarbicanClient
- OS::TripleO::Services::BlockStorageCinderVolume
- OS::TripleO::Services::BootParams - OS::TripleO::Services::BootParams
- OS::TripleO::Services::CACerts - OS::TripleO::Services::CACerts
- OS::TripleO::Services::CephClient - OS::TripleO::Services::CephClient
@ -34,6 +33,7 @@
- OS::TripleO::Services::CephRgw - OS::TripleO::Services::CephRgw
- OS::TripleO::Services::CephOSD - OS::TripleO::Services::CephOSD
- OS::TripleO::Services::CertmongerUser - OS::TripleO::Services::CertmongerUser
- OS::TripleO::Services::CinderVolumeEdge
- OS::TripleO::Services::Collectd - OS::TripleO::Services::Collectd
- OS::TripleO::Services::ComputeCeilometerAgent - OS::TripleO::Services::ComputeCeilometerAgent
- OS::TripleO::Services::ComputeNeutronCorePlugin - OS::TripleO::Services::ComputeNeutronCorePlugin

View File

@ -55,4 +55,4 @@ environments:
resource_registry: resource_registry:
<<: *dcn_resource_registry <<: *dcn_resource_registry
OS::TripleO::Services::Etcd: ../deployment/etcd/etcd-container-puppet.yaml OS::TripleO::Services::Etcd: ../deployment/etcd/etcd-container-puppet.yaml
OS::TripleO::Services::CinderVolume: ../deployment/cinder/cinder-volume-container-puppet.yaml OS::TripleO::Services::CinderVolumeEdge: ../deployment/cinder/cinder-volume-container-puppet.yaml