Commit Graph

6 Commits

Author SHA1 Message Date
Steve Baker 44abab621f Delete unused elements
delorean-repo:
replaced by tripleo-repos and other repo setup approaches

hosts:
heat hasn't manage hosts file for many releases

localboot:
replaced by diskimage-builder grub2, bootloader elements

ntp:
replaced by installing chrony package

os-net-config:
the package is installed by other elements, and the script is now
called from ansible

overcloud-dracut:
replaced by diskimage-builder dracut-regenerate element

overcloud-partition:
no image now uses this, overcloud-hardened-uefi-full uses
overcloud-partition-uefi

Change-Id: I990493b51d87a40140c1648f2b04c982ce959b1d
2022-07-04 16:22:58 +12:00
Emilien Macchi f6f9321a68 Purge chrony package in NTP element
If NTP is installed and used, make sure Chrony is not installed because
they would conflict each others.
We have seen some cases where NTP was started after Chrony but failed
because of port conflict.

Since Chrony is installed by default in EL7 images, we want to avoid
this conflict.

Change-Id: I186152786a27ca5bee1b288a76c2e340971596a4
2017-01-20 07:41:46 -05:00
Nicholas Randon 5c8021013a NTP service can fail or be slow to stop
On some system the ntpd process can be slow to stop if at all.
With this change double check that ntpd has stopped correctly
before we use nptdate.

Change-Id: I844203ad031bf23f6be1c7d58d434139a19bf221
2015-02-03 17:33:59 +00:00
Nicholas Randon b8266fa7ec NTP fail to sync if time sync is not performed
Time sensitive services may not be able to startup and be synchronized,
specifically when deployed on multiple nodes, when the hardware clock
of the booting system is not explicitly synchronized before attempting
to start the services. With this, NTP itself may not be able to
synchronize and start operating if the clock is skewed too much from
the clock source(s), or if one clock source is out of sync itself.

This change move the ntp stand-up earlier in setup so that time of any
system is controlled befor time sensitive services startup. For example
the database on controller nodes. The change also set the clock to the
time of the given ntp server forcefully and updates the Hardware clock.
It also fixes the invalid ntp.conf file.

Closes-Bug: 1408379
Relates-To: I56a03dc0a899a8c515f2a05d678d7e80e9b7b93c
Change-Id: Ib9931b84925d9ceb32f18e9adc5be64402fbf61e
2015-01-14 17:44:05 +00:00
Gonéri Le Bouder 25a962a6eb add some missing “set -ue” declarations
Since 79ab95b16e78d563c473b5acada62cb3e22d4eb1 dib-lint ensure
every element shell scripts have “set -e” activated.

Even if dib-lint doesn't test it yet, the set -u is already widely
used.

As pointed out by Jiri Stransky, elements/tripleo-cd/configs/* files
are sourced by deploy-testenv. There is no reason to enable “set -ue”
manually. The patch just disable the dib-lint “sete” check on these files.

Change-Id: I118c8c80ec50b265c22577b075d15f56389b7a47
2014-05-20 09:39:55 +02:00
Clint Byrum fd32965cd5 Add an ntp element
It is quite painful to debug issues across hosts without time sync.

Partial-Bug: #1184486
Change-Id: I149b30d76690770f3d8726c8feda01a5ffb5016b
2013-12-05 11:26:19 -08:00