You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit 29b62f7 introduces ZeroDivisionError error due to missing devture_postgres_max_parallel_workers_per_gather passed to com.devture.ansible.role.postgres
#2953
Expected behavior
I expect all variables to be passed through to the postgres project, without me having to manually specify overrides, and for no division by zero errors to occur. This happens as expected on commit 5ba6630 (the commit before 29b62f7).
Matrix Server:
OS: Debian 11.8
Architecture: amd64
Additional Context:
Adding this line to my vars.yaml fixes the issue on 29b62f7:
The text was updated successfully, but these errors were encountered:
matthewrfennell
changed the title
Commit 29b62f7 introduces DivideByZero error due to missing max_parallel_workers_per_gather passed to com.devture.ansible.role.postgres
Commit 29b62f7 introduces ZeroDivisionError error due to missing devture_postgres_max_parallel_workers_per_gather passed to com.devture.ansible.role.postgres
Oct 18, 2023
On my single core server ansible_processor_nproc is 1 so devture_postgres_max_parallel_workers_per_gather = 0.5. That means devture_postgres_max_parallel_workers_per_gather|int is zero. So technically this is a bug in the postgres role. I'll open a bug report there.
Describe the bug
git pull # gets 29b62f7 make roles ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start
To Reproduce
My
vars.yml
file looks like this:Expected behavior
I expect all variables to be passed through to the postgres project, without me having to manually specify overrides, and for no division by zero errors to occur. This happens as expected on commit 5ba6630 (the commit before 29b62f7).
Matrix Server:
Additional Context:
Adding this line to my
vars.yaml
fixes the issue on 29b62f7:The text was updated successfully, but these errors were encountered: