Merge "Increase the default memlock to 64MiB via ``DockerNovaComputeUlimit``." into stable/queens

This commit is contained in:
Zuul 2019-07-15 18:37:19 +00:00 committed by Gerrit Code Review
commit 724962c305
2 changed files with 10 additions and 1 deletions

View File

@ -11,7 +11,7 @@ parameters:
description: The container image to use for the nova_libvirt config_volume
type: string
DockerNovaComputeUlimit:
default: ['nofile=131072']
default: ['nofile=131072', 'memlock=67108864']
description: ulimit for Nova Compute Container
type: comma_delimited_list
ServiceData:

View File

@ -0,0 +1,9 @@
---
fixes:
- |
Certain nova containers require more locked memory that the default limit of 16KiB.
Increase the default memlock to 64MiB via ``DockerNovaComputeUlimit``.
As this is only a maximum limit and not a pre-allocatiosn this will not
increase the memory requirements for all nova containers. To date the only
container to require this is nova_cell_v2_discover_hosts which is short lived.