]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
filestore-to-bluestore: do not use --destroy
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 10 Dec 2019 14:59:50 +0000 (15:59 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 11 Dec 2019 14:04:41 +0000 (09:04 -0500)
Do not use `--destroy` when zapping a device.
Otherwise, it destroys VGs while they are still needed to redeploy the
OSDs.

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

index 9eb998d5355baf39b09e1839888d374ba9a18c30..f09106444c1f00dc3c2f9f7370cce23c035e2502 100644 (file)
           ceph_volume:
             action: "zap"
             osd_fsid: "{{ item }}"
+            destroy: False
           environment:
             CEPH_VOLUME_DEBUG: 1
             CEPH_CONTAINER_IMAGE: "{{ ceph_docker_registry + '/' + ceph_docker_image + ':' + ceph_docker_image_tag if containerized_deployment else None }}"