]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix for using '::' on hosts without ipv6 26750/head
authorNoah Watkins <noahwatkins@gmail.com>
Fri, 22 Feb 2019 22:13:47 +0000 (14:13 -0800)
committerNoah Watkins <noahwatkins@gmail.com>
Mon, 4 Mar 2019 19:37:20 +0000 (11:37 -0800)
commit7142ab4a20f194f0c24e1159147f2bbadb9ab97a
tree811049006d70acf90b87ac955620e5054f237e56
parentc605b54426d432f903c1c5600c07180edb10f26f
mgr/dashboard: fix for using '::' on hosts without ipv6

CherryPy throws an uncaught exception using '::' when the host does not
have an ipv6 loopback address. This is currently the case in kubernetes.
This patch disables the routine in cherrypy that performs the validation
that requested server ports are actually bound.

fixes: http://tracker.ceph.com/issues/38575

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
(cherry picked from commit 384d82a1bb1a3f0c2b1027968f03fe7834daad6a)
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/prometheus/module.py