Bug 2042689 - ntp sources may be offline after a reboot
Summary: ntp sources may be offline after a reboot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: ansible-role-chrony
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z2
: 16.2 (Train on RHEL 8.4)
Assignee: Kevin Carter
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks: 2046316
TreeView+ depends on / blocked
 
Reported: 2022-01-19 22:40 UTC by Alex Schultz
Modified: 2022-03-23 22:13 UTC (History)
8 users (show)

Fixed In Version: ansible-role-chrony-1.0.4-2.20210618224813.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2046316 (view as bug list)
Environment:
Last Closed: 2022-03-23 22:13:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 825002 0 None MERGED Create chrony-online service 2022-01-19 22:44:21 UTC
OpenStack gerrit 825383 0 None NEW Replacing chrony-helper with chronyc 2022-01-19 22:44:21 UTC
Red Hat Issue Tracker OSP-12217 0 None None None 2022-01-19 22:43:19 UTC
Red Hat Product Errata RHBA-2022:1001 0 None None None 2022-03-23 22:13:34 UTC

Description Alex Schultz 2022-01-19 22:40:51 UTC
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 3 pweeks 2022-02-07 15:39:47 UTC
Kevin, giving you some visibility into this BZ given alex departure.

Comment 13 David Rosenfeld 2022-03-07 17:43:02 UTC
After an overcloud reboot the new chrony-online service started the chronyd service: 

[heat-admin@compute-1 ~]$ 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 Mon 2022-03-07 17:17:24 UTC; 14min ago
 Main PID: 2326 (code=exited, status=0/SUCCESS)

Mar 07 17:17:24 compute-1 systemd[1]: Starting chronyd online sources service...
Mar 07 17:17:24 compute-1 chronyc[2326]: 200 OK
Mar 07 17:17:24 compute-1 systemd[1]: chrony-online.service: Succeeded.
Mar 07 17:17:24 compute-1 systemd[1]: Started chronyd online sources service.


[heat-admin@compute-1 ~]$ 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 Mon 2022-03-07 17:16:54 UTC; 19min ago
     Docs: man:chronyd(8)
           man:chrony.conf(5)
 Main PID: 904 (chronyd)
    Tasks: 1 (limit: 49140)
   Memory: 1.5M
   CGroup: /system.slice/chronyd.service
           └─904 /usr/sbin/chronyd

Mar 07 17:16:54 compute-1 systemd[1]: Starting NTP client/server...
Mar 07 17:16:54 compute-1 chronyd[904]: chronyd version 3.5 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 +DEBUG)
Mar 07 17:16:54 compute-1 chronyd[904]: Frequency -6.556 +/- 0.042 ppm read from /var/lib/chrony/drift
Mar 07 17:16:54 compute-1 systemd[1]: Started NTP client/server.
Mar 07 17:17:26 compute-1 chronyd[904]: Selected source 10.11.160.2

Comment 19 errata-xmlrpc 2022-03-23 22:13:07 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 (Release of components for Red Hat OpenStack Platform 16.2.2), 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:1001


Note You need to log in before you can comment on or make changes to this bug.