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 <gabrioux@redhat.com>
rhcs-5.2 v6.0.27.8
Guillaume Abrioux 2022-07-26 17:06:06 +02:00
parent fae79944a8
commit 81ff33ae6e
1 changed files with 6 additions and 0 deletions

View File

@ -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