From: Sage Weil Date: Sat, 14 Dec 2019 14:22:12 +0000 (-0600) Subject: cephadm: fix exception when no time sync is running X-Git-Tag: v15.1.0~498^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3cbca1dce81f72d3d4c983d40e442ea1cd028562;p=ceph.git cephadm: fix exception when no time sync is running Signed-off-by: Sage Weil --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index b3ee79e1161e..44217938c3eb 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -1800,8 +1800,7 @@ def command_check_host(): # check for configured+running chronyd or ntp if not check_time_sync(): - raise RuntimeError('No time synchronization is active (checked all of %s)' % - units) + raise RuntimeError('No time synchronization is active') logger.info('Host looks OK')