]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add db and wal support to raw mode 32979/head
authorSébastien Han <seb@redhat.com>
Fri, 24 Jan 2020 15:29:54 +0000 (16:29 +0100)
committerSébastien Han <seb@redhat.com>
Thu, 30 Jan 2020 08:35:39 +0000 (09:35 +0100)
commitd20e0d5779d3a285dc5b7b9a7c0ac98bc9132d38
tree2bf13f6681a7e4efecfaa891af012703f01f1220
parent3a1b38922ed4e1f7bf692e6b4e94d20800137bf0
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