Browse Source

Merge "Add ContainerNovaLibvirtUlimit to tweak Ulimits" into stable/queens

tags/8.4.1
Zuul 2 months ago
parent
commit
1c43d4985d

+ 6
- 0
docker/services/nova-libvirt.yaml View File

@@ -12,6 +12,10 @@ parameters:
12 12
   DockerNovaLibvirtConfigImage:
13 13
     description: The container image to use for the nova_libvirt config_volume
14 14
     type: string
15
+  ContainerNovaLibvirtUlimit:
16
+    default: ['nofile=131072', 'nproc=126960']
17
+    description: ulimit for Nova Libvirt Container
18
+    type: comma_delimited_list
15 19
   ServiceData:
16 20
     default: {}
17 21
     description: Dictionary packing service data
@@ -281,6 +285,7 @@ outputs:
281 285
           nova_virtlogd:
282 286
             start_order: 0
283 287
             image: {get_param: DockerNovaLibvirtImage}
288
+            ulimit: {get_param: ContainerNovaLibvirtUlimit}
284 289
             net: host
285 290
             pid: host
286 291
             privileged: true
@@ -305,6 +310,7 @@ outputs:
305 310
           nova_libvirt:
306 311
             start_order: 1
307 312
             image: {get_param: DockerNovaLibvirtImage}
313
+            ulimit: {get_param: ContainerNovaLibvirtUlimit}
308 314
             net: host
309 315
             pid: host
310 316
             privileged: true

+ 5
- 0
releasenotes/notes/more_params_to_configure_ulimit-82057bf64d7173a8.yaml View File

@@ -0,0 +1,5 @@
1
+---
2
+features:
3
+  - |
4
+    Add `ContainerNovaLibvirtUlimit` to configure Ulimit for containerized
5
+    Libvirt. Defaults to ``nofile=131072,nproc=126960``.

Loading…
Cancel
Save