summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Wensley <barton.wensley@windriver.com>2019-01-11 09:18:14 -0600
committerBart Wensley <barton.wensley@windriver.com>2019-01-11 09:18:14 -0600
commitdc471d7a304db09576184d52513f111bb1e76b01 (patch)
treef6283aae8e92e281b91bd671e666b1a77e80bcca
parent949bab37d7d5e5a15aee3592d81a00b59ffec822 (diff)
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 <barton.wensley@windriver.com>
Notes
Notes (review): Code-Review+1: Gerry Kopec <gerry.kopec@windriver.com> Code-Review+2: Bob Church <robert.church@windriver.com> Code-Review+2: Don Penney <don.penney@windriver.com> Workflow+1: Don Penney <don.penney@windriver.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 14 Jan 2019 14:47:58 +0000 Reviewed-on: https://review.openstack.org/630288 Project: openstack/stx-config Branch: refs/heads/master
-rw-r--r--sysinv/sysinv/sysinv/sysinv/helm/nova.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysinv/sysinv/sysinv/sysinv/helm/nova.py b/sysinv/sysinv/sysinv/sysinv/helm/nova.py
index 08e5f9a..73333cc 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):
90 'disk_allocation_ratio': 1.0, 90 'disk_allocation_ratio': 1.0,
91 'cpu_allocation_ratio': 16.0, 91 'cpu_allocation_ratio': 16.0,
92 'ram_allocation_ratio': 1.0, 92 'ram_allocation_ratio': 1.0,
93 'remove_unused_original_minimum_age_seconds': 3600 93 'remove_unused_original_minimum_age_seconds': 3600,
94 'enable_new_services': False,
95 'map_new_hosts': False
94 }, 96 },
95 'libvirt': { 97 'libvirt': {
96 'virt_type': self._get_virt_type(), 98 'virt_type': self._get_virt_type(),
@@ -137,7 +139,8 @@ class NovaHelm(openstack.OpenstackBaseHelm):
137 'soft_anti_affinity_weight_multiplier': 0.0 139 'soft_anti_affinity_weight_multiplier': 0.0
138 }, 140 },
139 'scheduler': { 141 'scheduler': {
140 'periodic_task_interval': -1 142 'periodic_task_interval': -1,
143 'discover_hosts_in_cells_interval': 30
141 }, 144 },
142 'metrics': { 145 'metrics': {
143 'required': False, 146 'required': False,