]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: mds: suggest clock skew when failing to obtain rotating service keys 48318/head
authorGreg Farnum <gfarnum@redhat.com>
Fri, 30 Sep 2022 19:10:04 +0000 (19:10 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Fri, 30 Sep 2022 19:11:04 +0000 (19:11 +0000)
Fixes: https://tracker.ceph.com/issues/17170
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/mds/MDSDaemon.cc
src/osd/OSD.cc

index 824be241984400016eb18fb8714cb8f54feb3baa..ca8c3b6567853fb81456a9637794433fea931372 100644 (file)
@@ -552,7 +552,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 e162bded15ec98faf3feec40c1c5e49bc786ae4c..114659f1da32604c472378713acc6ef2a49b1fcd 100644 (file)
@@ -3824,7 +3824,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);
     }
   }