Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2046316

Summary: ntp sources may be offline after a reboot
Product: Red Hat OpenStack Reporter: Alex Schultz <aschultz>
Component: ansible-role-chronyAssignee: OSP Team <rhos-maint>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: drosenfe, rhos-maint
Target Milestone: z9Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ansible-role-chrony-1.0.2-1.20220126163725.03e7fbe.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2042689 Environment:
Last Closed: 2022-12-07 20:25:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2042689    
Bug Blocks:    

Description Alex Schultz 2022-01-26 15:09:53 UTC
+++ This bug was initially created as a clone of Bug #2042689 +++

Description of problem:

Rebooting of nodes may cause the chrony sources to be marked offline causing synchronization to not occur. Related Bug 2040915

Version-Release number of selected component (if applicable):
OSP16.2/OSP16.1

Comment 5 David Rosenfeld 2022-11-02 21:07:16 UTC
chrony-online and chronyd are both started after a reboot:

[heat-admin@compute-0 ~]$ sudo systemctl status chrony-online
● chrony-online.service - chronyd online sources service
   Loaded: loaded (/etc/systemd/system/chrony-online.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Wed 2022-11-02 20:43:09 UTC; 15min ago
 Main PID: 2459 (code=exited, status=0/SUCCESS)

Nov 02 20:43:09 compute-0 systemd[1]: Starting chronyd online sources service...
Nov 02 20:43:09 compute-0 chronyc[2459]: 200 OK
Nov 02 20:43:09 compute-0 systemd[1]: Started chronyd online sources service.



[heat-admin@compute-0 ~]$ sudo systemctl status chronyd
● chronyd.service - NTP client/server
   Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2022-11-02 20:42:35 UTC; 23min ago
     Docs: man:chronyd(8)
           man:chrony.conf(5)
 Main PID: 959 (chronyd)
    Tasks: 1 (limit: 49478)
   Memory: 2.8M
   CGroup: /system.slice/chronyd.service
           └─959 /usr/sbin/chronyd

Nov 02 20:42:35 compute-0 systemd[1]: Starting NTP client/server...
Nov 02 20:42:35 compute-0 chronyd[959]: chronyd version 3.5 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +I>
Nov 02 20:42:35 compute-0 chronyd[959]: Frequency -6.363 +/- 0.028 ppm read from /var/lib/chrony/drift
Nov 02 20:42:35 compute-0 systemd[1]: Started NTP client/server.
Nov 02 20:43:13 compute-0 chronyd[959]: Selected source 10.11.160.238

Comment 13 errata-xmlrpc 2022-12-07 20:25:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1.9 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8795

Comment 14 Red Hat Bugzilla 2023-09-18 04:30:49 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days