]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/rbd_support: use image ids to detect duplicate tasks
authorJason Dillaman <dillaman@redhat.com>
Fri, 2 Aug 2019 15:57:29 +0000 (11:57 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 18 Aug 2019 20:50:57 +0000 (16:50 -0400)
commit3ce69405ccb4e868b05a9911e7f5885978db937e
treedf09195f8b0916d982bc66f0e18ee41645e9f8a2
parent9ccc2e91a1026041b75593a58bd1035336829f15
pybind/mgr/rbd_support: use image ids to detect duplicate tasks

This helps to to avoid the case where new tasks were not being scheduled
when an image name was re-used after having a task created under the
same name.

Fixes: https://tracker.ceph.com/issues/41032
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 7adb17f83106b2cba87cf343c23fd6d2d26ae0b3)
qa/workunits/rbd/test_rbd_tasks.sh
src/pybind/mgr/rbd_support/module.py