pvc/api-daemon
Joshua Boniface adc8a5a3bc 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
..
migrations Adjust VNI column for provisioner to text 2021-06-02 15:45:22 -04:00
provisioner/examples Add chroot context manager example to debootstrap 2021-07-11 23:10:41 -04:00
pvcapid Add separate OSD DB device support 2021-09-23 13:59:49 -04:00
daemon_lib Rename API and common Debian packages 2020-02-08 18:50:38 -05:00
pvc-api-db-upgrade Ensure database migrations are in source control 2020-02-15 23:16:40 -05:00
pvcapid-manage-zk.py Add scripts to generate ZK migration JSON 2021-06-09 00:04:38 -04:00
pvcapid-manage.py Update copyright year in headers 2021-03-25 17:01:55 -04:00
pvcapid-worker.service Add worker wrapper to fix Deb incompatibility 2021-06-28 12:19:29 -04:00
pvcapid-worker.sh Add worker wrapper to fix Deb incompatibility 2021-06-28 12:19:29 -04:00
pvcapid.py Move startup code to an entrypoint function 2021-05-30 00:18:04 -04:00
pvcapid.sample.yaml Rename sample database for API 2020-08-25 01:59:35 -04:00
pvcapid.service Use consistent naming of components 2020-02-08 19:34:07 -05:00
swagger.html Rename API and common Debian packages 2020-02-08 18:50:38 -05:00
swagger.json Rename API and common Debian packages 2020-02-08 18:50:38 -05:00