]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
update: update ceph release pattern in complete upgrade play
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 5 Feb 2021 21:27:38 +0000 (22:27 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 5 Feb 2021 23:34:14 +0000 (00:34 +0100)
since master is now deploying quincy, we must update this.
Otherwise, it will fail like following:

```
Error EPERM: require_osd_release cannot be lowered once it has been set
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/rolling_update.yml

index 45136c7e3f1a535a1d18cce5dea5b0a3eb9fbf6b..0d92ee86f992e05e6d18dc669f098fd2a29f581d 100644 (file)
         name: ceph-facts
         tasks_from: container_binary.yml
 
-    - 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 --cluster {{ cluster }} osd require-osd-release pacific"
+    - name: container | disallow pre-quincy OSDs and enable all new quincy-only functionality
+      command: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }} ceph --cluster {{ cluster }} osd require-osd-release quincy"
       delegate_to: "{{ groups[mon_group_name][0] }}"
       run_once: True
       when:
         - containerized_deployment | bool
         - groups.get(mon_group_name, []) | length > 0
 
-    - name: non container | disallow pre-pacific OSDs and enable all new pacific-only functionality
-      command: "ceph --cluster {{ cluster }} osd require-osd-release pacific"
+    - name: non container | disallow pre-quincy OSDs and enable all new quincy-only functionality
+      command: "ceph --cluster {{ cluster }} osd require-osd-release quincy"
       delegate_to: "{{ groups[mon_group_name][0] }}"
       run_once: True
       when: