tripleo-upgrade/templates/cephosd.yaml.j2
Lukas Bezdicka 416d06a545 ceph_osds is list so we don't need to itemize it
Also we have just one value in colocated scenario.

Change-Id: I6dab80aa476140e821a65544c39182c12b20c0b6
2019-11-22 11:59:54 +01:00

22 lines
566 B
Django/Jinja

parameter_defaults:
CephAnsibleVerbosity: 3
{% if ceph_osds_pg is defined %}
CephPoolDefaultPgNum: {{ceph_osds_pg}}
{% endif %}
CephAnsibleDisksConfig:
devices:
{% for osd in ceph_osds|sort %}
- '{{ osd }}'
{% endfor %}
{% if ceph_osds_non_collocated|default(false) %}
dedicated_devices:
{% for key, value in ceph_osds|sort %}
- '{{ value.journal }}'
{% endfor %}
osd_scenario: non-collocated
{% else %}
osd_scenario: collocated
{% endif %}
CephConfigOverrides:
mon_max_pg_per_osd: 300