]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix for using '::' on hosts without ipv6
authorNoah Watkins <noahwatkins@gmail.com>
Fri, 22 Feb 2019 22:13:47 +0000 (14:13 -0800)
committerNoah Watkins <noahwatkins@gmail.com>
Fri, 1 Mar 2019 21:48:42 +0000 (13:48 -0800)
commit384d82a1bb1a3f0c2b1027968f03fe7834daad6a
treef2f2b1a6df2e599c002713afc53640192a1db745
parenta0ea40bc5cf49ed1a82e6d1f7034a147d0796d91
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.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/prometheus/module.py