]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MonMap: fix unconditional failure for init_with_hosts
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 22 Oct 2020 17:08:26 +0000 (10:08 -0700)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2020 19:08:39 +0000 (20:08 +0100)
commit44f18394304b97023da7d45482b86f491002b00c
treef792dbdb43be3bd3966179ccd894c1a25f2df651
parentd2e95ee17cf7b3f689c7a52dc53b64f55f43797d
mon/MonMap: fix unconditional failure for init_with_hosts

This bug prevents setting mon_host to a DNS name.

Fixes: https://tracker.ceph.com/issues/47951
Fixes: 7a1f02acfe6b5d8a760efd16bb594a0656b39eac
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 21d9f8333b8c76979bbe90d60a8ad6ebb5e36c76)
src/mon/MonMap.cc
src/mon/MonMap.h