aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2014-04-18 17:04:54 -0400
committerDan Prince <dprince@redhat.com>2014-05-02 19:51:14 -0400
commit97be2198406de9caab6b71de148fc906c394fdb2 (patch)
treeb2141d70b8f1597cae63f28945849758ddc45146
parentf7663a8973a508c8707b3a05621ac1d49eb6d627 (diff)
Configure NTP for overcloud compute
Updates the overcloud nova-compute templates so that the NTP server is properly configured. Change-Id: I4fc407153da5e031dcf5e5e5e1b3b74d932dba45 Partial-bug: #1309677
-rw-r--r--nova-compute-config.yaml3
-rw-r--r--nova-compute-instance.yaml4
2 files changed, 7 insertions, 0 deletions
diff --git a/nova-compute-config.yaml b/nova-compute-config.yaml
index 02d8e002..f54ee172 100644
--- a/nova-compute-config.yaml
+++ b/nova-compute-config.yaml
@@ -45,6 +45,9 @@ Resources:
base_image_id: {get_input: nova_image}
live_update_image_id: {get_input: live_update_compute_image}
completion-signal: {get_input: deploy_signal_id}
+ ntp:
+ servers:
+ - {server: {get_input: ntp_server}, fudge: "stratum 0"}
NovaComputePassthrough:
Type: OS::Heat::StructuredConfig
Properties:
diff --git a/nova-compute-instance.yaml b/nova-compute-instance.yaml
index 71e47ccc..bdd5a9cb 100644
--- a/nova-compute-instance.yaml
+++ b/nova-compute-instance.yaml
@@ -58,6 +58,9 @@ Parameters:
NovaImage:
Type: String
Default: overcloud-compute
+ NtpServer:
+ Type: String
+ Default: ''
KeystoneHost:
Type: String
NeutronFlatNetworks:
@@ -200,6 +203,7 @@ Resources:
live_update_tenant_name: {Ref: LiveUpdateTenantName}
nova_image: {Ref: NovaImage}
live_update_image_id: {Ref: LiveUpdateComputeImage}
+ ntp_server: {Ref: NtpServer}
NovaCompute0Passthrough:
Type: OS::Heat::StructuredDeployment
Properties: