Benjeman Meekhof wrote on 12/02/18 23:50:
In our case I think we grabbed the SRPM from Fedora and rebuilt it on
Scientific Linux (another RHEL derivative).
I've just done the same: rebuild from fc28 srpm (some spec-file tunning was required to build it on centos 7).

 Presumably the binary
didn't work or I would have installed it directly.  I'm not quite sure
why it hasn't migrated to EPEL yet.
I guess one of the reason can be

I haven't tried the SRPM for latest releases, we're actually quite far
behind the current python-influx version since I built it a while back
but if I were you I'd grab whatever SRPM gets you the latest
python-influxdb release and give it a try.
the mentioned in my initial email error disappeared
Ben, thanks for sharing your experience and the rest of info!


On Mon, Feb 12, 2018 at 11:03 AM,  <> wrote:
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

So following 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
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 packages for x86_64
Ceph noarch packages
base/7/x86_64 CentOS-7 - Base
Ceph source packages
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
ceph-users mailing list
ceph-users mailing list

Reply via email to