]> 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>
Tue, 16 Mar 2021 17:07:01 +0000 (13:07 -0400)
commit5db8ff54864f5cb2d72108d00324e22ea3867ff5
tree3a0d3e04c485a3758db67d7a1bc2a5065b189062
parent0d3df9b9599b6294f204ae84913a36061e78fb76
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>
src/pybind/mgr/cephadm/schedule.py