]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/rbd_support: delay creation of progress event 38196/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 19 Nov 2020 20:59:34 +0000 (15:59 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 19 Nov 2020 21:09:22 +0000 (16:09 -0500)
commitc0069b00e4748974d4bf5cfa1bdab68d6f043abb
treeda076fdfe9d599dba49d29d6995d26298e46f7d4
parent66ddfee8590769935f260becee5e8fc070bce66d
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>
src/pybind/mgr/rbd_support/task.py