mirror of https://github.com/ceph/ceph-ansible.git
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
parent
378405e328
commit
7b620a22bc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue