]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix bind address regression from CherryPy isolation 69715/head
authorAfreen Misbah <afreen@ibm.com>
Tue, 23 Jun 2026 13:30:22 +0000 (19:00 +0530)
committerAfreen Misbah <afreen@ibm.com>
Thu, 9 Jul 2026 20:20:07 +0000 (01:50 +0530)
commitbb9f7facb5bc632a13cd301bd7368dc31bb43acc
tree9e19ec7dfdfae7a1cde912271636bc2e37c07ae8
parent12eb7fc9d4e319aef3fa7ecbced2f132590feb59
mgr/dashboard: fix bind address regression from CherryPy isolation

The CherryPy isolation refactor (PR #67227) accidentally changed the
dashboard bind address from wildcard (*:8443) to mon_ip:8443. The
get_mgr_ip() replacement was originally only for URI generation, but
the refactor passed the mutated address to CherryPyMgr.mount() as the
actual socket bind address.

This breaks the management gateway when its VIP is not on the same
interface as mon_ip, as the dashboard becomes unreachable on other
interfaces.

Preserve the original wildcard address for binding and only use
get_mgr_ip() for the advertised URI. Add regression test to prevent
future confusion between bind_addr and server_addr.

Fixes: https://tracker.ceph.com/issues/77491
Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit f45a1bfc93596f17370ee38ce241ae8123d81e8e)
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/tests/test_settings.py