]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: tolerate failure to update daemon caps
authorSage Weil <sage@newdream.net>
Mon, 15 Mar 2021 16:55:36 +0000 (11:55 -0500)
committerSage Weil <sage@newdream.net>
Mon, 15 Mar 2021 16:55:36 +0000 (11:55 -0500)
commit8ceea1961f818dc2d07edf9c256ebe5150b6b133
tree130047dbe6203dc8565413b1f12d8c9879a415b8
parent6127d7f20bc8a6ad02d8ea144584eaf2bfc9590e
mgr/cephadm: tolerate failure to update daemon caps

If we're upgrading from 15.2.0, we may fail to update caps.  Instead of
failing the upgrade hard, warn to the log and continue.  This is less
than ideal, but the caps will get corrected the next time the daemon is
redeployed on the next upgrade, and most likely the previous caps will
continue to work (given they were presumably working before the upgrade).

Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/tests/test_services.py