Actions
Bug #22557
closedDashboard on backup MGRs always redirects to /, breaking reverse proxy support
% 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
Updated by John Spray over 6 years ago
- Category changed from ceph-mgr to 132
- Status changed from New to Fix Under Review
Updated by Kefu Chai about 6 years ago
- Status changed from Fix Under Review to Resolved
Updated by John Spray about 6 years ago
- Status changed from Resolved to Pending Backport
- Backport set to luminous
Updated by John Spray about 6 years ago
- Copied to Backport #22831: luminous: Dashboard on backup MGRs always redirects to /, breaking reverse proxy support added
Updated by John Spray about 6 years ago
- Status changed from Pending Backport to Resolved
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 132 to General
Actions