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>
(cherry picked from commit 8ef4f3cac8
)
This commit is contained in:
parent
9c3a9c3b14
commit
27cbefab71
|
@ -12,6 +12,10 @@ parameters:
|
|||
DockerNovaLibvirtConfigImage:
|
||||
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
|
||||
|
@ -281,6 +285,7 @@ outputs:
|
|||
nova_virtlogd:
|
||||
start_order: 0
|
||||
image: {get_param: DockerNovaLibvirtImage}
|
||||
ulimit: {get_param: ContainerNovaLibvirtUlimit}
|
||||
net: host
|
||||
pid: host
|
||||
privileged: true
|
||||
|
@ -305,6 +310,7 @@ outputs:
|
|||
nova_libvirt:
|
||||
start_order: 1
|
||||
image: {get_param: DockerNovaLibvirtImage}
|
||||
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