]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-mon: bind to public_addrv if set (before public_addr or public_network) 31501/head
authorSage Weil <sage@redhat.com>
Fri, 8 Nov 2019 22:35:28 +0000 (16:35 -0600)
committerSage Weil <sage@redhat.com>
Sat, 9 Nov 2019 21:41:21 +0000 (15:41 -0600)
commit938c52839578f864a286b1e0496fa22dbfc9ab7d
treec0f16113bb43a7d91c63a930e536513ce54a9a44
parent4ef7c2504bfb824e13241d7491884dbf4721ec61
ceph-mon: bind to public_addrv if set (before public_addr or public_network)

This lets you specify a precise addrvec for the monitor to bind to,
instead of inferring a v1 or v2 address from the port number, or assuming
both with default ports, or v2 only with an unrecognized port.

I unfortunately don't quite remember why I didn't make public_addr a
ADDRVEC option way back in nautilus--I only remmeber that it was going to
cause problems.  Adding a separate addrv option here is safe.

Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph_mon.cc