Bug #41843
openDashboard proxy configuration is not working as expected
0%
Description
Hi,
I have successfully configured Ceph dashboard following the this
<https://docs.ceph.com/docs/master/mgr/dashboard> 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 Greg Farnum over 4 years ago
- Project changed from Ceph to mgr
- Category deleted (
documentation)
Updated by Lenz Grimmer over 4 years ago
- Related to Bug #41930: mgr/dashboard: Standby Dashboards don't handle all requests properly added