]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: batch - major refactor
authorJan Fajerski <jfajerski@suse.com>
Mon, 27 Apr 2020 09:47:04 +0000 (11:47 +0200)
committerJan Fajerski <jfajerski@suse.com>
Fri, 25 Sep 2020 09:49:44 +0000 (11:49 +0200)
commitb0b797363fd66baa40eb54cf35dd6cfd11150be9
tree6441d37d06d9631f2e9cec654ede8223d73baa23
parent6cb0841658ae45f23c2457a8f6a489457012d93e
ceph-volume: batch - major refactor

This completely refactors the batch code in order to make use of the
create/prepare code path for creating OSDs instead of having a second
code path doing this. This not only eases the maintenance burden but
also adds various features and fixes bugs. This subcommand can now
handle LVs, replace OSDs, reuse VGs and has a better notion of
idempotency.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
13 files changed:
src/ceph-volume/ceph_volume/devices/lvm/batch.py
src/ceph-volume/ceph_volume/devices/lvm/prepare.py
src/ceph-volume/ceph_volume/devices/lvm/strategies/__init__.py [deleted file]
src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py [deleted file]
src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py [deleted file]
src/ceph-volume/ceph_volume/devices/lvm/strategies/strategies.py [deleted file]
src/ceph-volume/ceph_volume/devices/lvm/strategies/validators.py [deleted file]
src/ceph-volume/ceph_volume/tests/devices/lvm/strategies/__init__.py [deleted file]
src/ceph-volume/ceph_volume/tests/devices/lvm/strategies/test_bluestore.py [deleted file]
src/ceph-volume/ceph_volume/tests/devices/lvm/strategies/test_filestore.py [deleted file]
src/ceph-volume/ceph_volume/tests/devices/lvm/strategies/test_validate.py [deleted file]
src/ceph-volume/ceph_volume/util/prepare.py
src/ceph-volume/ceph_volume/util/templates.py