aboutsummaryrefslogtreecommitdiff
path: root/docker/macros.j2
diff options
context:
space:
mode:
authorMichal Arbet <michal.arbet@ultimum.io>2023-09-21 10:05:22 +0200
committerMichal Arbet <michal.arbet@ultimum.io>2023-09-21 11:01:21 +0200
commit4871ca4d6b83f6d28d790722eae52de5e56becee (patch)
treeb14157b5d0afccd7373bb3cab6018f483ab44d87 /docker/macros.j2
parent3d703b60e6fb1062313b57293696f1c34151c27f (diff)
downloadkolla-4871ca4d6b83f6d28d790722eae52de5e56becee.tar.gz
kolla-4871ca4d6b83f6d28d790722eae52de5e56becee.zip
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
Diffstat (limited to 'docker/macros.j2')
-rw-r--r--docker/macros.j22
1 files changed, 1 insertions, 1 deletions
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 %}