]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add db and wal support to raw mode 32828/head
authorSébastien Han <seb@redhat.com>
Fri, 24 Jan 2020 15:29:54 +0000 (16:29 +0100)
committerSébastien Han <seb@redhat.com>
Wed, 29 Jan 2020 11:13:06 +0000 (12:13 +0100)
commitc8f23c7182e2681f2bc756776a890995aca1efd2
treee4667cf18c7e4fce2346256f2db1a3a5a4c461b3
parente99eb8cc95c5f50ec13170f202226c3581e3f5e2
ceph-volume: add db and wal support to raw mode

Using the raw mode, the OSD preparation can now be called with extra
arguments to specify a block device for either rocksdb db or wal.

The code expects the device to be available and no validation will be
performed. Also, the entire block device will be consumed.

The goal is run this on Kubernetes with Rook and OSD are running on PVC.
Users will request PVC from a certain size, the request will be
acknowledged and a block will be created, then attached to the machine.
Later on consumed by Rook's preparation job.

Signed-off-by: Sébastien Han <seb@redhat.com>
src/ceph-volume/ceph_volume/devices/raw/activate.py
src/ceph-volume/ceph_volume/devices/raw/common.py
src/ceph-volume/ceph_volume/devices/raw/prepare.py
src/ceph-volume/ceph_volume/util/prepare.py