Project

General

Profile

Actions

Bug #77491

closed
AM AM

Dashboard binds to mon_ip instead of wildcard after CherryPy isolation refactor

Bug #77491: Dashboard binds to mon_ip instead of wildcard after CherryPy isolation refactor

Added by Afreen Misbah 6 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Backend
Target version:
Due date:
% Done:

0%

Source:
Community (user)
Backport:
tentacle,umbrella
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-411-gc47da65d66
Released In:
Upkeep Timestamp:
2026-08-28T01:42:07+00:00

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).


Related issues 2 (0 open — 2 closed)

Copied to Dashboard - Backport #77662: umbrella: Dashboard binds to mon_ip instead of wildcard after CherryPy isolation refactorResolvedAfreen Misbah

Actions
Copied to Dashboard - Backport #77663: tentacle: Dashboard binds to mon_ip instead of wildcard after CherryPy isolation refactorResolvedAfreen Misbah

Actions

NA Updated by Nizamudeen A 6 months ago 1Actions #1

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 Actions #2

  • 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 Actions #3

  • Backport set to tentacle,umbrella

AM Updated by Afreen Misbah 5 months ago Actions #4

  • 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 Actions #5

  • 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 Actions #6

  • 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 Actions #7

  • 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 Actions #8

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 5 months ago Actions #9

  • 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 Actions #10

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-07-12T01:22:12+00:00 to 2026-08-28T01:42:07+00:00
Actions

Also available in: PDF Atom