Merge "Add ability to manage irqbalance on compute per role"
This commit is contained in:
commit
6ec975c113
@ -443,6 +443,13 @@ parameters:
|
||||
default: {}
|
||||
tags:
|
||||
- role_specific
|
||||
NovaComputeDisableIrqBalance:
|
||||
default: false
|
||||
description: Whether to disable irqbalance on compute nodes or not. Especially
|
||||
in Realtime Compute role one wants to keep it disabled.
|
||||
type: boolean
|
||||
tags:
|
||||
- role_specific
|
||||
|
||||
# DEPRECATED: the following options are deprecated and are currently maintained
|
||||
# for backwards compatibility. They will be removed in future release.
|
||||
@ -544,6 +551,7 @@ resources:
|
||||
nova_pmem_namespaces: NovaPMEMNamespaces
|
||||
nova::compute::libvirt::remove_unused_original_minimum_age_seconds: NovaImageCacheTTL
|
||||
nova::compute::vgpu::vgpu_types_device_addresses_mapping: NovaVGPUTypesDeviceAddressesMapping
|
||||
compute_disable_irqbalance: NovaComputeDisableIrqBalance
|
||||
- values: {get_param: [RoleParameters]}
|
||||
- values:
|
||||
NovaVcpuPinSet: {get_param: NovaVcpuPinSet}
|
||||
@ -620,6 +628,7 @@ resources:
|
||||
NovaPMEMNamespaces: {get_param: NovaPMEMNamespaces}
|
||||
NovaImageCacheTTL: {get_param: NovaImageCacheTTL}
|
||||
NovaVGPUTypesDeviceAddressesMapping: {get_param: NovaVGPUTypesDeviceAddressesMapping}
|
||||
NovaComputeDisableIrqBalance: {get_param: NovaComputeDisableIrqBalance}
|
||||
|
||||
|
||||
conditions:
|
||||
@ -1106,6 +1115,15 @@ outputs:
|
||||
with_items:
|
||||
- ksm.service
|
||||
- ksmtuned.service
|
||||
- name: Is irqbalance enabled
|
||||
set_fact:
|
||||
compute_irqbalance_disabled: {get_attr: [RoleParametersValue, value, compute_disable_irqbalance]}
|
||||
- name: disable irqbalance service on compute
|
||||
when: compute_irqbalance_disabled|bool
|
||||
service:
|
||||
name: irqbalance.service
|
||||
state: stopped
|
||||
enabled: no
|
||||
deploy_steps_tasks:
|
||||
- name: validate nova-compute container state
|
||||
podman_container_info:
|
||||
|
@ -19,6 +19,7 @@
|
||||
NovaLibvirtRxQueueSize: 1024
|
||||
NovaLibvirtTxQueueSize: 1024
|
||||
NovaLibvirtMemStatsPeriodSeconds: 0
|
||||
NovaComputeDisableIrqBalance: True
|
||||
update_serial: 25
|
||||
ServicesDefault:
|
||||
- OS::TripleO::Services::Aide
|
||||
|
@ -16,6 +16,7 @@
|
||||
NovaLibvirtRxQueueSize: 1024
|
||||
NovaLibvirtTxQueueSize: 1024
|
||||
NovaLibvirtMemStatsPeriodSeconds: 0
|
||||
NovaComputeDisableIrqBalance: True
|
||||
update_serial: 25
|
||||
ServicesDefault:
|
||||
- OS::TripleO::Services::Aide
|
||||
|
@ -25,6 +25,7 @@
|
||||
NovaComputeCpuDedicatedSet: "" # real-time nodes
|
||||
NovaComputeCpuSharedSet: "" #
|
||||
NovaLibvirtMemStatsPeriodSeconds: 0
|
||||
NovaComputeDisableIrqBalance: True
|
||||
update_serial: 25
|
||||
ServicesDefault:
|
||||
- OS::TripleO::Services::Aide
|
||||
|
@ -16,6 +16,7 @@
|
||||
RoleParametersDefault:
|
||||
TunedProfileName: "realtime-virtual-host"
|
||||
NovaLibvirtMemStatsPeriodSeconds: 0
|
||||
NovaComputeDisableIrqBalance: True
|
||||
update_serial: 25
|
||||
ServicesDefault:
|
||||
- OS::TripleO::Services::Aide
|
||||
|
Loading…
Reference in New Issue
Block a user