tripleo-heat-templates/environments/external-ceph.yaml
John Fulton e031058520 Introduce ExternalCeph boolean
Add explicit parameter for when external ceph is used.
This parameter defaults to false but is true if the
deployment uses -e environments/external-ceph.yaml.

When external ceph is used with Ganesha, the ceph_mon
group is empty but the ceph_nfs group is not. When
internal ceph is used with Ganesha, both the ceph_mon
and ceph_nfs groups are non-empty. Rather than solve
the related bug by adding another condition based on
these groups  which is compatible existing logic, it's
safer to have an explicit parameter for when external
ceph is used.

Change-Id: Id3e397d81dbca9a48d0456588784bcc20737093f
Depends-On: I2651c2850debd8110da93df2adc5fd8768a00db0
Closes-Bug: #1986988
2022-08-19 16:47:45 +00:00

31 lines
1.1 KiB
YAML

resource_registry:
OS::TripleO::Services::CephExternal: ../deployment/cephadm/ceph-client.yaml
parameter_defaults:
# NOTE: These example parameters are required when using CephExternal
#CephClusterFSID: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
#CephClientKey: 'AQDLOh1VgEp6FRAAFzT7Zw+Y9V6JJExQAsRnRQ=='
#CephExternalMonHost: '172.16.1.7, 172.16.1.8'
ExternalCeph: true
# the following parameters enable Ceph backends for Cinder, Glance, Gnocchi and Nova
NovaEnableRbdBackend: true
CinderEnableRbdBackend: true
CinderBackupBackend: ceph
GlanceBackend: rbd
# Uncomment below if enabling legacy telemetry
# GnocchiBackend: rbd
# If the Ceph pools which host VMs, Volumes and Images do not match these
# names OR the client keyring to use is not named 'openstack', edit the
# following as needed.
NovaRbdPoolName: vms
CinderRbdPoolName: volumes
CinderBackupRbdPoolName: backups
GlanceRbdPoolName: images
# Uncomment below if enabling legacy telemetry
# GnocchiRbdPoolName: metrics
CephClientUserName: openstack
# finally we disable the Cinder LVM backend
CinderEnableIscsiBackend: false