]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: no need to remove partitions in lvm_setup.yml
authorAndrew Schoen <aschoen@redhat.com>
Mon, 12 Mar 2018 19:06:39 +0000 (14:06 -0500)
committerSébastien Han <seb@redhat.com>
Mon, 2 Jul 2018 07:45:04 +0000 (09:45 +0200)
Now that we are using ceph_volume_zap the partitions are
kept around and should be able to be reused.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 98e237d234872a66b064ef9e3284a8763dda9186)

tests/functional/lvm_setup.yml

index 21669cc97b9580f92ae1608b7c8b2f3ba303c717..280c2756db53754a2704977ec2446995a7d77f99 100644 (file)
       command: lvcreate --yes -l 50%FREE -n data-lv2 test_group
       failed_when: false
 
-    # purge-cluster.yml does not properly destroy partitions
-    # used for lvm osd journals, this ensures they are removed
-    # for that testing scenario
-    - name: remove /dev/sdc1 if it exists
-      parted:
-        device: /dev/sdc
-        number: 1
-        state: absent
-
-    - name: remove /dev/sdc2 if it exists
-      parted:
-        device: /dev/sdc
-        number: 2
-        state: absent
-
     - name: partition /dev/sdc for journals
       parted:
         device: /dev/sdc