Project

General

Profile

Tâche #34715

Scénario #33912: EOLE 2.9 : simplifier la gestion NTP (Revoir ntpdate/ntpd/sysemctl-timesyncd)

Adapter le diagnose pour les divers logiciels NTP.

Added by Benjamin Bohard over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/01/2022
Due date:
% Done:

100%

Remaining (hours):
0.0

Associated revisions

Revision 749eb970 (diff)
Added by Benjamin Bohard over 1 year ago

Utiliser la commande adaptée pour le diagnostic.

Ref #34715

Revision dd95ccbe (diff)
Added by Benjamin Bohard over 1 year ago

Tenter de récupérer la variable ad_address, utiliser container_ip_addc sinon.

Ref #34714
Ref #34722

History

#1 Updated by Benjamin Bohard over 1 year ago

  • Status changed from Nouveau to En cours

#2 Updated by Benjamin Bohard over 1 year ago

La méthodologie pour vérifier la synchronisation du serveur ne semble pas pouvoir s’appuyer sur un outil générique :

Sur serveur avec systemd-timesyncd

# ntpstat
Unable to talk to NTP daemon. Is it running?

ntpdate -q
13 Oct 11:39:17 ntpdate[33844]: no servers can be used, exiting

Sur un serveur avec ntp
# timedatectl
               Local time: jeu. 2022-10-13 11:32:14 CEST
           Universal time: jeu. 2022-10-13 09:32:14 UTC
                 RTC time: jeu. 2022-10-13 09:32:14
                Time zone: Europe/Paris (CEST, +0200)
System clock synchronized: yes
              NTP service: n/a
          RTC in local TZ: no

L’élément important semblant, dans ce cas, être "NTP service: n/a"

#3 Updated by Benjamin Bohard over 1 year ago

  • Status changed from En cours to À valider

#4 Updated by Benjamin Bohard over 1 year ago

  • % Done changed from 0 to 100

#5 Updated by Ludwig Seys over 1 year ago

  • Status changed from À valider to Résolu

#6 Updated by Joël Cuissinat over 1 year ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Also available in: Atom PDF