]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: execute modules even if can_run=false
authorJohn Spray <john.spray@redhat.com>
Mon, 23 Apr 2018 21:09:37 +0000 (17:09 -0400)
committerJohn Spray <john.spray@redhat.com>
Mon, 23 Apr 2018 21:30:41 +0000 (17:30 -0400)
commitcf5ef59bcc435371c9f1a8ccc784792a9388a5fe
treec169c21b34e161d83b48662404c0a494e39c4cb0
parent60e3a2404fb29cd32d1f7774fb5547b20faaa8cf
mgr: execute modules even if can_run=false

We execute modules even if can_run=false, so that it is possible
to load them for running their selftest hooks.  However,
we already raise health messages about the fact that they're
enabled but can't run, so we don't want to also raise
health messages about whatever exceptions they raise
from serve()

Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/PyModuleRegistry.cc