Disable Baremetal Libvirt and Enable baremetal horizon services

All openstack services except keystone and horizon need to be
disabled in a kubernetes configuration. This task re-enables openstack
horizon dashboard as a baremetal service, and in a kubernetes config, it
disables the platform libvirt services which run on compute nodes or
on controller hosts in an AIO config

Story: 2002876
Task : 26168

Change-Id: I20e938ca83149474bf2c507062a0e65b69f005bc
Signed-off-by: Shoaib Nasir <shoaib.nasir@windriver.com>
This commit is contained in:
Shoaib Nasir 2018-10-09 15:44:30 -04:00
parent 9b7eec0fac
commit b9fe7baa3d
4 changed files with 6 additions and 10 deletions

View File

@ -1,2 +1,2 @@
SRC_DIR="src"
TIS_PATCH_VER=66
TIS_PATCH_VER=67

View File

@ -820,14 +820,6 @@ class platform::sm
exec { 'Deprovision OpenStack - Neutron Server (service)':
command => "sm-deprovision service neutron-server",
}
# Deprovision Horizon
exec { 'Deprovision OpenStack - Horizon (service-group-member)':
command => "sm-deprovision service-group-member web-services horizon",
} ->
exec { 'Deprovision OpenStack - Horizon(service)':
command => "sm-deprovision service horizon",
}
}
if $heat_service_enabled {

View File

@ -1,2 +1,2 @@
SRC_DIR="sysinv"
TIS_PATCH_VER=286
TIS_PATCH_VER=287

View File

@ -419,6 +419,10 @@ class NovaPuppet(openstack.OpenstackBasePuppet):
def _get_compute_config(self, host):
return {
'nova::compute::enabled': self._enable_nova_compute(),
'nova::compute::libvirt::manage_libvirt_services':
self._enable_nova_compute(),
'nova::migration::libvirt::configure_libvirt':
self._enable_nova_compute(),
'nova::compute::compute_reserved_vm_memory_2M':
self._get_reserved_memory_2M(host),
'nova::compute::compute_reserved_vm_memory_1G':