]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: fix exception when no time sync is running 32158/head
authorSage Weil <sage@redhat.com>
Sat, 14 Dec 2019 14:22:12 +0000 (08:22 -0600)
committerSage Weil <sage@redhat.com>
Sun, 15 Dec 2019 00:12:49 +0000 (18:12 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/cephadm/cephadm

index b3ee79e1161e6b0d1c135275e72fddc9db58e60e..44217938c3eb06ee9a88128aef82b4459a49f0db 100755 (executable)
@@ -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')