]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/rook: have it create bluestore OSDs in data_directories 26570/head
authorJeff Layton <jlayton@redhat.com>
Thu, 21 Feb 2019 22:18:25 +0000 (17:18 -0500)
committerJeff Layton <jlayton@redhat.com>
Mon, 25 Feb 2019 18:18:38 +0000 (13:18 -0500)
commitfc761fb302122894b4fc170bfbf45295feec7b8d
tree384a9802b6f1c12a536ee4a1e666b525db2ad6ca
parent1d8f95a27f82f4a93aea5c2e09278306ae5e77c8
mgr/rook: have it create bluestore OSDs in data_directories

When the data_directories field is populated, use that to populate the
spec.storage.nodes.<host>.directories field in the CephCluster object.
That will cue the rook operator to create an OSD in using an area under
that directory for storage.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/pybind/mgr/orchestrator.py
src/pybind/mgr/rook/module.py
src/pybind/mgr/rook/rook_cluster.py