From: Guillaume Abrioux Date: Fri, 5 Feb 2021 21:27:38 +0000 (+0100) Subject: update: update ceph release pattern in complete upgrade play X-Git-Tag: v6.0.0~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b9cdee40a213344c4603ca0f7453e2b633d6838d;p=ceph-ansible.git 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 --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 45136c7e3..0d92ee86f 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -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: