ceph-volume tests.functional add back sdc1 partitions with parted to redeploy after zapping

Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
Alfredo Deza 2018-11-30 06:44:56 -05:00
parent 945e8f56ce
commit b0bc162b60
2 changed files with 20 additions and 0 deletions

View File

@ -77,6 +77,16 @@
environment:
CEPH_VOLUME_DEBUG: 1
- name: re-create partition /dev/sdc1
parted:
device: /dev/sdc
number: 1
part_start: 0%
part_end: 50%
unit: '%'
state: present
label: gpt
- name: prepare osd.0 again using test_group/data-lv1
command: "ceph-volume --cluster {{ cluster }} lvm prepare --filestore --data test_group/data-lv1 --journal /dev/sdc1 --osd-id 0"
environment:

View File

@ -77,6 +77,16 @@
environment:
CEPH_VOLUME_DEBUG: 1
- name: re-create partition /dev/sdc1
parted:
device: /dev/sdc
number: 1
part_start: 0%
part_end: 50%
unit: '%'
state: present
label: gpt
- name: prepare osd.0 again using test_group/data-lv1
command: "ceph-volume --cluster {{ cluster }} lvm prepare --filestore --data test_group/data-lv1 --journal /dev/sdc1 --osd-id 0"
environment: