]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm/schedule: match placement ip only combination with port
authorSage Weil <sage@newdream.net>
Thu, 11 Mar 2021 23:40:22 +0000 (18:40 -0500)
committerSage Weil <sage@newdream.net>
Fri, 19 Mar 2021 13:59:46 +0000 (08:59 -0500)
commit94220b8860f0fccfe0480e6aca6a40b1784540ad
treec00dc26b855384796e4d6a225d3b1abbc77c7d02
parentbc20155917857fbf459e72c3f0cf532c68d69123
mgr/cephadm/schedule: match placement ip only combination with port

1- We only have an IP to bind to if we also have a port, and
2- If we do, we want an exact match: if the DaemonPlacement has ip of
   None, then the DaemonDescription should have None too.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 5db8ff54864f5cb2d72108d00324e22ea3867ff5)
src/pybind/mgr/cephadm/schedule.py