]> 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 40324/head
authorSage Weil <sage@newdream.net>
Mon, 22 Mar 2021 22:40:25 +0000 (18:40 -0400)
committerSage Weil <sage@newdream.net>
Mon, 22 Mar 2021 22:40:25 +0000 (18:40 -0400)
commit2580de1a5db476b01093a269056d2f5bd0cc3d75
treea1e385812cdc8b1f30164cb16cec9f45bfeaf6fa
parentccbf40317fc78d04a521ac83397bfd139d2bf9d8
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>
src/pybind/mgr/cephadm/upgrade.py