]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add db and wal support to raw mode 33622/head
authorSébastien Han <seb@redhat.com>
Fri, 24 Jan 2020 15:29:54 +0000 (16:29 +0100)
committerJan Fajerski <jfajerski@suse.com>
Fri, 28 Feb 2020 15:38:41 +0000 (16:38 +0100)
commitebfe874ee3296bc38cb01e1c0a7811ab474ac863
tree6587ea34cd5af8fc80316a9e55151c809be87b32
parent64f0529fe42260eed1fed6291585f06c452a37ae
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>
(cherry picked from commit c8f23c7182e2681f2bc756776a890995aca1efd2)
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