From: Guillaume Abrioux Date: Tue, 26 Jul 2022 15:06:06 +0000 (+0200) Subject: cephadm-adopt: set mgr/cephadm/no_five_one_rgw X-Git-Tag: v6.0.27.8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=81ff33ae6e38b16509e30a8a15467edfe05a96bf;p=ceph-ansible.git cephadm-adopt: set mgr/cephadm/no_five_one_rgw Upgrade from RHCS 4.x to RHCS 5.2 raises a HEALTH_ERR on the cluster. This error should be raised only when upgrading from 5.1 to 5.2 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2110913 Signed-off-by: Guillaume Abrioux --- diff --git a/infrastructure-playbooks/cephadm-adopt.yml b/infrastructure-playbooks/cephadm-adopt.yml index 70d04c82a..01badb243 100644 --- a/infrastructure-playbooks/cephadm-adopt.yml +++ b/infrastructure-playbooks/cephadm-adopt.yml @@ -165,6 +165,12 @@ inventory_hostname in groups.get(iscsi_gw_group_name, []) or inventory_hostname in groups.get(nfs_group_name, []) + - name: set mgr/cephadm/no_five_one_rgw + command: "{{ ceph_cmd }} --cluster {{ cluster }} config set mgr mgr/cephadm/no_five_one_rgw true --force" + changed_when: false + run_once: true + delegate_to: "{{ groups[mon_group_name][0] }}" + - name: configure repository for installing cephadm when: containerized_deployment | bool tags: with_pkg