mgr[influx] Cannot transmit statistics: influxdb python module not found.

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

 



Dear all,

I'd like to store ceph luminous metrics into influxdb. It seems like influx plugin has been already backported for lumious:
rpm -ql ceph-mgr-12.2.2-0.el7.x86_64|grep -i influx
/usr/lib64/ceph/mgr/influx
/usr/lib64/ceph/mgr/influx/__init__.py
/usr/lib64/ceph/mgr/influx/__init__.pyc
/usr/lib64/ceph/mgr/influx/__init__.pyo
/usr/lib64/ceph/mgr/influx/module.py
/usr/lib64/ceph/mgr/influx/module.pyc
/usr/lib64/ceph/mgr/influx/module.pyo

So following http://docs.ceph.com/docs/master/mgr/influx/ doc I enabled influx plugin by executing the following command on mgr node:
ceph mgr module enable influx

but in ceph log I see the following error:
2018-02-12 15:51:31.241854 7f95e7942600 0 ceph version 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable), process (unknown), pid 96425
[....]
2018-02-12 15:51:31.422414 7f95dec29700  1 mgr init Loading python module 'influx'
[....]
2018-02-12 15:51:32.227206 7f95c36ec700  1 mgr load Constructed class from module: influx
[....]
2018-02-12 15:51:32.228163 7f95c0ee7700 0 mgr[influx] Cannot transmit statistics: influxdb python module not found. Did you install it?

Indeed there is no python-influxdb module install on my mgr node (CentOS 7 x64) but yum search can't find it with the following repos enabled: repo id repo name status Ceph/x86_64 Ceph packages for x86_64 Ceph-noarch Ceph noarch packages base/7/x86_64 CentOS-7 - Base ceph-source Ceph source packages epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 extras/7/x86_64 CentOS-7 - Extras updates/7/x86_64 CentOS-7 - Updates

Python version is 2.7.5.

Is 'pip install' the only way to go or there is still some option to have required python module via rpm? I wonder how other people deals with that issue?
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux