]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: add option to resolve ip addr 48219/head
authorTatjana Dehler <tdehler@suse.com>
Mon, 25 Jul 2022 16:04:58 +0000 (18:04 +0200)
committerTatjana Dehler <tdehler@suse.com>
Fri, 23 Sep 2022 07:10:53 +0000 (09:10 +0200)
commit3faebf7310cc11ec7888d6c4f44e8e696f717bbf
tree260040f2b6a03cd1a76baf134d73b9401d8ecd26
parent01afcbaeded8804ab5e6875e5eba54f12df6f121
mgr/dashboard: add option to resolve ip addr

Add the option `redirect_resolve_ip_addr` to the dashboard module.
If the option is set to `True`, try to resolve the IP address before
redirecting from the passive to the active mgr instance.
If the option is set to `False`, follow the already known behavior.

Fixes: https://tracker.ceph.com/issues/56699
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
(cherry picked from commit 2e15f0f0d2df55bf0c4bc1673a3b7a4b3862d7e2)
doc/mgr/dashboard.rst
src/pybind/mgr/dashboard/module.py