ceph-ansible/roles
Guillaume Abrioux b79c2070f4 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-02 13:18:52 +02:00
..
ceph-client Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-common Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-config Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-container-common containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
ceph-container-engine Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-crash Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-dashboard dashboard: support igw nodes with dedicated subnet 2021-03-26 21:26:14 +01:00
ceph-defaults dashboard: support prometheus storage.tsdb.retention.time parameter 2021-04-02 13:17:59 +02:00
ceph-facts Disable facts by default in ansible.cfg 2021-03-26 00:16:58 +01:00
ceph-fetch-keys fix broken ceph-fetch-keys role 2020-12-15 17:30:42 +01:00
ceph-grafana Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-handler Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-infra Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-iscsi-gw Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-mds Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-mgr Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-mon Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-nfs nfs: set idmap config for Ceph-NFS 2021-04-02 13:18:52 +02:00
ceph-node-exporter container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-osd convert some missed `ansible_*`` calls to `ansible_facts['*']` 2021-03-26 00:16:58 +01:00
ceph-prometheus dashboard: support prometheus storage.tsdb.retention.time parameter 2021-04-02 13:17:59 +02:00
ceph-rbd-mirror Peer addition won't be skipped if remote is not in peer 2021-03-26 19:14:35 +01:00
ceph-rgw Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-rgw-loadbalancer Use ansible_facts 2021-03-26 00:16:58 +01:00
ceph-validate Use ansible_facts 2021-03-26 00:16:58 +01:00