From f155851e5fb61161397b31210fda923129e566ab Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Wed, 10 Oct 2018 16:06:55 -0700 Subject: [PATCH] mon: consider AUTH_NONE clients which "authenticate" to be finished We check for AUTH_NONE success by examining the side effect of the caps being filled in with allow_all, and we need that to be "finished" for purposes of replying with a monmap as well. Fixes: http://tracker.ceph.com/issues/36300 Signed-off-by: Greg Farnum --- src/mon/AuthMonitor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mon/AuthMonitor.cc b/src/mon/AuthMonitor.cc index 4bbcf0c4a07..80b5857948e 100644 --- a/src/mon/AuthMonitor.cc +++ b/src/mon/AuthMonitor.cc @@ -644,6 +644,7 @@ bool AuthMonitor::prep_auth(MonOpRequestRef op, bool paxos_writable) if (caps_info.allow_all) { s->caps.set_allow_all(); s->authenticated = true; + finished = true; } } else { // request -- 2.39.5