Revert "Enforces minimum Ceph client version to Mimic"

This reverts commit 8d962f1362.

There is additional work to be done in Glance/Cinder to handle correctly images moved to 'trash'

Change-Id: Id3d1f23f8a1b393db587d4dcc4cffc3bd09e3935
Closes-Bug: 1951433
This commit is contained in:
Giulio Fidente 2021-11-18 14:29:03 +00:00
parent a674a0141c
commit 871bcde98a
1 changed files with 0 additions and 19 deletions

View File

@ -98,24 +98,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]}