]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
SSL-enabled dashboard does not play nicely with a frontend HAproxy. To fix that issue... 29088/head
authorVolker Theile <vtheile@suse.com>
Tue, 16 Jul 2019 13:44:36 +0000 (15:44 +0200)
committerVolker Theile <vtheile@suse.com>
Wed, 24 Jul 2019 06:59:02 +0000 (08:59 +0200)
commit5bb986995af50b1049d8631d9cecddfc4cd941f2
tree7841da99bcdcb843b7de3b124915125ca4612754
parentaf6c4877582c73de0948082da4194360126ec0fa
SSL-enabled dashboard does not play nicely with a frontend HAproxy. To fix that issue there are two new configuration options:

1. Disable redirection on standby managers. A HTTP error (500) will be returned instead of a redirection.
   $ ceph config set mgr mgr/dashboard/standby_behaviour "error"

2. Configure the HTTP error status code.
   $ ceph config set mgr mgr/dashboard/standby_error_status_code 503

Signed-off-by: Volker Theile <vtheile@suse.com>
doc/mgr/dashboard.rst
qa/tasks/mgr/test_dashboard.py
src/pybind/mgr/dashboard/module.py