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 --- roles/cephadm/tasks/pkg_redhat.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'roles') diff --git a/roles/cephadm/tasks/pkg_redhat.yml b/roles/cephadm/tasks/pkg_redhat.yml index b1d98b3bd..354cd5e5f 100644 --- a/roles/cephadm/tasks/pkg_redhat.yml +++ b/roles/cephadm/tasks/pkg_redhat.yml @@ -6,6 +6,12 @@ recurse: yes become: True +- name: Install centos-release-ceph + dnf: + name: "centos-release-ceph-{{ cephadm_ceph_release }}" + become: True + when: cephadm_use_package_from_distribution + - name: Enable Ceph base yum repository yum_repository: name: "{{ item.shortname }}" @@ -14,3 +20,4 @@ gpgkey: "{{ cephadm_ceph_rpm_gpg_key }}" loop: "{{ cephadm_ceph_rpm_repos }}" become: True + when: not cephadm_use_package_from_distribution -- cgit v1.2.3