Possible to accidentally wipe an entire disk during Ceph bootstrap

Bug #1599103 reported by Paul Bourke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Paul Bourke

Bug Description

An unwitting user may apply the KOLLA_CEPH_OSD_BOOTSTRAP label to a
partition assuming it will only use that partition for Ceph, and end up
wiping out their disk.

As a deployment tool we should be extra careful about this kind of thing.

Revision history for this message
Dave Walker (davewalker) wrote :

Does this also impact Journal and Cache?

Changed in kolla:
assignee: nobody → Paul Bourke (pauldbourke)
milestone: none → newton-3
Changed in kolla:
status: New → In Progress
Changed in kolla:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/337594
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=ec40ed3cbb4ab0bb2b1dd229b6de5d206bbca5b1
Submitter: Jenkins
Branch: master

commit ec40ed3cbb4ab0bb2b1dd229b6de5d206bbca5b1
Author: Paul Bourke <email address hidden>
Date: Tue Jul 5 11:05:26 2016 +0100

    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

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.0.0b3

This issue was fixed in the openstack/kolla 3.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.