Re: New Ceph Plugin - assistance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9-1-2020 09:01, Juan Miguel Olmo Martinez wrote:
Hi,

Depending of the Ceph version you can have the files in different places, but in any case is easy to search the file "module.py" in any of your manager hosts, the results will show you the location of the manager plugins.
In Nautilus  they are in  "/usr/share/ceph/mgr/"

You can see the active manager using the command "ceph -s"

A good source of information to see what is happening is the manager log file (in var/log/ceph) in the manager host,

You can change the log level to debug using:
ceph daemon <your-mgr> config set debug_mgr 20/5
restore the log level:
ceph daemon <your-mgr> config set debug_mgr 1/5

I had a lot of trouble getting plugins to work, since they needed
py-libs that I did not (yet) have.
Python tracebacks are logged in the ceph-mgr log file.
And there is was usually quite fast clear what the problem was.

Big chance that ceph-mgr is not loading you plugin due to loading errors but the traceback in the log should give you more info.

--WjW
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx




[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux