With MAAS 1.9a2, lvm disks are not correctly skipped when in-use by ceph disk prepare.
Bug #1513009 reported by
Mark Shuttleworth
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Juju Charms Collection) |
Fix Released
|
High
|
Chris Holcombe | ||
ceph-osd (Juju Charms Collection) |
Fix Released
|
High
|
Chris Holcombe |
Bug Description
Today's gmaas autopilot run seemed to stumble on Ceph. MAAS 1.9b2 might be an issue.
ceph-disk-prepare skips disks that are already mounted, however it misses a new case where maas 1.9 now uses lvm by default.
One approach would be to make sure the disk is not a physical volume in an active volume group with mounted logical volumes as another conditional to check.
Related branches
lp:~xfactor973/charms/trusty/ceph/bug_1513009
On hold
for merging
into
lp:~openstack-charmers-archive/charms/trusty/ceph/next
- James Page: Needs Fixing
- Billy Olsen: Pending requested
-
Diff: 201 lines (+118/-5)4 files modified.bzrignore (+1/-0)
charm-helpers-hooks.yaml (+1/-0)
hooks/ceph.py (+11/-5)
hooks/charmhelpers/contrib/storage/linux/lvm.py (+105/-0)
lp:~chris.macnaughton/charm-helpers/use-lsblk-to-check-mount
- charmers: Pending requested
-
Diff: 92 lines (+13/-13)2 files modifiedcharmhelpers/contrib/storage/linux/utils.py (+5/-5)
tests/contrib/storage/test_linux_storage_utils.py (+8/-8)
Changed in ceph-osd (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in ceph (Juju Charms Collection): | |
status: | New → Triaged |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Confirmed → Triaged |
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → High |
milestone: | none → 16.01 |
Changed in ceph-osd (Juju Charms Collection): | |
milestone: | none → 16.01 |
tags: | removed: kanban-cross-team |
Changed in ceph (Juju Charms Collection): | |
assignee: | nobody → Chris Holcombe (xfactor973) |
Changed in ceph-osd (Juju Charms Collection): | |
assignee: | nobody → Chris Holcombe (xfactor973) |
Changed in ceph-osd (Juju Charms Collection): | |
milestone: | 16.01 → 16.04 |
Changed in ceph (Juju Charms Collection): | |
milestone: | 16.01 → 16.04 |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Indeed.
http:// paste.ubuntu. com/13102405/
unit-ceph-1[20040]: 2015-11-04 08:46:46 INFO unit.ceph/ 1.mon-relation- changed logger.go:40 ceph-disk: Error: Device /dev/sda1 is in use by a device-mapper mapping (dm-crypt?): dm-0