From 614e8078faf0f519a0f611213a541aa4b32d0fd0 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Thu, 18 Nov 2021 14:28:56 +0000 Subject: [PATCH] Revert "Enforces minimum Ceph client version to Mimic" This reverts commit 4b8a18069fc832bf11a8889777b6422e0dc2ea1c. There is additional work to be done in Glance/Cinder to handle correctly images moved to 'trash' Change-Id: I52d4e06d7c335709fc0dab990462d9f3ea230c5d Closes-Bug: 1951433 --- deployment/ceph-ansible/ceph-mon.yaml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/deployment/ceph-ansible/ceph-mon.yaml b/deployment/ceph-ansible/ceph-mon.yaml index 83024b23c6..ccd15e3c80 100644 --- a/deployment/ceph-ansible/ceph-mon.yaml +++ b/deployment/ceph-ansible/ceph-mon.yaml @@ -117,24 +117,5 @@ outputs: copy: dest: "{{playbook_dir}}/ceph-ansible/group_vars/mons.yml" content: "{{ceph_ansible_group_vars_mons|to_nice_yaml}}" - - - name: ceph_base_external_deploy_finish - # NOTE(gfidente): enforce minimum client version to mimic to use RBD clone v2 with Cinder - when: step|int == 3 - become: true - tags: - - ceph - block: - - name: Get ceph-mon container ID - # Supposed to work with cephadm and ceph-ansible formats - # ceph-4b5c8c0a-ff60-454b-a1b4-9747aa737d19-mon.standalone.localdomain - # ceph-mon-standalone - command: "{{ container_cli }} ps -q -f 'name=ceph-?(.*)-mon.*'" - register: ceph_mon_id - delegate_to: "{{ groups['ceph_mon'][0] }}" - - name: Enforce minimum Ceph clients version to Mimic - command: "{{ container_cli }} exec {{ ceph_mon_id.stdout_lines[0] }} ceph --cluster {{ cluster }} osd set-require-min-compat-client mimic" - delegate_to: "{{ groups['ceph_mon'][0] }}" - vars: - cluster: {get_param: CephClusterName} external_update_tasks: {get_attr: [CephBase, role_data, external_update_tasks]} external_upgrade_tasks: {get_attr: [CephBase, role_data, external_upgrade_tasks]}