update: update ceph release pattern in complete upgrade play

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>
pull/6245/head
Guillaume Abrioux 2021-02-05 22:27:38 +01:00
parent 39649f0ce8
commit b9cdee40a2
1 changed files with 4 additions and 4 deletions

View File

@ -874,16 +874,16 @@
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: