pvc/api-daemon/pvcapid
Joshua Boniface 7a40c7a55b Add support for replacing/refreshing OSDs
Adds commands to both replace an OSD disk, and refresh (reimport) an
existing OSD disk on a new node. This handles the cases where an OSD
disk should be replaced (either due to upgrades or failures) or where a
node is rebuilt in-place and an existing OSD must be re-imported to it.

This should avoid the need to do a full remove/add sequence for either
case.

Also cleans up some aspects of OSD removal that are identical between
methods (e.g. using safe-to-destroy and sleeping after stopping) and
fixes a bug if an OSD does not truly exist when the daemon starts up.
2022-05-06 15:32:06 -04:00
..
Daemon.py Bump version to 0.9.48 2022-04-29 15:03:52 -04:00
__init__.py Use consistent naming of components 2020-02-08 19:34:07 -05:00
benchmark.py Reformat code with Black code formatter 2021-11-06 03:02:43 -04:00
flaskapi.py Add support for replacing/refreshing OSDs 2022-05-06 15:32:06 -04:00
helper.py Add support for replacing/refreshing OSDs 2022-05-06 15:32:06 -04:00
libvirt_schema.py Add serial BIOS to default libvirt schema 2021-07-15 10:45:14 -04:00
models.py Reformat code with Black code formatter 2021-11-06 03:02:43 -04:00
ova.py Reformat code with Black code formatter 2021-11-06 03:02:43 -04:00
provisioner.py Remove "and started" from message text 2021-11-29 16:42:26 -05:00