]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/rbd_support: delay creation of progress event 38833/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 19 Nov 2020 20:59:34 +0000 (15:59 -0500)
committerNathan Cutler <ncutler@suse.com>
Sat, 9 Jan 2021 08:53:59 +0000 (09:53 +0100)
commit6e28df442ca876ba99957eb564da57b78edcf281
tree05507811725eab0c5a1513d097025bab7d34b56b
parent58fa432ec53959d991f37d030d7b0372fb7006e7
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)

Conflicts:
        src/pybind/mgr/rbd_support/task.py
- file does not exist in nautilus: applied the changes manually
src/pybind/mgr/rbd_support/module.py