Fix attr corresponding to ManilaCephFSNFSIdmapOverrides

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 commit fae0447305)
(cherry picked from commit 4eef893c1a)
This commit is contained in:
Goutham Pacha Ravi 2022-03-01 20:28:22 +05:30
parent eab360b091
commit a45f056604
2 changed files with 5 additions and 1 deletions

View File

@ -68,7 +68,7 @@ resources:
ceph_nfs_disable_caching: true
ceph_nfs_ceph_user: {get_param: ManilaCephFSCephFSAuthId}
ceph_nfs_idmap_conf: {get_param: ManilaCephFSNFSIdmapConf}
ceph_nfs_idmap_overrides: {get_param: ManilaCephFSNFSIdmapOverrides}
idmap_conf_overrides: {get_param: ManilaCephFSNFSIdmapOverrides}
outputs:
role_data:

View File

@ -23,6 +23,10 @@ parameter_defaults:
# 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