a45f056604
The heat template parameter allows setting a ceph-ansible variable that is meant to override specific section/s of the idmapd.conf file used by nfs-ganesha. The ceph-ansible variable was incorrect [1]. This problem doesn't exist in stable/wallaby and beyond since we don't use ceph-ansible with those branches [2]. Original commit: I422e49f0027efbbb25256d8b4718eb0aa78d90a4 [1]2db2208e40
[2]963d607c49/tripleo_ansible/roles/tripleo_cephadm/tasks/ganesha/start_nfs.yaml
Change-Id: Idd98edcf60fe0220a25aadbdc9e3214258dafa4c Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com> (cherry picked from commitfae0447305
) (cherry picked from commit4eef893c1a
)
38 lines
1.9 KiB
YAML
38 lines
1.9 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'
|
|
# Use ManilaCephFSNFSIdmapConf to change the path of the idmap.conf file consumed by ganesha
|
|
ManilaCephFSNFSIdmapConf: '/etc/ganesha/idmap.conf'
|
|
# Use ManilaCephFSNFSIdmapOverrides to overide ini configuration in the idmap.conf file
|
|
# Example:
|
|
# ManilaCephFSNFSIdmapOverrides:
|
|
# General:
|
|
# Domain: testing.openstack.tripleo.org
|
|
ManilaCephFSNFSIdmapOverrides: {}
|
|
# 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=='
|