]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
cephadm-adopt: set mgr/cephadm/no_five_one_rgw v6.0.27.8
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 26 Jul 2022 15:06:06 +0000 (17:06 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 26 Jul 2022 15:10:23 +0000 (17:10 +0200)
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 <gabrioux@redhat.com>
infrastructure-playbooks/cephadm-adopt.yml

index 70d04c82a3b33939327ee014312e340fda139103..01badb243d9c4a22fc38b21f76bf78fdf7bc0c61 100644 (file)
           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