diff --git a/sysinv/sysinv/sysinv/sysinv/common/constants.py b/sysinv/sysinv/sysinv/sysinv/common/constants.py index fa2c72a9e6..989f331319 100644 --- a/sysinv/sysinv/sysinv/sysinv/common/constants.py +++ b/sysinv/sysinv/sysinv/sysinv/common/constants.py @@ -1344,6 +1344,10 @@ SERVICE_PARAM_NAME_PLATFORM_EXTERNAL_SIZE_MAX = 'external_size_max' SERVICE_PARAM_NAME_PLATFORM_MAX_USE = 'max_use' SERVICE_PARAM_NAME_PLATFORM_KEEP_FREE = 'keep_free' +SERVICE_PARAM_PLATFORM_PROCESS_SIZE_MAX_DEFAULT = '2G' +SERVICE_PARAM_PLATFORM_EXTERNAL_SIZE_MAX_DEFAULT = '2G' +SERVICE_PARAM_PLATFORM_KEEP_FREE_DEFAULT = '1G' + SERVICE_PARAM_PLAT_PROCESS_SIZE_MAX_MINSIZE = 0 SERVICE_PARAM_PLAT_EXTERNAL_SIZE_MAX_MINSIZE = 0 SERVICE_PARAM_PLAT_MAX_USE_MINSIZE = 0 diff --git a/sysinv/sysinv/sysinv/sysinv/conductor/manager.py b/sysinv/sysinv/sysinv/sysinv/conductor/manager.py index 03f8dc2de8..51664662c3 100644 --- a/sysinv/sysinv/sysinv/sysinv/conductor/manager.py +++ b/sysinv/sysinv/sysinv/sysinv/conductor/manager.py @@ -953,6 +953,21 @@ class ConductorManager(service.PeriodicService): 'name': constants.SERVICE_PARAM_NAME_PLATFORM_MAX_CPU_PERCENTAGE, 'value': constants.SERVICE_PARAM_PLATFORM_MAX_CPU_PERCENTAGE_DEFAULT }, + {'service': constants.SERVICE_TYPE_PLATFORM, + 'section': constants.SERVICE_PARAM_SECTION_PLATFORM_COREDUMP, + 'name': constants.SERVICE_PARAM_NAME_PLATFORM_PROCESS_SIZE_MAX, + 'value': constants.SERVICE_PARAM_PLATFORM_PROCESS_SIZE_MAX_DEFAULT + }, + {'service': constants.SERVICE_TYPE_PLATFORM, + 'section': constants.SERVICE_PARAM_SECTION_PLATFORM_COREDUMP, + 'name': constants.SERVICE_PARAM_NAME_PLATFORM_EXTERNAL_SIZE_MAX, + 'value': constants.SERVICE_PARAM_PLATFORM_EXTERNAL_SIZE_MAX_DEFAULT + }, + {'service': constants.SERVICE_TYPE_PLATFORM, + 'section': constants.SERVICE_PARAM_SECTION_PLATFORM_COREDUMP, + 'name': constants.SERVICE_PARAM_NAME_PLATFORM_KEEP_FREE, + 'value': constants.SERVICE_PARAM_PLATFORM_KEEP_FREE_DEFAULT + }, ] def _create_default_service_parameter(self):