diff --git a/changelogs/fragments/fix_ulimit.yml b/changelogs/fragments/fix_ulimit.yml new file mode 100644 index 0000000..00e356d --- /dev/null +++ b/changelogs/fragments/fix_ulimit.yml @@ -0,0 +1,4 @@ +--- +bugfixes: + - Run leapp with increased per-process file descriptor limit +... diff --git a/roles/analysis/tasks/analysis-leapp.yml b/roles/analysis/tasks/analysis-leapp.yml index 631c3a5..ef00513 100644 --- a/roles/analysis/tasks/analysis-leapp.yml +++ b/roles/analysis/tasks/analysis-leapp.yml @@ -68,6 +68,7 @@ ansible.builtin.shell: > set -o pipefail; export PATH={{ os_path }}; + ulimit -n 16384; leapp preupgrade --report-schema=1.2.0 {{ leapp_preupg_opts }} {{ leapp_enable_repos_args }} diff --git a/roles/upgrade/tasks/leapp-upgrade.yml b/roles/upgrade/tasks/leapp-upgrade.yml index 7210dbf..210164e 100644 --- a/roles/upgrade/tasks/leapp-upgrade.yml +++ b/roles/upgrade/tasks/leapp-upgrade.yml @@ -62,6 +62,7 @@ ansible.builtin.shell: > set -o pipefail; export PATH={{ os_path }}; + ulimit -n 16384; leapp upgrade --report-schema=1.2.0 {{ leapp_upgrade_opts }} {{ leapp_enable_repos_args }}