tripleo-heat-templates/deployment/ceph-ansible
Tom Barron 823ec82238 set ganesha idmap.conf file path and overrides
Traditionally,  Ganesha consumes /etc/idmapd.conf, which controls
mapping of user/owner identities under NFSv4+.  With containerized service
deployment, this file has beenan immutable part of the container image
and could not be modified.

Recently ceph-ansible was modified to allow the user to set the path
for idmapd.conf and to override ini settings in this file by supplying
json configuration for the overrides in the same way that it can be
supplied for ceph.conf overrides [1].  Also, the default path setting
for the idmapd.conf file is /etc/ganesha/idmap.conf, which already is
reflected into containerized ganesha under /etc/ganesha, solving the
immutability issue.  If no overrides are supplied, the file put in this
location will match that originally frozen into the container, so there
is no issue here with backwards compatibility.

This change exposes parameters for idmap.conf file path and override
contents in TripleO and passes them into ceph-ansible.  It also sets up
these parameters for cephadm.  Cephadm support for OpenStack Ganesha
is WIP so there will likely need to be a followup patch to make these
effective when cephadm replaces ceph ansible.

[1] https://github.com/ceph/ceph-ansible/pull/6422

Change-Id: I422e49f0027efbbb25256d8b4718eb0aa78d90a4
(cherry picked from commit 9a42686dc7)
(cherry picked from commit b2a8641a5c)
2021-06-09 12:26:28 +00:00
..
ceph-base.yaml Check Ceph cluster healthy state before starting FS to BS playbook 2021-03-11 15:22:47 +00:00
ceph-client.yaml Add CephClientConfigOverrides resource 2020-10-13 16:20:50 +02:00
ceph-external.yaml Add filestore to bluestore migration tags 2020-07-03 17:21:04 +02:00
ceph-grafana.yaml Adding key_size option on the certificate creation 2021-01-06 13:18:20 +00:00
ceph-mds.yaml [FFWD Ceph] Fix ceph post_upgrade_tasks for osd options 2020-08-21 14:19:14 +02:00
ceph-mgr.yaml Adding key_size option on the certificate creation 2021-01-06 13:18:20 +00:00
ceph-mon.yaml Use Ceph cluster name when setting minimum client version 2021-02-10 09:26:17 +01:00
ceph-nfs.yaml set ganesha idmap.conf file path and overrides 2021-06-09 12:26:28 +00:00
ceph-osd.yaml Rely on the HOSTNAME var to resolve the mon container name 2020-12-22 07:40:42 +00:00
ceph-rbdmirror.yaml Add filestore to bluestore migration tags 2020-07-03 17:21:04 +02:00
ceph-rgw.yaml Don't try creating default admin and member roles 2021-02-25 10:08:20 +00:00