]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: add option to resolve ip addr 48220/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:14:45 +0000 (09:14 +0200)
commitaaef061a8a7b60d9271f74bce600d1388fb582b5
tree2d36aa4ff465f37330ff5e4c849d0f7f80fff11f
parentcf519f96b57c7884bdcb1d8970bc9a6428dd3b6f
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