From 67607c679e20adaa42bc5271110a6b0aa992ffc8 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 28 Apr 2022 12:26:45 +0200 Subject: Add CentOS Stream 9 / Rocky Linux 9 host support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Change-Id: I3f7b480519aea38c3927bee7fb2c23eea178554d --- tests/pre.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'tests/pre.yml') 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: -- cgit v1.2.3