ceph-ansible/roles/ceph-osd
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
..
defaults ceph-osd note that some scenarios use ceph-disk vs. ceph-volume 2018-03-29 09:11:33 +02:00
meta ceph-osd: Add support for openSUSE Leap distributions 2017-11-14 10:51:23 +00:00
tasks osd: do not do anything if the dev has a partition 2018-04-13 19:11:15 +02:00
templates cleanup osd.conf.j2 in ceph-osd 2018-03-26 15:57:37 +08:00
LICENSE Add READMEs for each roles 2015-07-25 10:51:53 +02:00
README.md Cleanup readme files in roles directories 2017-10-17 11:22:06 +02:00

README.md

Ansible role: ceph-osd

Documentation is available at http://docs.ceph.com/ceph-ansible/.