ceph-ansible/roles
Guillaume Abrioux 2db2208e40 nfs: set idmap config for Ceph-NFS
Currently NFS Ganesha (ceph-nfs) consumes /etc/idmapd.conf, which
controls mapping of user/owner identities under NFSv4+. With
containerized service deployment, this file is an immutable part of the
container image and cannot be modified.

Here we provide group variables, and a taskk and templates for the
ceph-nfs role, to set the path of the idmap configuration file and
to make the most common adjustment to the contents of that file --
namely to set the 'Domain'. We default the path to /etc/ganesha/idmap.conf
so that we will not conflict with /etc/idmapd.conf on the controller nodes
where ganesha runs. NFSv4 clients, as used for example by the Cinder NFS
driver, consume /etc/idmapd.conf and may require different settings than
what is wanted for NFS Ganesha. Additionally, because we already bind
/etc/ganesha from the host into the ceph-nfs container, the file NFS
Ganesha consumes will no longer be an immutable part of the container.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1925646

Signed-off-by: Tom Barron tpb@dyncloud.net
Co-Authored-by: Guillaume Abrioux <gabrioux@redhat.com>
2021-03-31 21:52:07 +02:00
..
ceph-client clients: build filtered clients group early 2021-03-16 19:38:04 +01:00
ceph-common common,iscsi: don't use the shaman search endpoint 2021-03-27 01:55:04 +01:00
ceph-config config: reset num_osds 2021-03-15 10:41:28 +01:00
ceph-container-common Add quincy release 2021-02-12 10:02:08 +01:00
ceph-container-engine Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-crash Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-dashboard dashboard: support igw nodes with dedicated subnet 2021-03-26 16:22:58 +01:00
ceph-defaults dashboard: support prometheus storage.tsdb.retention.time parameter 2021-03-31 21:51:35 +02:00
ceph-facts convert some missed `ansible_*`` calls to `ansible_facts['*']` 2021-03-25 15:19:13 +01:00
ceph-fetch-keys fix broken ceph-fetch-keys role 2020-12-14 17:36:17 +01:00
ceph-grafana Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-handler Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-infra Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-iscsi-gw common,iscsi: don't use the shaman search endpoint 2021-03-27 01:55:04 +01:00
ceph-mds Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-mgr Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-mon ceph-mon: Fix check mode for deploy monitor tasks 2021-03-12 18:19:46 +01:00
ceph-nfs nfs: set idmap config for Ceph-NFS 2021-03-31 21:52:07 +02:00
ceph-node-exporter container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-osd convert some missed `ansible_*`` calls to `ansible_facts['*']` 2021-03-25 15:19:13 +01:00
ceph-prometheus dashboard: support prometheus storage.tsdb.retention.time parameter 2021-03-31 21:51:35 +02:00
ceph-rbd-mirror Peer addition won't be skipped if remote is not in peer 2021-03-26 15:18:21 +01:00
ceph-rgw rgw: supports pg_autoscale_mode option for pool creation 2021-03-31 13:10:28 +02:00
ceph-rgw-loadbalancer Use ansible_facts 2021-03-08 20:54:02 +01:00
ceph-validate validate: followup on 98e32b9 2021-03-17 09:46:05 +01:00