openqa/worker: override kernel scheduler config

This applies only within Fedora infra for now, as we're not sure
whether worker hosts on different hardware hit this bug. It's
intended to work around:
https://bugzilla.redhat.com/show_bug.cgi?id=2009585
a bug which results in the infra worker hosts hanging after a
short time when running kernels newer than 5.11.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-08-17 13:34:15 -04:00
parent bf7a36b2cb
commit 5b49611201

View file

@ -203,6 +203,10 @@
- include_tasks: createhdds.yml
when: openqa_hdds_worker|bool
- name: override kernel scheduler configuration - rhbz#2009585
copy: src=60-block-scheduler-override.rules dest=/etc/udev/rules.d/60-block-scheduler-override.rules owner=root group=root mode=0644
when: "deployment_type is defined"
- name: Enable and start worker services
service: name=openqa-worker@{{ item }} enabled=yes state=started
loop: "{{ range(1, openqa_workers + 1)|list }}"