Bug 1086349 - NTP is not setup across the nodes, causing services to be out of sync.
Summary: NTP is not setup across the nodes, causing services to be out of sync.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-foreman-installer
Version: 4.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: z1
: Installer
Assignee: Jason Guiditta
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks: 1040649 1093544 1108193
TreeView+ depends on / blocked
 
Reported: 2014-04-10 16:10 UTC by Randy Perryman
Modified: 2019-09-09 14:46 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
NTP was not configured or running on OpenStack nodes. If nodes were out of sync with the installer, they would not connect as Puppet clients. Additionally, connection issues could occur between services if times were too far apart. This fix adds the NTP module to all OpenStack nodes and allow the user to specify a list of NTP servers that nodes can access.
Clone Of:
: 1127813 (view as bug list)
Environment:
Last Closed: 2015-03-05 18:18:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 104803 0 None MERGED Configures NTP Servers by default 2020-01-31 03:21:21 UTC
Red Hat Product Errata RHBA-2015:0641 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Installer Bug Fix Advisory 2015-03-05 23:15:51 UTC

Description Randy Perryman 2014-04-10 16:10:23 UTC
Description of problem:

NTP is not setup as part of the install, when using hardware your machines my be off causing services to not report in correctly.

a nova-manage service list some service may show XXX because of out of sync time.


Version-Release number of selected component (if applicable):

A4

How reproducible:

Standard install hardware do a date command and not the nodes out of sync


Additional info:

Comment 2 Nikola Dipanov 2014-04-14 14:01:08 UTC
It seems that there is some work being done around setting up NTP by the puppet based installers, but will defer to the respective component engineers, as they will be able to provide more info on the direction of this work.

Comment 3 Ivan Chavero 2014-06-26 17:58:07 UTC
currently packstack does setup NTP if configured in the answer file:
# Comma separated list of NTP servers. Leave plain if Packstack
# should not install ntpd on instances.
CONFIG_NTP_SERVERS=

or via command line switch:

--ntp-servers=NTP_SERVERS

i'm not sure about the other installers, checking that

Comment 4 Ivan Chavero 2014-06-26 18:36:59 UTC
Randy,  could you tell me wich OpenStack Installer are you using?

Comment 5 Randy Perryman 2014-06-26 18:58:21 UTC
Red Hat OSP5 is what this bug was written against.  I have not checked OSP5 to see if it is still there.

Comment 6 Ivan Chavero 2014-07-04 19:01:59 UTC
gael created a patch that adds default ntp servers to the packstack variable.

there's an ntp class part of puppet's stdlib which should be used by the installers: packstack and staypuft use it so i consider this bug as closed for the openstack puppet modules and change it to packstack.

Comment 9 Martin Magr 2014-09-12 12:19:31 UTC
Packstack has way to set ntpd accross all servers. This bug is invalid. Closing.

Comment 10 Randy Perryman 2015-02-02 15:41:18 UTC
We are not using PackStack as part of the install.  This is a pure OFI install.

Comment 11 Jason Guiditta 2015-02-09 15:32:43 UTC
Is this BZ truly against OSP 5, or are you looking to get this added to 6?  If the latter, work is underway to improve configuration options, and is being tracked here:
https://bugzilla.redhat.com/show_bug.cgi?id=1187144

Note this also contains a valid workaround which is similar to what we will likely implement in our solution.

Comment 13 Mike Burns 2015-02-13 19:09:36 UTC
this is really a duplicate of another bug that is private, so moving it back to be verified here.

Comment 14 Mike Burns 2015-02-13 19:10:47 UTC
Oh, and the ask is for OSP 6 (per previous calls with Randy)

Comment 15 Alexander Chuzhoy 2015-02-17 18:27:33 UTC
Verified:


Environment:
rhel-osp-installer-client-0.5.5-5.el7ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch
openstack-foreman-installer-3.0.15-1.el7ost.noarch
rhel-osp-installer-0.5.5-5.el7ost.noarch
ruby193-rubygem-staypuft-0.5.19-1.el7ost.noarch
openstack-puppet-modules-2014.2.8-2.el7ost.noarch




The ntp is active and enabled on all hosts.
The /etc/ntp.conf and /etc/ntp/step-tickers are identical on all hosts.
The time is the same on all hosts.

Comment 17 errata-xmlrpc 2015-03-05 18:18:35 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, 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://rhn.redhat.com/errata/RHBA-2015-0641.html


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