]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/rook: OSD creation using Creator classes
authorJoseph Sawaya <jsawaya@redhat.com>
Mon, 19 Jul 2021 13:37:58 +0000 (09:37 -0400)
committerJoseph Sawaya <jsawaya@redhat.com>
Tue, 17 Aug 2021 14:50:27 +0000 (10:50 -0400)
commitc1dbce81c0cf2ec2d44b94007208a4930d6329c5
tree465bceb4e29d20d8c53b98712c96e8c894902c2e
parent90bba5cf5592a02fb0c9deb4e70603dfc31a3a63
mgr/rook: OSD creation using Creator classes

This commit implements the apply_drivegroups method in the
RookOrchestrator class and creates the DefaultCreator and
LSOCreator classes that handle creating OSDs. The add_osds
method in RookCluster will use each creator based on what
storage class the user provided in the ceph config.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
src/pybind/mgr/rook/module.py
src/pybind/mgr/rook/rook_cluster.py