Add ContainerNovaLibvirtUlimit to tweak Ulimits
Ulimit defaults in Kolla for libvirt container provide sub-uptimal performance. Allow to override those and also provide opinionated defaults for TripleO. Keep those defaults in sync with that we need in the nova-compute & cinder-volume containers to avoid potential issues with ceph. Related: https://bugzilla.redhat.com/show_bug.cgi?id=1721434 Related-bug: #1762455 Change-Id: I7fa26a8d9d3b4029bdd518409013246720b057e3 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
parent
99b63d7805
commit
8ef4f3cac8
|
@ -12,6 +12,10 @@ parameters:
|
|||
ContainerNovaLibvirtConfigImage:
|
||||
description: The container image to use for the nova_libvirt config_volume
|
||||
type: string
|
||||
ContainerNovaLibvirtUlimit:
|
||||
default: ['nofile=131072', 'nproc=126960']
|
||||
description: ulimit for Nova Libvirt Container
|
||||
type: comma_delimited_list
|
||||
ServiceData:
|
||||
default: {}
|
||||
description: Dictionary packing service data
|
||||
|
@ -600,6 +604,7 @@ outputs:
|
|||
nova_virtlogd:
|
||||
start_order: 0
|
||||
image: {get_param: ContainerNovaLibvirtImage}
|
||||
ulimit: {get_param: ContainerNovaLibvirtUlimit}
|
||||
net: host
|
||||
pid: host
|
||||
security_opt: label=disable
|
||||
|
@ -625,6 +630,7 @@ outputs:
|
|||
nova_libvirt:
|
||||
start_order: 1
|
||||
image: {get_param: ContainerNovaLibvirtImage}
|
||||
ulimit: {get_param: ContainerNovaLibvirtUlimit}
|
||||
net: host
|
||||
pid: host
|
||||
privileged: true
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
Add `ContainerNovaLibvirtUlimit` to configure Ulimit for containerized
|
||||
Libvirt. Defaults to ``nofile=131072,nproc=126960``.
|
Loading…
Reference in New Issue