Bug #77491
closedDashboard binds to mon_ip instead of wildcard after CherryPy isolation refactor
0%
Description
After PR #67227 (mgr: isolated CherryPy to prevent global state sharing), the dashboard bind address changed from *:8443 (wildcard) to $mon_ip:8443.
Previously, _configure() set server.socket_host to the wildcard address (:: or 0.0.0.0) in the CherryPy global config, and only replaced it with get_mgr_ip() for the published URI. After the refactor, _configure() returns bind_addr as a tuple that is passed directly to CherryPyMgr.mount() -> WSGIServer(bind_addr=...), but the get_mgr_ip() replacement now affects the actual bind address, not just the URI.
This breaks the management gateway when its VIP is not on the same interface as mon_ip, because the dashboard is no longer reachable on all interfaces — only on the monitor IP.
Affected branches: main, tentacle (will ship in 20.2.2). squid and reef are not affected.
Root cause: commit 1384ae37c70 (main) / a2f8e8dac57 (tentacle).
NA Updated by Nizamudeen A 6 months ago
for people who are affected by this if you were to set the
ceph config set mgr mgr/dashboard/server_addr <vip_addr>
and restart the module, hopefully the issue will go away..
ID Updated by Ilya Dryomov 6 months ago
- Status changed from New to Fix Under Review
- Regression changed from No to Yes
- Pull request ID set to 69574
ID Updated by Ilya Dryomov 6 months ago
- Backport set to tentacle,umbrella
AM Updated by Afreen Misbah 5 months ago
- Category set to Backend
- Status changed from Fix Under Review to Pending Backport
- Target version set to v22.0.0
- Source set to Community (user)
UB Updated by Upkeep Bot 5 months ago
- Merge Commit set to c47da65d661768475517e12e95a5a8042541ac77
- Fixed In set to v21.3.0-411-gc47da65d66
- Upkeep Timestamp set to 2026-06-24T15:46:13+00:00
UB Updated by Upkeep Bot 5 months ago
- Copied to Backport #77662: umbrella: Dashboard binds to mon_ip instead of wildcard after CherryPy isolation refactor added
UB Updated by Upkeep Bot 5 months ago
- Copied to Backport #77663: tentacle: Dashboard binds to mon_ip instead of wildcard after CherryPy isolation refactor added
UB Updated by Upkeep Bot 5 months ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot 5 months ago
- Status changed from Pending Backport to Resolved
- Upkeep Timestamp changed from 2026-06-24T15:46:13+00:00 to 2026-07-12T01:22:12+00:00
UB Updated by Upkeep Bot 3 months ago
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-07-12T01:22:12+00:00 to 2026-08-28T01:42:07+00:00