]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: only try to place mons on hosts matching public_network
authorSage Weil <sage@redhat.com>
Fri, 13 Mar 2020 14:11:31 +0000 (09:11 -0500)
committerSage Weil <sage@redhat.com>
Mon, 16 Mar 2020 19:38:22 +0000 (14:38 -0500)
commit8edd5d89849187755bd83fa94c3429d46eb01519
treedff1d6a1b5772c0086a21d54771b055e4a075b72
parent87b58989ef669bf16d0e30d0a2cb6c7c2813ce2b
mgr/cephadm: only try to place mons on hosts matching public_network

Only try to schedule new mons on hosts that match the configured
public_network, if any.  If we do not have one configured, then don't
try to place new mons at all.

Note that there are other restrictions that ceph-mon supports that we
aren't considering, here: public_network_interface in particular, which
might further limit which IPs we consider binding to.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py