prometheus has failed - no socket could be created

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

 



Hi,

I am trying to enable prometheus on Mimic so I can use it with cephmetrics 

But it fails with the following error 
Any help troubleshooting this will be very appreciated 

"..
Module 'prometheus' has failed: error('No socket could be created',)
.."

here is some info ( all commons ran on MON where the MGR is also installled)

ceph config set mgr/prometheus/server_addr 0.0.0.0
ceph mgr module enable dashboard

 ceph mgr module ls
{
    "enabled_modules": [
        "balancer",
        "dashboard",
        "iostat",
        "prometheus",
        "restful",
        "status"

ceph prometheus self-test
Self-test OK



excerpt from ceph-mgr-mon01.log
 (Please note that dashboard plugin works fine with self-certificate after I ran 
 ceph dashboard create-self-signed-cert )


2018-08-22 12:03:29.014 7fda65877700  1 mgr[restful] server not running: no certificate configured
2018-08-22 12:03:29.129 7fda66078700 -1 log_channel(cluster) log [ERR] : Unhandled exception from module 'prometheus' while running on mgr.mon01: error('No socket could be created',)
2018-08-22 12:03:29.129 7fda66078700 -1 prometheus.serve:
2018-08-22 12:03:29.129 7fda66078700 -1 Traceback (most recent call last):
  File "/usr/lib64/ceph/mgr/prometheus/module.py", line 720, in serve
    cherrypy.engine.start()
  File "/usr/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 250, in start
    raise e_info
ChannelFailures: error('No socket could be created',)


_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux