rolling_update: require_osd_release pacific

Since [1] we need to set pacific for the required OSD release during the
upgrade.

[1] https://github.com/ceph/ceph/commit/cc99c3bc

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
pull/5284/head
Dimitri Savineau 2020-04-16 14:37:02 -04:00 committed by Dimitri Savineau
parent 378405e328
commit 7b620a22bc
1 changed files with 4 additions and 4 deletions

View File

@ -921,14 +921,14 @@
- import_role:
name: ceph-facts
- name: container | disallow pre-octopus OSDs and enable all new octopus-only functionality
command: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }} ceph osd require-osd-release octopus"
- name: container | disallow pre-pacific OSDs and enable all new pacific-only functionality
command: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }} ceph osd require-osd-release pacific"
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: True
when: containerized_deployment | bool
- name: non container | disallow pre-octopus OSDs and enable all new octopus-only functionality
command: "ceph --cluster {{ cluster }} osd require-osd-release octopus"
- name: non container | disallow pre-pacific OSDs and enable all new pacific-only functionality
command: "ceph --cluster {{ cluster }} osd require-osd-release pacific"
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: True
when: not containerized_deployment | bool