]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: discovery service (port 8765) fails on ipv6 only clusters 56093/head
authorTheofilos Mouratidis <theofilos.mouratidis@switch.ch>
Wed, 1 Nov 2023 09:55:37 +0000 (10:55 +0100)
committerAdam King <adking@redhat.com>
Sun, 10 Mar 2024 19:57:31 +0000 (15:57 -0400)
commit2c5470442041e39de743c9fb407dc4724d398c14
tree5978bbbadf7e273174807cdf9f54b53f0f596dd5
parentc2ea977b6956d1f694ccf66acc692fdd979e3baa
mgr/dashboard: discovery service (port 8765) fails on ipv6 only clusters

Having ms_bind_ipv4=false and ipv6=true the code that the Ceph dashboard runs
for the discovery service (port 8765) fails, because it requests the address
of the mgr container which returns ipv6 and the mgr code expects ipv4 address

Fixes: https://tracker.ceph.com/issues/63388
Signed-off-by: Theofilos Mouratidis <mtheofilos@gmail.com>
(cherry picked from commit 647b5d67a8a800091acea68d20e87354373b0fac)
src/pybind/mgr/cephadm/ssl_cert_utils.py
src/pybind/mgr/mgr_util.py