This website requires JavaScript.
Explore
Help
Register
Sign In
ceph
/
ceph-ansible
mirror of
https://github.com/ceph/ceph-ansible.git
Watch
1
Star
0
Fork
You've already forked ceph-ansible
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
fe918722fb
ceph-ansible
/
roles
/
ceph-defaults
/
vars
/
main.yml
3 lines
97 B
YAML
Raw
Normal View
History
Unescape
Escape
defaults: add ceph related vars file This is to add a granularity level. We can have ceph specific variables that user shouldn't have to change here. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-11-21 18:06:45 +08:00
---
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>
2019-03-08 06:14:12 +08:00
ceph_osd_pool_default_crush_rule
:
-
1
osd: use default crush rule name when needed When `rule_name` isn't set in `crush_rules` the osd pool creation will fail. This commit adds a new fact `ceph_osd_pool_default_crush_rule_name` with the default crush rule name. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1817586 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-03-27 23:21:09 +08:00
ceph_osd_pool_default_crush_rule_name
:
"replicated_rule"