Browse Source

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>
tags/final-non-containers
Bart Wensley 5 months ago
parent
commit
dc471d7a30
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      sysinv/sysinv/sysinv/sysinv/helm/nova.py

+ 5
- 2
sysinv/sysinv/sysinv/sysinv/helm/nova.py View File

@@ -90,7 +90,9 @@ class NovaHelm(openstack.OpenstackBaseHelm):
90 90
                             'disk_allocation_ratio': 1.0,
91 91
                             'cpu_allocation_ratio': 16.0,
92 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 97
                         'libvirt': {
96 98
                             'virt_type': self._get_virt_type(),
@@ -137,7 +139,8 @@ class NovaHelm(openstack.OpenstackBaseHelm):
137 139
                             'soft_anti_affinity_weight_multiplier': 0.0
138 140
                         },
139 141
                         'scheduler': {
140
-                            'periodic_task_interval': -1
142
+                            'periodic_task_interval': -1,
143
+                            'discover_hosts_in_cells_interval': 30
141 144
                         },
142 145
                         'metrics': {
143 146
                             'required': False,

Loading…
Cancel
Save