]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: add option to resolve ip addr
authorTatjana Dehler <tdehler@suse.com>
Mon, 25 Jul 2022 16:04:58 +0000 (18:04 +0200)
committerTatjana Dehler <tdehler@suse.com>
Wed, 7 Sep 2022 09:18:55 +0000 (11:18 +0200)
commit2e15f0f0d2df55bf0c4bc1673a3b7a4b3862d7e2
tree4847b869d45a9f0ef7f6ab978cc7c822dfc40bca
parent279d37e64012b0896d47cf7e63a9c54a8885b1d0
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>
doc/mgr/dashboard.rst
src/pybind/mgr/dashboard/module.py