ceph-ansible/roles/ceph-osd/tasks/scenarios
Sébastien Han 5bbbce527e osd: do not do anything if the dev has a partition
Regardless if the partition is 'ceph' or something else, we don't want
to be as strick as checking for a particular partition.
If the drive has a partition, we just don't do anything.

This solves the case where the server reboots, disks get a different
/dev/sda (node) allocation. In this case, prior to restarting the server
/dev/sda was an OSD, but now it's /dev/sdb and the other way around.
In such scenario, we will try to prepare the OSD and create a new
partition, so let's not mess around with devices that have partitions.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1498303
Signed-off-by: Sébastien Han <seb@redhat.com>
2018-04-13 19:11:15 +02:00
..
collocated.yml osd: do not do anything if the dev has a partition 2018-04-13 19:11:15 +02:00
lvm.yml ceph-osd: adds dmcrypt to the lvm scenario 2018-01-24 14:10:08 +01:00
non-collocated.yml osd: do not do anything if the dev has a partition 2018-04-13 19:11:15 +02:00