]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: fix heartbeat front and back blank ip 44242/head
authorchunmei-liu <chunmei.liu@intel.com>
Tue, 7 Dec 2021 23:31:24 +0000 (15:31 -0800)
committerchunmei-liu <chunmei.liu@intel.com>
Wed, 8 Dec 2021 00:57:54 +0000 (16:57 -0800)
commitce1ca97f840b1997575c5a910d41019a40b06d71
treecda6fcbcacd63bcb262358012296a1b213742c86
parent3304a82bfd6d0e19b19c26ae655a433718211466
crimson/osd: fix heartbeat front and back blank ip

when ceph.conf not set public ip & cluster ip, heartbeat will get blank ip address. when osd::_send_boot , classic osd will check if heartbeat front and back addrs are blank ip, if they are blank ip, will use public ip which is learned from mon to set into them. So implement them in crimson osd.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
src/crimson/net/Messenger.h
src/crimson/net/SocketMessenger.cc
src/crimson/net/SocketMessenger.h
src/crimson/osd/heartbeat.cc
src/crimson/osd/heartbeat.h
src/crimson/osd/osd.cc