From: Sam Choraria Date: Tue, 17 Sep 2019 16:23:02 +0000 (+0100) Subject: rolling_update.yml: force ceph-volume scan on osds X-Git-Tag: v4.0.0~22 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7594bc9181b7c211db7a32fb5c6b559c230daa26;p=ceph-ansible.git rolling_update.yml: force ceph-volume scan on osds The rolling_update.yml playbook fails when scanning ceph-disk osds while deploying nautilus. The --force flag is required to scan existing osds and rewrite their json metadata. Signed-off-by: Sam Choraria (cherry picked from commit 7cc9f93680d84503943d60b2bb950dd68a2259ed) --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 3f0b8d713..43a3a8601 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -420,7 +420,7 @@ when: containerized_deployment | bool - name: scan ceph-disk osds with ceph-volume if deploying nautilus - command: "ceph-volume --cluster={{ cluster }} simple scan" + command: "ceph-volume --cluster={{ cluster }} simple scan --force" environment: CEPH_VOLUME_DEBUG: 1 when: