From 983d17e023bad52ecbec33424cad56a8599d1c5b Mon Sep 17 00:00:00 2001 From: Martin Schuppert Date: Fri, 12 Apr 2019 13:56:29 +0200 Subject: [PATCH] Increase DockerNovaComputeUlimit default value With large number of OSDs, where each OSD need a connection, the default nofile (1024) of nova_compute is too small. This changes the default DockerNovaComputeUlimit to 131072 what is the same for cinder. Change-Id: Id19da6e8b7bfbe0e47b191e92c08fc34d1853a63 --- deployment/nova/nova-compute-container-puppet.yaml | 2 +- .../notes/nova_compute_nofile-0427e49cc8ae70a6.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/nova_compute_nofile-0427e49cc8ae70a6.yaml diff --git a/deployment/nova/nova-compute-container-puppet.yaml b/deployment/nova/nova-compute-container-puppet.yaml index 32ccf69481..2e0f520a43 100644 --- a/deployment/nova/nova-compute-container-puppet.yaml +++ b/deployment/nova/nova-compute-container-puppet.yaml @@ -11,7 +11,7 @@ parameters: description: The container image to use for the nova_libvirt config_volume type: string DockerNovaComputeUlimit: - default: ['nofile=1024'] + default: ['nofile=131072'] description: ulimit for Nova Compute Container type: comma_delimited_list NovaComputeLoggingSource: diff --git a/releasenotes/notes/nova_compute_nofile-0427e49cc8ae70a6.yaml b/releasenotes/notes/nova_compute_nofile-0427e49cc8ae70a6.yaml new file mode 100644 index 0000000000..7eb0958918 --- /dev/null +++ b/releasenotes/notes/nova_compute_nofile-0427e49cc8ae70a6.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + With large number of OSDs, where each OSD need a connection, the default + nofile (1024) of nova_compute is too small. This changes the default + DockerNovaComputeUlimit to 131072 what is the same for cinder.