From 6cc0338ed15a0402471cfd05acfcf00d07517d1a Mon Sep 17 00:00:00 2001 From: wujian Date: Fri, 15 Sep 2017 11:23:44 +0800 Subject: [PATCH] ceph-mgr: can not change prometheus port for mgr Signed-off-by: wujian --- src/pybind/mgr/prometheus/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/prometheus/module.py b/src/pybind/mgr/prometheus/module.py index f98f1f7e673..8a0b59374b6 100644 --- a/src/pybind/mgr/prometheus/module.py +++ b/src/pybind/mgr/prometheus/module.py @@ -243,7 +243,7 @@ class Module(MgrModule): cherrypy.config.update({ 'server.socket_host': server_addr, - 'server.socket_port': server_port, + 'server.socket_port': int(server_port), 'engine.autoreload.on': False }) cherrypy.tree.mount(Root(), "/") -- 2.47.3