]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: require_osd_release pacific
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 16 Apr 2020 18:37:02 +0000 (14:37 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 16 Apr 2020 19:32:00 +0000 (15:32 -0400)
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>
infrastructure-playbooks/rolling_update.yml

index e7a4980d4c546b73f9c66ca27485b5acbec34a05..c692c32ef2d6b6285476a336b518f5a35abbae11 100644 (file)
     - 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