Browse Source

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
Jens Rosenboom 2 years ago
parent
commit
a21098bd8a
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      attributes/nova_conf.rb

+ 3
- 0
attributes/nova_conf.rb View File

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

Loading…
Cancel
Save