]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix for using '::' on hosts without ipv6 26751/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:40:37 +0000 (11:40 -0800)
commit4c4bf59249753655189904ab6fb67b9f276b3607
tree31a517ae8c66f9cf180b71a629c1489482785038
parent866f744579f54d848ff0b52ab78d060253843583
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/38576

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
(cherry picked from commit 384d82a1bb1a3f0c2b1027968f03fe7834daad6a)

Conflicts:
src/pybind/mgr/dashboard/module.py

Contextual conflict as >luminous had nearby SSL code that was never
backported.
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/prometheus/module.py