ceph-ansible/roles
Guillaume Abrioux efddbdf909 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>
(cherry picked from commit 2db2208e40)
2021-04-01 14:52:12 +02:00
..
ceph-client Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-common Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-config Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-container-common container: quote registry password 2020-09-18 11:14:00 -04:00
ceph-container-engine Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-crash Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-dashboard dashboard: support igw nodes with dedicated subnet 2021-03-26 19:38:37 +01:00
ceph-defaults defaults: add a comment about `igw_network` 2021-03-29 11:23:49 +02:00
ceph-facts convert some missed `ansible_*`` calls to `ansible_facts['*']` 2021-03-26 00:04:49 +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-26 00:04:49 +01:00
ceph-handler Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-infra Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-iscsi-gw Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-mds Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-mgr Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-mon Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-nfs nfs: set idmap config for Ceph-NFS 2021-04-01 14:52:12 +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-26 00:04:49 +01:00
ceph-prometheus Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-rbd-mirror Peer addition won't be skipped if remote is not in peer 2021-03-26 21:24:59 +01:00
ceph-rgw Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-rgw-loadbalancer Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-validate Use ansible_facts 2021-03-26 00:04:49 +01:00