Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
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
.github tests: pin ruamel.yaml version 2021-03-26 14:42:27 +01:00
contrib remove ceph restapi references 2019-06-20 15:15:10 -04:00
docs Docs: fix some typos 2021-03-12 09:36:11 +01:00
group_vars nfs: set idmap config for Ceph-NFS 2021-04-02 13:18:52 +02:00
infrastructure-playbooks update: followup on 07029e1 2021-03-29 15:22:23 +02:00
library library: drop ceph_facts 2021-03-26 00:07:43 +01:00
plugins ipaddrs_in_ranges: fix python indent 2019-10-28 15:54:31 +01:00
profiles Use ansible_facts 2021-03-26 00:16:58 +01:00
roles nfs: set idmap config for Ceph-NFS 2021-04-02 13:18:52 +02:00
tests Use ansible_facts 2021-03-26 00:16:58 +01:00
.gitignore remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
.mergify.yml mergify: add mergify configuration 2020-12-15 10:03:33 +01:00
CONTRIBUTING.md remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile Fixes for Makefile 2020-03-30 22:31:04 +02:00
README-MULTISITE.md docs: rgw multisite docs with new rgw_instances config 2021-03-26 07:43:02 +01:00
README.rst docs: update URLs to point to the RTD links 2020-09-25 10:47:38 -04:00
RELEASE-NOTE.md doc: update release note 2020-04-23 13:27:24 +02:00
Vagrantfile tests: revert vagrant_variable file name detection 2019-11-25 14:52:57 +01:00
ansible.cfg Disable facts by default in ansible.cfg 2021-03-26 00:16:58 +01:00
ceph-ansible.spec.in library: drop ceph_facts 2021-03-26 00:07:43 +01:00
dashboard.yml node-exporter: exclude client nodes 2020-09-14 16:13:25 -04:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh fix broken ceph-fetch-keys role 2020-12-15 17:30:42 +01:00
raw_install_python.yml install python-xml on SUSE/openSUSE only if python2 is installed 2019-09-27 17:50:10 +02:00
requirements.txt requirements.txt: Move the six dependency into the general requirements 2021-03-03 13:22:29 +01:00
rhcs_edits.txt defaults: update rhcs dashboard images versions 2021-02-18 18:22:28 +01:00
site-container.yml.sample Use ansible_facts 2021-03-26 00:16:58 +01:00
site-docker.yml.sample site: symlink site-docker to site-container 2018-11-27 16:47:40 +00:00
site.yml.sample main: followup on pr 6012 2020-11-12 15:34:12 -05:00
test.yml Remove spurious ceph. prefix for roles path in test.yml 2019-01-11 11:10:52 +01:00
tox-docker2podman.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-external_clients.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-filestore_to_bluestore.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-podman.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-shrink_osd.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-update.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox.ini tests: increase nb of rerun in pytest 2021-03-12 17:52:00 +01:00
vagrant_variables.yml.sample Fix units and add ability to have a dedicated instance 2019-06-12 11:48:12 +02:00

README.rst

ceph-ansible
============
Ansible playbooks for Ceph, the distributed filesystem.

Please refer to our hosted documentation here: https://docs.ceph.com/projects/ceph-ansible/en/latest/

You can view documentation for our ``stable-*`` branches by substituting ``master`` in the link
above for the name of the branch. For example: https://docs.ceph.com/projects/ceph-ansible/en/stable-4.0/