Add option to bootstrap cephadm with --single-host-defaults

Add boolean tripleo_cephadm_single_host_defaults default false.
When true --single-host-defaults is passed to cephadm bootstrap.

Related-Bug: 1958884
Change-Id: I0bf31c945756b29130b1418ef71b8435e2b4f192
(cherry picked from commit 1f219b5ec3)
This commit is contained in:
John Fulton 2022-01-24 19:40:36 +00:00 committed by Francesco Pantano
parent 3205b59e72
commit 9ab1e92a3e
No known key found for this signature in database
GPG Key ID: 0458D4D1F41BD75C
2 changed files with 2 additions and 0 deletions

View File

@ -68,3 +68,4 @@ tripleo_cephadm_action: disable
tripleo_cephadm_rbd_trash_interval: 15
tripleo_cephadm_apply_ceph_conf_overrides_on_update: false
tripleo_cephadm_default_container: false
tripleo_cephadm_single_host_defaults: false

View File

@ -60,6 +60,7 @@
{% if tripleo_cephadm_registry_password|length > 0 %}--registry-password {{ tripleo_cephadm_registry_password }} \{% endif %}
{% if tripleo_cephadm_spec_on_bootstrap %}--apply-spec {{ tripleo_cephadm_spec }} \{% endif %}
{% if tripleo_cephadm_assimilate_conf_stat.stat.exists %}--config {{ tripleo_cephadm_assimilate_conf }} \{% endif %}
{% if tripleo_cephadm_single_host_defaults %}--single-host-defaults \{% endif %}
--skip-monitoring-stack --skip-dashboard \
--mon-ip {{ tripleo_cephadm_first_mon_ip }}
register: cephadm_bootstrap