Project

General

Profile

Bug #41843

Dashboard proxy configuration is not working as expected

Added by Thomas Schneider over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

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.


Related issues

Related to Dashboard - Bug #41930: mgr/dashboard: Standby Dashboards don't handle all requests properly Resolved

History

#1 Updated by Greg Farnum over 3 years ago

  • Project changed from Ceph to mgr
  • Category deleted (documentation)

#2 Updated by Lenz Grimmer over 3 years ago

  • Related to Bug #41930: mgr/dashboard: Standby Dashboards don't handle all requests properly added

Also available in: Atom PDF