]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm/upgrade: do not crash if error races with user cancellation
authorSage Weil <sage@newdream.net>
Mon, 22 Mar 2021 22:40:25 +0000 (18:40 -0400)
committerSage Weil <sage@newdream.net>
Wed, 24 Mar 2021 03:01:30 +0000 (22:01 -0500)
commitc1aa5f370073407eff867adc3beab10901ad6f8e
tree1ac0e7cab82eaef58b153cf03624e0ea90feb3a0
parent23b998ebabd313a2d5d6544a1e14cace5b2343c9
mgr/cephadm/upgrade: do not crash if error races with user cancellation

If the user cancels the upgrade just before the upgrade thread runs into
a problem (and these things may be correlated!), ignore the failure
instead of crashing the module.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 2580de1a5db476b01093a269056d2f5bd0cc3d75)
src/pybind/mgr/cephadm/upgrade.py