]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/cephadm: fix issue with multiple nfs clusters on the same port 61570/head
authorOmid Yoosefi <omidyoosefi@ibm.com>
Wed, 29 Jan 2025 16:33:49 +0000 (11:33 -0500)
committerOmid Yoosefi <omidyoosefi@ibm.com>
Wed, 5 Feb 2025 16:40:32 +0000 (11:40 -0500)
commitb9d1e96fba143f31c79844fcb99d976cb66f3f46
treeca1aaf911b8c21ac954aff0539f4ec966901e774
parent470fb042b4fcb1e279093a61c6878cef3385ab45
pybind/mgr/cephadm: fix issue with multiple nfs clusters on the same port

Currently even if ingress and virtual_ip are used, the port_in_use
check in cephadm fails when the same port is used. This PR fixes
the issue by ensuring that the daemon spec includes the virtual
ip address for the endpoint to be checked is included so it
doesn't default to checking `0.0.0.0:port` only.

Fixes: https://tracker.ceph.com/issues/69744
Signed-off-by: Omid Yoosefi <omidyoosefi@ibm.com>
src/pybind/mgr/cephadm/services/nfs.py