Re: Ceph-mgr Python error with prometheus plugin

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

 



All I got with script replacement is the following:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/ceph/mgr/prometheus/module.py", line 409, in metrics
    if global_instance().have_mon_connection():
AttributeError: 'Module' object has no attribute 'have_mon_connection'

I'm not familiar with Python, so any advise is much appreciated.

On Friday, February 16, 2018 at 12:10, Konstantin Shalygin wrote:

i just try to get the prometheus plugin up and runing


Use module from master.

From this commit should work with 12.2.2, just wget it and replace
stock module.





k

_______________________________________________
ceph-users mailing list

_______________________________________________
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