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
This commit is contained in:
Jens Rosenboom 2017-04-10 08:55:28 +00:00
parent 40b6a06273
commit a21098bd8a
1 changed files with 3 additions and 0 deletions

View File

@ -66,4 +66,7 @@ default['openstack']['compute']['conf'].tap do |conf|
conf['placement']['user_domain_name'] = 'Default'
conf['placement']['project_domain_name'] = 'Default'
conf['placement']['project_name'] = 'service'
# [scheduler] section
conf['scheduler']['discover_hosts_in_cells_interval'] = 300
end