From 83e8050307306844f3cd1d22a2e47ee7fc828c12 Mon Sep 17 00:00:00 2001 From: Daneyon Hansen Date: Wed, 25 Feb 2015 18:12:02 +0000 Subject: [PATCH] Closes-Bug: 1425631 Kolla containers obtain time from the host they run on. Therefore, it is important that hosts (virtual hosts in the case of the heat template) maintain proper time. NTP should be used for this purpose. Change-Id: Ieaf272c79884fb8b5e655ba52d8cc72467a9c831 --- devenv/kollanode.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/devenv/kollanode.yaml b/devenv/kollanode.yaml index fd365e35c0..7d1a7fbcbb 100644 --- a/devenv/kollanode.yaml +++ b/devenv/kollanode.yaml @@ -142,7 +142,7 @@ resources: chkconfig network on # enable dnf command - yum -y install dnf dnf-plugins-core + yum -y install ntp dnf dnf-plugins-core # Docker packages dnf -y copr enable pkilambi/docker @@ -152,6 +152,10 @@ resources: systemctl enable docker systemctl start docker + # Start NTP + systemctl enable ntpd + systemctl start ntpd + # Directory where the fig container reads yaml files mkdir -p /opt/docker-compose