mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
mgr: skip past broken modules and load the rest
...instead of stopping at the first python module that fails to load. Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
8db0137dc3
commit
fc3090fcdd
@ -330,8 +330,7 @@ int PyModules::init()
|
||||
derr << "Error loading module '" << *module_name << "': "
|
||||
<< cpp_strerror(r) << dendl;
|
||||
derr << handle_pyerror() << dendl;
|
||||
|
||||
return r;
|
||||
// Don't drop out here, load the other modules
|
||||
} else {
|
||||
// Success!
|
||||
modules[*module_name] = mod;
|
||||
|
Loading…
Reference in New Issue
Block a user