]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: fix crash on set_config from python module with insufficient caps
authorTim Serong <tserong@suse.com>
Fri, 21 Apr 2017 06:04:05 +0000 (16:04 +1000)
committerTim Serong <tserong@suse.com>
Mon, 24 Apr 2017 10:15:02 +0000 (20:15 +1000)
commit1dc66c4aebbf7581fcc508af5e1820768553272d
treec7ed1aaad7fdff3c72ef18f5f980be0b68bd0fd9
parent9d5fa6129db20572854f692a6c4d129ce42d4dd6
mgr: fix crash on set_config from python module with insufficient caps

If config-key put fails, we now log the failure rather than asserting that
it must always succeed.

Fixes: http://tracker.ceph.com/issues/19629
Signed-off-by: Tim Serong <tserong@suse.com>
src/mgr/PyModules.cc