ceph-osd: support use of directly backed OSD's on bcache devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceph Charm (Retired) |
Won't Fix
|
Wishlist
|
Unassigned | ||
ceph (Juju Charms Collection) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
If you specify an non-existent directory to ceph-osd as e.g.:
osd-devices="... /path/to/foo", the charm will create /path/to/foo
and start using it - this behavior is different from the device
case (which will obviously skip if not present), and should match it.
Use case: because current ceph-osd charm doesn't support actions
to add/rm osds, to add new devices to the pool we set osd-devices
to include the new devices added to *some* nodes, then config-changed
will add the present ones -- but then, if it's a directory, it'll
behave as above, creating it if not present, and start using it.
In our specific case, these were bcache backed directories, and
because of http://
them properly mounted to be able to add osds to them - then we
ended filing up the rootFS on the nodes where these mounted dirs
had not been setup yet.
Changed in ceph (Juju Charms Collection): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in ceph (Juju Charms Collection): | |
assignee: | nobody → Billy Olsen (billy-olsen) |
milestone: | none → 16.10 |
Changed in ceph (Juju Charms Collection): | |
milestone: | 16.10 → 17.01 |
Changed in charm-ceph: | |
assignee: | nobody → Billy Olsen (billy-olsen) |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in ceph (Juju Charms Collection): | |
status: | Triaged → Invalid |
Changed in charm-ceph: | |
assignee: | Billy Olsen (billy-olsen) → nobody |
Changed in ceph (Juju Charms Collection): | |
assignee: | Billy Olsen (billy-olsen) → nobody |
I'd be happy to give you a hand with creating a PR to add add/rm osd actions if you're interested.