72cb712e16
Adds a parameter to set [cinder]/cross_az_attach in nova to control whether
instances can attach cinder volumes from a different availability zone.
Defaults to true.
Set to false in DCN sample environment files as block I/O between sites would
be extremely slow (if it functions at all).
Change-Id: Ib15e305e34a3fddfc6f50986d2e27b6da815bd19
(cherry picked from commit f5bcd0acfc
)
55 lines
2.3 KiB
YAML
55 lines
2.3 KiB
YAML
environments:
|
|
- name: dcn
|
|
title: Distributed Compute Node
|
|
description: |-
|
|
Environment file for deploying a remote site of distributed compute nodes
|
|
(DCN) in a separate stack (multi-stack) deployment.
|
|
files: &dcn_files
|
|
deployment/glance/glance-api-container-puppet.yaml:
|
|
parameters:
|
|
- GlanceCacheEnabled
|
|
- GlanceImageCacheMaxSize
|
|
deployment/nova/nova-az-config.yaml:
|
|
parameters:
|
|
- NovaComputeAvailabilityZone
|
|
network/external.yaml:
|
|
parameters:
|
|
- ManageNetworks
|
|
deployment/nova/nova-base-puppet.yaml:
|
|
parameters:
|
|
- NovaCrossAZAttach
|
|
sample_values: &sample_values
|
|
ManageNetworks: false
|
|
NovaCrossAZAttach: false
|
|
resource_registry: &dcn_resource_registry
|
|
OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/noop.yaml
|
|
OS::TripleO::Network::Ports::OVNDBsVipPort: ../network/ports/noop.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::NovaAZConfig: ../deployment/nova/nova-az-config.yaml
|
|
children:
|
|
- name: dcn-hci
|
|
title: Distributed Compute Node HCI
|
|
description: |-
|
|
Environment file for deploying a remote site of HCI distributed compute
|
|
nodes (DCN) in a separate stack (multi-stack) deployment. It should be
|
|
used in combination with environments/ceph-ansible/ceph-ansible.yaml.
|
|
files:
|
|
<<: *dcn_files
|
|
deployment/cinder/cinder-base.yaml:
|
|
parameters:
|
|
- CinderStorageAvailabilityZone
|
|
deployment/cinder/cinder-volume-container-puppet.yaml:
|
|
parameters:
|
|
- CinderVolumeCluster
|
|
- CinderEtcdLocalConnect
|
|
sample_values:
|
|
<<: *sample_values
|
|
CinderStorageAvailabilityZone: dcn
|
|
CinderVolumeCluster: dcn
|
|
CinderEtcdLocalConnect: True
|
|
resource_registry:
|
|
<<: *dcn_resource_registry
|
|
OS::TripleO::Services::Etcd: ../deployment/etcd/etcd-container-puppet.yaml
|
|
OS::TripleO::Services::CinderVolume: ../deployment/cinder/cinder-volume-container-puppet.yaml
|