]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: deduplicate HAProxy_Hosts in NFS ganesha.conf 70079/head
authorShweta Bhosale <Shweta.Bhosale1@ibm.com>
Thu, 9 Jul 2026 13:29:44 +0000 (18:59 +0530)
committerShweta Bhosale <Shweta.Bhosale1@ibm.com>
Mon, 13 Jul 2026 10:12:13 +0000 (15:42 +0530)
commite1d196472d280d7488793fe8cac8f0eeaf8e68d0
treed335593b561580737697de81a5cd3015c8cd9bbc
parent84881e99f0756fbd6f69ef604ce6ecf5ef660d6c
mgr/cephadm: deduplicate HAProxy_Hosts in NFS ganesha.conf

When enable_haproxy_protocol is set, _haproxy_hosts() can collect the
same address more than once. Store collected IPs in a set and return a
list so HAProxy_Hosts contains only unique entries.

Fixes: https://tracker.ceph.com/issues/78094
Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
src/pybind/mgr/cephadm/services/nfs.py
src/pybind/mgr/cephadm/tests/services/test_ingress.py