tripleo-heat-templates/sample-env-generator/dcn.yaml
John Fulton 161071f2d8 Include copy-image for GlanceEnabledImportMethods for dcn-hci
If you are using environments/dcn-hci.yaml, then you very likely
have more than one Glance server and will want to use the copy-image
feature. Thus, enable it by default for deployments which use this
environment file.

Also because GlanceCacheEnabled defaults to False and because
GlanceImageCacheMaxSize defaults to 10737418240 we don't need
to explicitly set them in environments/dcn{,-hci}.yaml.

Change-Id: If745aa0824098950367525170eaf6cb4e3804482
2020-05-20 14:41:05 -04:00

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/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
deployment/glance/glance-api-container-puppet.yaml:
parameters:
- GlanceEnabledImportMethods
sample_values:
<<: *sample_values
CinderStorageAvailabilityZone: dcn
CinderVolumeCluster: dcn
CinderEtcdLocalConnect: True
GlanceEnabledImportMethods: web-download,copy-image
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