pvc/daemon-common
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
..
migrations/versions Store additional OSD information in ZK 2022-05-02 12:11:39 -04:00
ceph.py Add support for replacing/refreshing OSDs 2022-05-06 15:32:06 -04:00
cluster.py Reformat code with Black code formatter 2021-11-06 03:02:43 -04:00
common.py Reformat code with Black code formatter 2021-11-06 03:02:43 -04:00
log.py Reformat code with Black code formatter 2021-11-06 03:02:43 -04:00
network.py Standardize fuzzy matching and use fullmatch 2021-12-06 16:35:29 -05:00
node.py Standardize fuzzy matching and use fullmatch 2021-12-06 16:35:29 -05:00
vm.py Standardize fuzzy matching and use fullmatch 2021-12-06 16:35:29 -05:00
zkhandler.py Store additional OSD information in ZK 2022-05-02 12:11:39 -04:00