diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org> | 2022-04-28 12:26:45 +0200 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2022-09-08 16:33:25 +0000 |
| commit | 67607c679e20adaa42bc5271110a6b0aa992ffc8 (patch) | |
| tree | 838010e57ed5ca02923a336ed671dc2e9ae8c51a /roles/cephadm | |
| parent | a914b6668d183b73bb11dfe4bead83c59c193a49 (diff) | |
| download | kolla-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 'roles/cephadm')
| -rw-r--r-- | roles/cephadm/tasks/pkg_redhat.yml | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
