]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/MonClient.cc
update ceph source to reef 18.2.0
[ceph.git] / ceph / src / mon / MonClient.cc
index 39fbf44883c4777325c37e8f98ffde856e9f3f6e..45550a5ca77d72a4e8f5fc09e365c3fdc76b37c6 100644 (file)
@@ -709,6 +709,11 @@ void MonClient::_finish_auth(int auth_err)
   if (!auth_err && active_con) {
     ceph_assert(auth);
     _check_auth_tickets();
+  } else if (auth_err == -EAGAIN && !active_con) {
+    ldout(cct,10) << __func__ 
+                  << " auth returned EAGAIN, reopening the session to try again"
+                  << dendl;
+    _reopen_session();
   }
   auth_cond.notify_all();
 }