Actions
Bug #41797
closedmgr/dashboard: Configuring an URL prefix does not work as expected
Status:
Resolved
Priority:
Normal
Assignee:
Category:
General - Back-end
Target version:
% Done:
0%
Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
This was reported by Thomas on the ceph-users mailing list:
I have successfully configured Ceph dashboard following the this documentation.
According to the documentation you can configure a URL prefix with this command:
ceph config set mgr mgr/dashboard/url_prefix $PREFIX
However when I try to access the dashboard with this URL http://$IP:$PORT/$PREFIX/ I get an error:
{"status": "404 Not Found", "version": "8.9.1", "detail": "The path '/dashboard' was not found.", "traceback": "Traceback (most recent call last):\n File \"/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py\", line 670, in respond\n response.body = self.handler()\n File \"/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py\", line 220, in __call__\n self.body = self.oldhandler(*args, **kwargs)\n File \"/usr/lib/python2.7/dist-packages/cherrypy/_cperror.py\", line 415, in __call__\n raise self\nNotFound: (404, \"The path '/dashboard' was not found.\")\n"}
A workaround for this error is to use this URL: http://$IP:$PORT/#/$PREFIX/
Using the # ensures that redirect to active MGR service is working.
Updated by Volker Theile over 4 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 30599
Updated by Lenz Grimmer over 4 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #42150: nautilus: mgr/dashboard: Configuring an URL prefix does not work as expected added
Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 146 to General - Back-end
Actions