Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
Dimitri Savineau bfa99cdd53 Set the default crush rule in ceph.conf
Currently the default crush rule value is added to the ceph config
on the mon nodes as an extra configuration applied after the template
generation via the ansible ini module.

This implies two behaviors:

1/ On each ceph-ansible run, the ceph.conf will be regenerated via
ceph-config+template and then ceph-mon+ini_file. This leads to a
non necessary daemons restart.

2/ When other ceph daemons are collocated on the monitor nodes
(like mgr or rgw), the default crush rule value will be erased by
the ceph.conf template (mon -> mgr -> rgw).

This patch adds the osd_pool_default_crush_rule config to the ceph
template and only for the monitor nodes (like crush_rules.yml).
The default crush rule id is read (if exist) from the current ceph
configuration.
The default configuration is -1 (ceph default).

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

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit d8538ad4e1)
2019-03-14 14:48:03 +00:00
.github/ISSUE_TEMPLATE Update issue templates 2018-07-12 14:10:15 +02:00
contrib contrib: rm script push-roles-to-ansible-galaxy.sh 2018-10-30 13:45:30 +01:00
docs ceph-defaults: set ceph_stable_openstack_release_uca to queens 2018-10-16 12:56:32 +00:00
group_vars osd: support numactl options on OSD activate 2019-03-11 09:50:29 +00:00
infrastructure-playbooks add-osd.yml: Add become flag for ceph-validate 2019-03-12 14:48:03 +01:00
library tests: update ceph_volume tests 2019-02-28 13:48:39 +00:00
plugins add 'custom' as valid ceph_repository value 2019-02-11 10:07:24 +00:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles Set the default crush rule in ceph.conf 2019-03-14 14:48:03 +00:00
tests tests: add mgrs section in non_container-collocation 2019-03-05 10:49:45 +01:00
.gitignore gitignore: add mergify and travis as exceptions 2018-10-30 13:45:30 +01:00
.mergify.yml Mergify: fix regexp operator 2018-10-15 15:56:04 +02:00
.travis.yml travis: add ansible-galaxy integration 2018-10-30 13:45:30 +01:00
CONTRIBUTING.md doc: Update CONTRIBUTING.md 2018-06-22 14:48:23 +02:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile Makefile: followup on #2585 2018-06-01 12:50:03 +02:00
README-MULTISITE.md rgw: add ceph-validate tasks for multisite, other fixes 2018-10-30 14:00:28 +01:00
README.rst Update Documentation example link to 3.0 2018-02-07 16:34:45 +01:00
RELEASE-NOTE.md RELASE-NOTE: fix PR links 2018-12-10 10:02:36 +01:00
Vagrantfile tests: refact testing in stable-3.2 2019-01-30 14:58:59 +01:00
ansible.cfg ansible: increase fact cache timeout 2019-02-06 10:22:14 +00:00
ceph-ansible.spec.in set the python-notario version to >= 0.0.13 in ceph-ansible.spec.in 2018-05-18 17:58:24 +02:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh contrib: fix generate group_vars samples 2018-06-08 10:21:54 +02:00
requirements.txt main: update requirements.txt 2018-07-24 18:23:04 +02:00
rhcs_edits.txt rhcs: add helpers for the containerized deployment 2018-10-08 09:50:49 -04:00
site-docker.yml.sample introduce new role ceph-facts 2019-01-07 09:14:10 +01:00
site.yml.sample set `any_errors_fatal` true for left out host sections 2019-01-31 07:52:31 +00:00
test.yml remove rbd-mirror as well from testing. No packages are available yet 2016-04-12 07:38:13 -04:00
tox.ini tests: use memory backend for cache fact 2019-03-05 08:40:11 +01:00
vagrant_variables.yml.sample remove kernel.pid_max 2018-02-23 13:57:57 +01:00

README.rst

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

Please refer to our hosted documentation here: http://docs.ceph.com/ceph-ansible/master/

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