]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephadm: allow ntpsec service
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 9 Oct 2020 17:44:32 +0000 (13:44 -0400)
committerDimitri Savineau <dsavinea@redhat.com>
Fri, 9 Oct 2020 17:50:32 +0000 (13:50 -0400)
ntpsec is available starting Ubuntu Focal (20.04) and Debian Buster (10)
as an alternate NTP daemon.

Fixes: https://tracker.ceph.com/issues/47525
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
src/cephadm/cephadm

index c5e6327785c048c6f128494d45fc730a55f826aa..6488502453d6426e162ab925be48808c80f6a78c 100755 (executable)
@@ -4380,6 +4380,7 @@ def check_time_sync(enabler=None):
         'systemd-timesyncd.service',
         'ntpd.service', # el7 (at least)
         'ntp.service',  # 18.04 (at least)
+        'ntpsec.service',  # 20.04 (at least) / buster
     ]
     if not check_units(units, enabler):
         logger.warning('No time sync service is running; checked for %s' % units)