From: Greg Farnum Date: Fri, 30 Sep 2022 19:10:04 +0000 (+0000) Subject: osd: mds: suggest clock skew when failing to obtain rotating service keys X-Git-Tag: v18.1.0~709^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=05fd05020b2b15c674af8891f6e8f10c381e6832;p=ceph.git osd: mds: suggest clock skew when failing to obtain rotating service keys Fixes: https://tracker.ceph.com/issues/17170 Signed-off-by: Greg Farnum --- diff --git a/src/mds/MDSDaemon.cc b/src/mds/MDSDaemon.cc index 824be2419844..ca8c3b656785 100644 --- a/src/mds/MDSDaemon.cc +++ b/src/mds/MDSDaemon.cc @@ -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; diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index e162bded15ec..114659f1da32 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -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); } }