]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update.yml: force ceph-volume scan on osds
authorSam Choraria <sam.choraria@bbc.co.uk>
Tue, 17 Sep 2019 16:23:02 +0000 (17:23 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 26 Sep 2019 18:51:59 +0000 (14:51 -0400)
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 <sam.choraria@bbc.co.uk>
(cherry picked from commit 7cc9f93680d84503943d60b2bb950dd68a2259ed)

infrastructure-playbooks/rolling_update.yml

index 3f0b8d7139841c4361da254620aaeae0e6884ffd..43a3a8601fc892cb91d5834cde1c601053941ded 100644 (file)
       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: