aboutsummaryrefslogtreecommitdiff
path: root/tests/pre.yml
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org>2022-04-28 12:26:45 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2022-09-08 16:33:25 +0000
commit67607c679e20adaa42bc5271110a6b0aa992ffc8 (patch)
tree838010e57ed5ca02923a336ed671dc2e9ae8c51a /tests/pre.yml
parenta914b6668d183b73bb11dfe4bead83c59c193a49 (diff)
downloadkolla-ansible-67607c679e20adaa42bc5271110a6b0aa992ffc8.tar.gz
kolla-ansible-67607c679e20adaa42bc5271110a6b0aa992ffc8.zip
Add CentOS Stream 9 / Rocky Linux 9 host support
Added c9s jobs are non voting, as agreed on PTG to focus on Rocky Linux 9. Since both CS9 and RL9 have higher default fd limit (1073741816 vs 1048576 in CS8) - lowering that for: * RMQ - because Erlang allocates memory based on this (see [1], [2], [3]). * MariaDB - because Galera cluster bootstrap failed Changed openvswitch_db healthcheck, because for unknown reason the usual check (using lsof on /run/openvswitch/db.sock) is hanging on "Bad file descriptor" (even with privileged: true). [1]: https://github.com/docker-library/rabbitmq/issues/545 [2]: https://github.com/rabbitmq/cluster-operator/issues/959#issuecomment-1043280324 [3]: https://github.com/systemd/systemd/commit/a8b627aaed409a15260c25988970c795bf963812 Depends-On: https://review.opendev.org/c/openstack/tenks/+/856296 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/856328 Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/856443 Needed-By: https://review.opendev.org/c/openstack/kolla/+/836664 Co-Authored-By: Michał Nasiadka <mnasiadka@gmail.com> Change-Id: I3f7b480519aea38c3927bee7fb2c23eea178554d
Diffstat (limited to 'tests/pre.yml')
-rw-r--r--tests/pre.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/tests/pre.yml b/tests/pre.yml
index a15836261..f3d6092c8 100644
--- a/tests/pre.yml
+++ b/tests/pre.yml
@@ -41,14 +41,27 @@
tasks:
# NOTE(yoctozepto): we use gawk to add time to each logged line
# outside of Ansible (e.g. for init-runonce)
- - name: Install gawk and Python modules
- package:
+ - name: Install gawk and Python modules (Debian/Ubuntu)
+ apt:
name:
- gawk
- python3-pip
- python3-setuptools
- python3-wheel
become: true
+ when: ansible_facts.os_family == 'Debian'
+
+ # NOTE(mnasiadka): python3-wheel is in crb repo for EL9
+ - name: Install gawk and Python modules (RedHat)
+ dnf:
+ enablerepo: "crb"
+ name:
+ - gawk
+ - python3-pip
+ - python3-setuptools
+ - python3-wheel
+ become: true
+ when: ansible_facts.os_family == 'RedHat'
- name: Ensure /tmp/logs/ dir
file: