Bug identified: Dashboard proxy configuration is not working as expected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Regards
Thomas
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux