From 4871ca4d6b83f6d28d790722eae52de5e56becee Mon Sep 17 00:00:00 2001 From: Michal Arbet Date: Thu, 21 Sep 2023 10:05:22 +0200 Subject: Lower limit for open files when installing fluent gem Podman has default ulimit set to 1024, because of that fluent build is failing. Change-Id: I105351b58c530841e17fcba331fc4300eb8296f2 --- docker/macros.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/macros.j2 b/docker/macros.j2 index 6da47dc21..9992aa11d 100644 --- a/docker/macros.j2 +++ b/docker/macros.j2 @@ -61,7 +61,7 @@ RUN usermod --append --home {{ homedir }} --groups kolla {{ name }} \ {% macro install_fluent_plugins(plugins, chain=False) -%} {% if plugins is defined and plugins|length > 0 -%} {% if not chain -%} RUN {% endif -%} - ulimit -n 65536 && td-agent-gem install {{ plugins | join(' ') }} + ulimit -n 1024 && td-agent-gem install {{ plugins | join(' ') }} {%- endif %} {%- endmacro %} -- cgit v1.2.3