mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 13:32:30 +08:00
This is a new feature in openQA that prevents worker hosts picking up new jobs if their load average is above a certain threshold. It defaults to 40. Our big worker hosts tend to run above this, so let's bump it on those. Signed-off-by: Adam Williamson <awilliam@redhat.com>
17 lines
633 B
Django/Jinja
17 lines
633 B
Django/Jinja
[global]
|
|
HOST = http://{{ openqa_hostname|default('localhost') }}
|
|
{% if openqa_worker_class is defined %}
|
|
WORKER_CLASS = {{ openqa_worker_class }}
|
|
{% elif openqa_tap %}
|
|
{% if ansible_architecture == 'ppc64' or ansible_architecture == 'ppc64le' %}
|
|
WORKER_CLASS = {{ openqa_tap }},tpm,qemu_ppc64le,qemu_ppc64
|
|
{% elif ansible_architecture == 'aarch64' %}
|
|
WORKER_CLASS = {{ openqa_tap }},tpm,qemu_aarch64,qemu_arm
|
|
{% else %}
|
|
WORKER_CLASS = {{ openqa_tap }},tpm,qemu_x86_64,qemu_i686,qemu_i586
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if openqa_critical_threshold is defined %}
|
|
CRITICAL_LOAD_AVG_THRESHOLD = {{ openqa_critical_threshold }}
|
|
{% endif %}
|