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
This commit is contained in:
Giulio Fidente 2019-06-27 14:05:25 +02:00
parent b8de91a534
commit 829e658559

View File

@ -1,5 +1,5 @@
# A Heat environment file which can be used to enable a
# a Manila CephFS-NFS driver backend.
# 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
@ -14,10 +14,16 @@ resource_registry:
parameter_defaults:
ManilaCephFSBackendName: cephfs
ManilaCephFSDriverHandlesShareServers: false
ManilaCephFSCephFSAuthId: 'manila'
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=='