diff options
| author | Paul Bourke <paul.bourke@oracle.com> | 2016-07-05 11:05:26 +0100 |
|---|---|---|
| committer | Paul Bourke <paul.bourke@oracle.com> | 2016-08-29 14:34:01 +0100 |
| commit | ec40ed3cbb4ab0bb2b1dd229b6de5d206bbca5b1 (patch) | |
| tree | 6f7e9745ed434b2f20c2a6df6dd21a5df14684be /releasenotes | |
| parent | 90c052dea0f17089ad583a37fe63220bbb9daaec (diff) | |
| download | kolla-ec40ed3cbb4ab0bb2b1dd229b6de5d206bbca5b1.tar.gz kolla-ec40ed3cbb4ab0bb2b1dd229b6de5d206bbca5b1.zip | |
Add a check before wiping Ceph disks in bootstrap
An unwitting user may apply the KOLLA_CEPH_OSD[_CACHE]_BOOTSTRAP label
to a partition assuming it will only use that partition for Ceph, and
end up wiping out their disk.
This change adds a layer of checking to this scenario to try and help
avoid a disaster scenario.
Closes-Bug: 1599103
DocImpact
Change-Id: Ibb9fb42f87a76bc02165ec0b93b60234bad8747a
Diffstat (limited to 'releasenotes')
| -rw-r--r-- | releasenotes/notes/add-ceph-disk-init-protection-5b38ce8f1502ff69.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/releasenotes/notes/add-ceph-disk-init-protection-5b38ce8f1502ff69.yaml b/releasenotes/notes/add-ceph-disk-init-protection-5b38ce8f1502ff69.yaml new file mode 100644 index 000000000..20febed2d --- /dev/null +++ b/releasenotes/notes/add-ceph-disk-init-protection-5b38ce8f1502ff69.yaml @@ -0,0 +1,20 @@ +--- +prelude: > + There any multiple options available to an operator + with regards to how they wish to provision devices + for use with Ceph OSDs. One of those is to co-locate + the data and journal on a disk, which is done by + marking a partition on that disk with + `KOLLA_CEPH_OSD[_CACHE]_BOOTSTRAP`. + If an unwitting user happened to confuse this with + the partition based approach, they could wipe out + their entire disk, resulting in data loss. +features: + - The Ceph bootstrap will now pause requesting + confirmation from the operator if it detects a + bootstrap label on a disk with more than one + partition. + An operator may override this behaviour by + setting the Ansible variable + 'ceph_osd_wipe_disk' to + 'yes-i-really-really-mean-it'. |
