Project

General

Profile

Actions

Bug #41843

open

Dashboard proxy configuration is not working as expected

Added by Thomas Schneider over 4 years ago. Updated over 4 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Greg Farnum over 4 years ago

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

Updated by Lenz Grimmer over 4 years ago

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

Also available in: Atom PDF