ceph-ansible/roles
Guillaume Abrioux 873fc8ec0f osd: ensure /var/lib/ceph/osd/{cluster}-{id} is present
This commit ensures that the `/var/lib/ceph/osd/{{ cluster }}-{{ osd_id }}` is
present before starting OSDs.

This is needed specificly when redeploying an OSD in case of OS upgrade
failure.
Since ceph data are still present on its devices then the node can be
redeployed, however those directories aren't present since they are
initially created by ceph-volume. We could recreate them manually but
for better user experience we can ask ceph-ansible to recreate them.

NOTE:
this only works for OSDs that were deployed with ceph-volume.
ceph-disk deployed OSDs would have to get those directories recreated
manually.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-11-19 09:20:28 +01:00
..
ceph-client common: follow up on #5948 2020-11-02 20:16:36 -05:00
ceph-common add missing boolean filter 2020-09-28 20:45:01 +02:00
ceph-config config: Always use osd_memory_target if set 2020-11-13 09:13:58 +01:00
ceph-container-common container: quote registry password 2020-09-18 11:14:00 -04:00
ceph-container-engine container: remove container_binding_name variable 2020-10-14 10:32:31 +02:00
ceph-crash container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-dashboard library: add radosgw_user module 2020-10-06 10:07:58 +02:00
ceph-defaults config: Always use osd_memory_target if set 2020-11-13 09:13:58 +01:00
ceph-facts ceph-facts: fix read osd pool default crush fact 2020-11-18 12:55:43 -05:00
ceph-fetch-keys common: drop `fetch_directory` feature 2020-10-21 13:22:16 +02:00
ceph-grafana container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-handler monitor: use quorum_status instead of ceph status 2020-11-03 09:05:33 +01:00
ceph-infra defaults: change default grafana-server name 2020-09-29 07:42:26 +02:00
ceph-iscsi-gw container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-mds container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-mgr containers: modify bindmount option 2020-11-17 09:19:23 -05:00
ceph-mon containers: modify bindmount option 2020-11-17 09:19:23 -05:00
ceph-nfs container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-node-exporter container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-osd osd: ensure /var/lib/ceph/osd/{cluster}-{id} is present 2020-11-19 09:20:28 +01:00
ceph-prometheus container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-rbd-mirror container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-rgw container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-rgw-loadbalancer Enable HAProxy backend checks for Ceph RGW 2020-08-27 10:57:46 -04:00
ceph-validate ceph_key: remove backward compatibility 2020-10-06 07:59:38 +02:00