Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1576003 - ntp package is missing from undercloud
ntp package is missing from undercloud
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
medium Severity medium
: beta
: 13.0 (Queens)
Assigned To: Emilien Macchi
Raviv Bar-Tal
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-08 10:12 EDT by Noam Manos
Modified: 2018-06-27 09:56 EDT (History)
8 users (show)

See Also:
Fixed In Version: instack-undercloud-8.4.1-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 09:55:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 563299 None stable/queens: MERGED instack-undercloud: Always deploy NTP (I946f055b119ea878c893bd333ebb5f2c9d68ea6d) 2018-05-09 08:27 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:56 EDT

  None (edit)
Description Noam Manos 2018-05-08 10:12:03 EDT
Description of problem:
Updating Undercloud with latest packages as described here:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html/upgrading_red_hat_openstack_platform/keeping_openstack_platform_updated

Requires to check that clocks are synchronized on the undercloud with ntpstat.
However it fails with "ntpstat: command not found".


Version-Release number of selected component (if applicable):
OSP: 13   
Puddle: 2018-04-10.2

How reproducible:
Always


Steps to Reproduce:
(undercloud) [stack@undercloud-0 ~]$ sudo ntpstat


Actual results:
sudo: ntpstat: command not found


Expected results:

ntpstat should work.
Or, if it is not necessary, remove ntpstat step from:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html/upgrading_red_hat_openstack_platform/keeping_openstack_platform_updated
Comment 1 Noam Manos 2018-05-08 10:43:35 EDT
Workaround:

(undercloud) [stack@undercloud-0 ~]$ sudo yum install ntp
...                                                                                                                                                                                      
Installed:
  ntp.x86_64 0:4.2.6p5-28.el7                                                                                                                                                                                                                  
                                                                                                                                                                                                          

(undercloud) [stack@undercloud-0 ~]$ sudo systemctl enable ntpd

Created symlink from /etc/systemd/system/multi-user.target.wants/ntpd.service to /usr/lib/systemd/system/ntpd.service.

(undercloud) [stack@undercloud-0 ~]$ sudo systemctl start ntpd

(undercloud) [stack@undercloud-0 ~]$ sudo ntpstat

unsynchronised
  time server re-starting
   polling server every 8 s

(undercloud) [stack@undercloud-0 ~]$ sudo ntpstat

synchronised to NTP server (138.236.128.112) at stratum 3 
   time correct to within 1110 ms
   polling server every 64 s
Comment 2 Alex Schultz 2018-05-08 12:25:49 EDT
It is not installed unless you configure ntp via the undercloud.conf. We've recently changed this to always be installed, but if you aren't properly configuring the ntp servers in the undercloud.conf at install time it would not install ntp.
Comment 6 errata-xmlrpc 2018-06-27 09:55:29 EDT
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, 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/RHEA-2018:2086

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