This temporary parameter make address is zero. So make cluster_addr is
equal public_addr and make cluster_network disable.
Fixes: https://tracker.ceph.com/issues/39623
Reported-by: Jiang Xu <xu.jiang@dccsh.icbc.com.cn>
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
(cherry picked from commit
1b17061bf1d047c2d1f3c6b513a5e5ab4a48f350)
// ipv4 and/or ipv6?
if (addrs->v.empty()) {
- entity_addr_t addr;
addr.set_type(entity_addr_t::TYPE_MSGR2);
if ((ipv & CEPH_PICK_ADDRESS_IPV4) &&
(flags & CEPH_PICK_ADDRESS_PREFER_IPV4)) {