]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/rbd_support: delay creation of progress event 38344/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 19 Nov 2020 20:59:34 +0000 (15:59 -0500)
committerNathan Cutler <ncutler@suse.com>
Mon, 30 Nov 2020 12:14:01 +0000 (13:14 +0100)
commit9901ad2f962a810cc2f1f8a23bcbfd4336c42da0
treeacca8423f0d4a9f1abab3e83ee213421dad5229b
parenta75b7f030f08763a563b0c13f69a22bbdc04593e
pybind/mgr/rbd_support: delay creation of progress event

Create the progress module event upon receipt of the first
progress callback from the librbd API. This will help to ensure
that all prereqs have been validated for retryable errors like
scheduling an image to be removed while it still has attached
cloned children.

Fixes: https://tracker.ceph.com/issues/48296
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c0069b00e4748974d4bf5cfa1bdab68d6f043abb)
src/pybind/mgr/rbd_support/task.py