]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/rbd_support: check pool is rbd when validating level spec name
authorMykola Golub <mgolub@suse.com>
Mon, 24 Feb 2020 15:06:23 +0000 (15:06 +0000)
committerMykola Golub <mgolub@suse.com>
Tue, 25 Feb 2020 09:52:22 +0000 (09:52 +0000)
commit5f1703902ef5db4c5bdc3860e2b9d76dac8d4ad7
treeadf559f4780fd9a7fd6dce98595cfb56fe687f1c
parentd68d41c366044869050e5eaa2911ccefec0d482c
mgr/rbd_support: check pool is rbd when validating level spec name

Otherwise we could successfully add a schedule for a non-rbd
pool, which would become invisible on the next refresh, because
on refresh we loads only rbd pools.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/pybind/mgr/rbd_support/schedule.py