]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/rook: persist applied drive groups and fix drive_group_loop
authorJoseph Sawaya <jsawaya@redhat.com>
Wed, 15 Sep 2021 19:59:29 +0000 (15:59 -0400)
committerSage Weil <sage@newdream.net>
Thu, 4 Nov 2021 15:49:50 +0000 (10:49 -0500)
commit4b9134c355a85075767d83ef7ec4d577c43294a1
treef4287116ffb7992c3d080b1de4c7d98d2f1c4366
parent0b81879f3c132013067f766c4fb7d5508a97d6ee
mgr/rook: persist applied drive groups and fix drive_group_loop

This commit changes OSD creation to store applied drive groups in a map
and persist that map in the mon's KV store in a map. This commit also
modifies the rook orchestrator's serve loop to periodically re-apply drive
groups, and creates a module option to specify the interval between
re-applies.

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