pvc/node-daemon/pvcnoded
Joshua Boniface 6cef68d157 Add separate OSD DB device support
Adds in three parts:

1. Create an API endpoint to create OSD DB volume groups on a device.
Passed through to the node via the same command pipeline as
creating/removing OSDs, and creates a volume group with a fixed name
(osd-db).

2. Adds API support for specifying whether or not to use this DB volume
group when creating a new OSD via the "ext_db" flag. Naming and sizing
is fixed for simplicity and based on Ceph recommendations (5% of OSD
size). The Zookeeper schema tracks the block device to use during
removal.

3. Adds CLI support for the new and modified API endpoints, as well as
displaying the block device and DB block device in the OSD list.

While I debated supporting adding a DB device to an existing OSD, in
practice this ended up being a very complex operation involving stopping
the OSD and setting some options, so this is not supported; this can be
specified during OSD creation only.

Closes #142
2021-09-23 13:59:49 -04:00
..
objects Add separate OSD DB device support 2021-09-23 13:59:49 -04:00
util Handle VM disk/network stats gathering exceptions 2021-09-12 19:41:07 -04:00
Daemon.py Move console watcher stop try up 2021-09-22 16:02:04 -04:00
__init__.py Use consistent naming of components 2020-02-08 19:34:07 -05:00
dnsmasq-zookeeper-leases.py Refactor pvcnoded to reduce Daemon.py size 2021-08-21 03:14:22 -04:00