]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: mds: suggest clock skew when failing to obtain rotating service keys 50405/head
authorGreg Farnum <gfarnum@redhat.com>
Fri, 30 Sep 2022 19:10:04 +0000 (19:10 +0000)
committerRadosław Zarzyński <rzarzyns@redhat.com>
Mon, 6 Mar 2023 19:16:47 +0000 (20:16 +0100)
Fixes: https://tracker.ceph.com/issues/17170
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 05fd05020b2b15c674af8891f6e8f10c381e6832)

src/mds/MDSDaemon.cc
src/osd/OSD.cc

index d8801ef2ad09d6c0439c1cc53efe6e7dfb3539e9..e45cb142b7aeaa9726094fe7cb4417c28756f9c3 100644 (file)
@@ -547,7 +547,8 @@ int MDSDaemon::init()
       continue;
     }
     derr << "ERROR: failed to refresh rotating keys, "
-         << "maximum retry time reached." << dendl;
+         << "maximum retry time reached."
+        << " Maybe I have a clock skew against the monitors?" << dendl;
     std::lock_guard locker{mds_lock};
     suicide();
     return -CEPHFS_ETIMEDOUT;
index 511d8e3da91eb131a7e744f5aa7aafcdc51df121..aed5057b455970b7c79b8f9a8d04352f54b489c8 100644 (file)
@@ -3829,7 +3829,8 @@ int OSD::init()
     derr << "unable to obtain rotating service keys; retrying" << dendl;
     ++rotating_auth_attempts;
     if (rotating_auth_attempts > g_conf()->max_rotating_auth_attempts) {
-        derr << __func__ << " wait_auth_rotating timed out" << dendl;
+        derr << __func__ << " wait_auth_rotating timed out"
+            <<" -- maybe I have a clock skew against the monitors?" << dendl;
        exit(1);
     }
   }