Hi there,

 

I have been trying to add a new plugin to the ceph mgr but can't seem to figure out why it is not working.
I have created a directory under /ceph/mgr/ and added the module.py file there. Afterwards I added the plugin's name to the file /usr/share/ceph-ansible/roles/ceph-mgr/defaults/main.yml under ceph_mgr_modules field. But when I run "ceph mgr module enable <plugin-name>" I get this error: Error ENOENT: module 'newplugin' reports that it cannot run on the active manager daemon:  (pass --force to force enablement).

Did anyone try this before and can share some insights.

This matter is urgent to me so I would really appreciate any help I can get.

 

Thank you