]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/cephfs: don't bind to public_addr 40762/head
authorYan, Zheng <zyan@redhat.com>
Thu, 7 May 2020 08:44:14 +0000 (16:44 +0800)
committerNathan Cutler <ncutler@suse.com>
Sat, 10 Apr 2021 20:54:11 +0000 (22:54 +0200)
commit8f7dbdaf841e7005bcd9d9fa61d066cfe7c509e7
tree87e352802254da789c608ebc7801273ff67ab628
parent1976598f645ad1935a5e428219713b8856796d83
tools/cephfs: don't bind to public_addr

In some setup, binding to public_addr causes error:
 NetHandler create_socket couldn't create socket (97) Address family not supported by protocol

Fixes: https://tracker.ceph.com/issues/41034
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 6d2d51499838dc5f34376c6605ec246db3547ceb)

Conflicts:
src/ceph_syn.cc
src/tools/cephfs/MDSUtility.cc
- octopus does not have poolctx
src/ceph_syn.cc
src/tools/cephfs/MDSUtility.cc