From 824122d7bb7db15519593af3b2f0208ad8c503d2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 17 May 2012 17:49:00 -0700 Subject: [PATCH] mon: all starting with empty monmap It's okay to start up with an empty monmap. It just means that you must: * set 'mon initial members' * feed hints via the admin socket, or learn hints from other mons probing us Signed-off-by: Sage Weil --- src/ceph_mon.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ceph_mon.cc b/src/ceph_mon.cc index 00cb94383e45d..267afd5bb8f79 100644 --- a/src/ceph_mon.cc +++ b/src/ceph_mon.cc @@ -132,9 +132,7 @@ int main(int argc, const char **argv) } else { int err = MonClient::build_initial_monmap(g_ceph_context, monmap); if (err < 0) { - cerr << argv[0] << ": error generating initial monmap: " << cpp_strerror(err) << std::endl; - usage(); - exit(1); + cerr << argv[0] << ": warning: no initial monitors; must set 'mon initial members' and use admin socket to feed hints" << std::endl; } // am i part of the initial quorum? -- 2.39.5