tripleo-heat-templates/environments/manila-cephfsganesha-config.yaml
Giulio Fidente 829e658559 Allow for configuration of the Manila CephFS backend with a remote Ceph
When deploying Manila with CephFS backend it might be preferable
to keep the Ganesha service deployment under control of TripleO but
still point it to an external Ceph cluster.

From version 4.0.0rc9 [1] ceph-ansible is capable of deploying Ganesha and
configure it to use an external Ceph cluster. We can use this feature
TripleO enabling the CephNfs and CephClient services on those roles
where Ganesha needs to go.

It will be possible to deploy Manila with a CephFS backend together
with Ganesha (pacemaker managed) and point them to an external Ceph
cluster combining the two environments:
- manila-cephfsganesha-config.yaml
- ceph-ansible/ceph-ansible-external.yaml

1. 6a6785b719

Change-Id: Iae674127cf948fbc007ee2be96041221f7584ce7
Implements: blueprint manila-external-ganesha
2019-07-19 08:31:02 +00:00

30 lines
1.5 KiB
YAML

# A Heat environment file which can be used to enable a
# Manila CephFS-NFS driver backend.
resource_registry:
OS::TripleO::Services::ManilaApi: ../deployment/manila/manila-api-container-puppet.yaml
OS::TripleO::Services::ManilaScheduler: ../deployment/manila/manila-scheduler-container-puppet.yaml
# Only manila-share is pacemaker managed:
OS::TripleO::Services::ManilaShare: ../deployment/manila/manila-share-pacemaker-puppet.yaml
OS::TripleO::Services::ManilaBackendCephFs: ../deployment/manila/manila-backend-cephfs.yaml
# ceph-nfs (ganesha) service is installed and configured by ceph-ansible
# but it's still managed by pacemaker
OS::TripleO::Services::CephNfs: ../deployment/ceph-ansible/ceph-nfs.yaml
parameter_defaults:
ManilaCephFSBackendName: cephfs
ManilaCephFSDriverHandlesShareServers: false
ManilaCephFSCephFSEnableSnapshots: false
ManilaCephFSCephVolumeMode: '0755'
# manila cephfs driver supports either native cephfs backend - 'CEPHFS'
# (users mount shares directly from ceph cluster), or nfs-ganesha backend -
# 'NFS' (users mount shares through nfs-ganesha server)
ManilaCephFSCephFSProtocolHelperType: 'NFS'
# Uncomment the following and set them appropriately if the Ceph cluster is
# external and you need to use a specific keyring/key and pool to access the
# CephFS share
#ManilaCephFSDataPoolName: manila_data
#ManilaCephFSMetadataPoolName: manila_metadata
#ManilaCephFSCephFSAuthId: 'manila'
#CephManilaClientKey: 'AQDLOh1VgEp6FRAAFzT7Zw+Y9V6JJExQAsRnRQ=='