]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: introduce dashboard setting to resolve rgw hostname
authorNizamudeen A <nia@redhat.com>
Tue, 1 Apr 2025 07:18:23 +0000 (12:48 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 2 Apr 2025 08:04:52 +0000 (13:34 +0530)
commit0c50c0754e6c329a9733d6f35b183c087b34bf04
treef6b07a1498b67743509b82bc7adbe6204e6e01e9
parentd3f7b54d497c809265d9c90278f649ae28d28f66
mgr/dashboard: introduce dashboard setting to resolve rgw hostname

drops using the `rgw_dns_name` to resolve the rgw hosts in dashboard and
introduces a command `ceph dashboard set-rgw-hostname <daemon>
<hostname>` to set custom dns names for each gateways. Once set
dashboard will pick up that address for the selected gateway.

And a config can be unset by

`ceph dashboard unset-rgw-hostname <daemon>`

Fixes: https://tracker.ceph.com/issues/70744
Signed-off-by: Nizamudeen A <nia@redhat.com>
doc/mgr/dashboard.rst
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/services/rgw_client.py
src/pybind/mgr/dashboard/services/service.py
src/pybind/mgr/dashboard/settings.py
src/pybind/mgr/dashboard/tests/test_rgw_client.py