summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Rosenboom <j.rosenboom@x-ion.de>2017-04-10 08:55:28 +0000
committerJens Rosenboom <j.rosenboom@x-ion.de>2017-04-10 08:55:28 +0000
commita21098bd8a9beff8125d29e75df105955ef4af7c (patch)
tree5c7f69f6057d650de7158b5926cc1eae07255e2e
parent40b6a0627323e264fdd8378277bcd552841e38c1 (diff)
Add default hosts discovery interval
With Nova Cells v2, new compute hosts must either be added explicitly to the cells database or Nova can run an automatic discovery job from time to time. We opt for the latter, allowing for painless addition of new compute nodes to an existing setup. Change-Id: I3b41887e6a3fcc62a5f25319b6da4811d7636b1a
Notes
Notes (review): Code-Review+2: Jan Klare <j.klare@cloudbau.de> Code-Review+2: Christoph Albers <c.albers@x-ion.de> Workflow+1: Christoph Albers <c.albers@x-ion.de> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 13 Apr 2017 13:50:16 +0000 Reviewed-on: https://review.openstack.org/455169 Project: openstack/cookbook-openstack-compute Branch: refs/heads/master
-rw-r--r--attributes/nova_conf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/attributes/nova_conf.rb b/attributes/nova_conf.rb
index 5b0dd81..ccadbea 100644
--- a/attributes/nova_conf.rb
+++ b/attributes/nova_conf.rb
@@ -66,4 +66,7 @@ default['openstack']['compute']['conf'].tap do |conf|
66 conf['placement']['user_domain_name'] = 'Default' 66 conf['placement']['user_domain_name'] = 'Default'
67 conf['placement']['project_domain_name'] = 'Default' 67 conf['placement']['project_domain_name'] = 'Default'
68 conf['placement']['project_name'] = 'service' 68 conf['placement']['project_name'] = 'service'
69
70 # [scheduler] section
71 conf['scheduler']['discover_hosts_in_cells_interval'] = 300
69end 72end