]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: fix wait for monmap+config is non-cephx case 24202/head
authorSage Weil <sage@redhat.com>
Thu, 20 Sep 2018 16:52:27 +0000 (11:52 -0500)
committerSage Weil <sage@redhat.com>
Thu, 20 Sep 2018 16:52:27 +0000 (11:52 -0500)
commitf35e10f4849440f0583d021e23a83563dd3b1607
tree305a39ec4d3065e3ea542240cbd3c98ea5e34010
parent1bf449cdbadad5993f236b8b5a4e089143bfad29
mon/MonClient: fix wait for monmap+config is non-cephx case

In the auth_none case, we were exiting the get_monmap_and_config() loop
early, before we got a monmap, because the default constructed monmap
did not have the mimic feature.  Make sure we wait for both the monmap
and config.

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