Project

General

Profile

Actions

Bug #22557

closed

Dashboard on backup MGRs always redirects to /, breaking reverse proxy support

Added by Nick Erdmann over 6 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
General
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The backup MGRs always redirect to / on the active MGR. This means if the proxy hits an active MGR for /, the dashboard loads without redirect, but the proxy might try to load other resources such as images from backup MGRs, which then redirect to /. Instead of the requested image, the browser then receives a html page.

If the proxy uses a backup MGR to load $url_prefix/, it redirects to / on the active MGR, so this breaks url_prefixes too.

The change which causes this behavior appeared in 12.2.2.

I'm working on a fix: https://github.com/ceph/ceph/pull/19758


Related issues 1 (0 open1 closed)

Copied to mgr - Backport #22831: luminous: Dashboard on backup MGRs always redirects to /, breaking reverse proxy supportResolvedJohn SprayActions
Actions

Also available in: Atom PDF