On Fri, Feb 16, 2018 at 8:27 AM, Ansgar Jazdzewski <a.jazdzew...@googlemail.com> wrote: > Hi Folks, > > i just try to get the prometheus plugin up and runing but as soon as i > browse /metrics i got: > > 500 Internal Server Error > The server encountered an unexpected condition which prevented it from > fulfilling the request. > > 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 386, in metrics > metrics = global_instance().collect() > File "/usr/lib/ceph/mgr/prometheus/module.py", line 323, in collect > self.get_metadata_and_osd_status() > File "/usr/lib/ceph/mgr/prometheus/module.py", line 283, in > get_metadata_and_osd_status > dev_class['class'], > KeyError: 'class'
Looks a lot like you might be trying to run a >= luminous ceph-mgr with an older Ceph cluster? What versions are you running? John > > I assume that i have to change the mkgr cephx kex? but iam not 100% sure > > mgr.mgr01 > key: AQAqLIRasocnChAAbOIEMKVEWWHCbgVeEctwng== > caps: [mds] allow * > caps: [mon] allow profile mgr > caps: [osd] allow * > > thanks for your help, > Ansgar > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com