86a3da5d7f
Change-Id: I15af98faedd81cccbc10e2cc7dab4205a35684be
25 lines
462 B
Django/Jinja
25 lines
462 B
Django/Jinja
# Status
|
|
ceph orch status --detail
|
|
|
|
# Apply cluster spec
|
|
ceph orch apply -i /var/run/ceph/cluster.yml
|
|
|
|
# OSDs
|
|
{% for osd in cephadm_ceph_osd_devices %}
|
|
ceph orch daemon add osd {{ osd }}
|
|
{% endfor %}
|
|
|
|
# Pools
|
|
{% for pool in cephadm_ceph_pools %}
|
|
ceph osd pool create {{ pool }}
|
|
ceph osd pool application enable {{ pool }} rbd
|
|
{% endfor %}
|
|
|
|
# Users
|
|
{% for user in cephadm_ceph_users %}
|
|
ceph auth get-or-create {{ user }}
|
|
{% endfor %}
|
|
|
|
# Health
|
|
ceph health detail
|