From 98459797bb6758e9a0d49895b9571474fc8227fb Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 22 Feb 2017 16:48:46 -0500 Subject: [PATCH] Enable automatic host cell discovery Configure the scheduler to automatically discover and map hosts into cell1 every 30 seconds ensuring that hosts are discovered automatically. This will be completed by future work to orchestrate the enablement and mapping of compute hosts into cells using relations and actions at a later date. Change-Id: I5ed10e67936388bb074739b63e3a5ecf9036035f Partial-Bug: 1667124 --- templates/ocata/nova.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/ocata/nova.conf b/templates/ocata/nova.conf index 3859b03f..338d7735 100644 --- a/templates/ocata/nova.conf +++ b/templates/ocata/nova.conf @@ -169,3 +169,10 @@ lock_path=/var/lock/nova {% include "parts/section-serial-console" %} {% include "parts/section-placement" %} + +[scheduler] +# NOTE(jamespage): perform automatic host cell mapping +# until we can orchestrate this better +# using the nova-cc <--> nova-compute +# relation +discover_hosts_in_cells_interval = 30