Ceph install fails when LVM is in use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
Trying to install ceph using Landscape on openstack-autopilot but I keep hitting this error:
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 ERROR unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 INFO unit.ceph/
unit-ceph-2[18220]: 2016-02-12 05:51:49 ERROR juju.worker.
The osdize_dev() hook only checks partition 1 (using sgdisk, so not terribly useful on MBR labels) and does not handle the case where partition 1 is an LVM volume.
This bug is similar to #1420094