From dc471d7a304db09576184d52513f111bb1e76b01 Mon Sep 17 00:00:00 2001 From: Bart Wensley Date: Fri, 11 Jan 2019 09:18:14 -0600 Subject: [PATCH] Update nova helm chart overrides for service creation Update nova helm chart overrides to: - Stop enabling new services automatically. - Periodically discover new hosts. This will allow nova to automatically create new services and have the VIM just enable/disable the services as necessary. This removes the need for a nova extension to allow new services to be created through the nova API. Change-Id: Idb27a927de2ac91ebbb1df343a349bb14ec2f0d5 Story: 2004583 Task: 28865 Signed-off-by: Bart Wensley --- sysinv/sysinv/sysinv/sysinv/helm/nova.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sysinv/sysinv/sysinv/sysinv/helm/nova.py b/sysinv/sysinv/sysinv/sysinv/helm/nova.py index 08e5f9a8f4..73333cca37 100644 --- a/sysinv/sysinv/sysinv/sysinv/helm/nova.py +++ b/sysinv/sysinv/sysinv/sysinv/helm/nova.py @@ -90,7 +90,9 @@ class NovaHelm(openstack.OpenstackBaseHelm): 'disk_allocation_ratio': 1.0, 'cpu_allocation_ratio': 16.0, 'ram_allocation_ratio': 1.0, - 'remove_unused_original_minimum_age_seconds': 3600 + 'remove_unused_original_minimum_age_seconds': 3600, + 'enable_new_services': False, + 'map_new_hosts': False }, 'libvirt': { 'virt_type': self._get_virt_type(), @@ -137,7 +139,8 @@ class NovaHelm(openstack.OpenstackBaseHelm): 'soft_anti_affinity_weight_multiplier': 0.0 }, 'scheduler': { - 'periodic_task_interval': -1 + 'periodic_task_interval': -1, + 'discover_hosts_in_cells_interval': 30 }, 'metrics': { 'required': False,