Project

General

Profile

Bug #22557

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

Added by Nick Erdmann about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/general
Target version:
-
Start date:
01/03/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

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

History

#1 Updated by John Spray about 1 year ago

  • Category changed from ceph-mgr to dashboard/general
  • Status changed from New to Need Review

#2 Updated by Kefu Chai about 1 year ago

  • Status changed from Need Review to Resolved

#3 Updated by Kefu Chai about 1 year ago

  • Assignee set to Nick Erdmann

#4 Updated by John Spray about 1 year ago

  • Status changed from Resolved to Pending Backport
  • Backport set to luminous

#5 Updated by John Spray about 1 year ago

  • Copied to Backport #22831: luminous: Dashboard on backup MGRs always redirects to /, breaking reverse proxy support added

#6 Updated by John Spray about 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF