]> git.apps.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>
Wed, 7 Oct 2020 09:22:39 +0000 (11:22 +0200)
commitfb84440293e79b7eae8ebc7c41cbf7acb380a3b2
treebf09aa435cdfab3405329512ad3fd7ca3d480c28
parent74e52ea24f626df7717c3843b5963d549a22b85a
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>
(cherry picked from commit b0b797363fd66baa40eb54cf35dd6cfd11150be9)
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