From 452081e57e5de9bb3a1391f22ffcac1bb712f2e9 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 9 Apr 2018 13:56:31 -0400 Subject: [PATCH] ceph-volume tests/functional add 'activate all' for xenial/bluestore/dmcrypt Signed-off-by: Alfredo Deza --- .../lvm/xenial/bluestore/dmcrypt/test.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/ceph-volume/ceph_volume/tests/functional/lvm/xenial/bluestore/dmcrypt/test.yml b/src/ceph-volume/ceph_volume/tests/functional/lvm/xenial/bluestore/dmcrypt/test.yml index 2009aaefb4ef5..9a60ab2e0ecfa 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/lvm/xenial/bluestore/dmcrypt/test.yml +++ b/src/ceph-volume/ceph_volume/tests/functional/lvm/xenial/bluestore/dmcrypt/test.yml @@ -38,3 +38,26 @@ command: "ceph-volume lvm create --bluestore --data test_group/data-lv1 --osd-id 0" environment: CEPH_VOLUME_DEBUG: 1 + + - name: stop ceph-osd@0 daemon + service: + name: ceph-osd@0 + state: stopped + + - name: destroy osd.0 + command: "ceph osd destroy osd.0 --yes-i-really-mean-it" + + - name: zap test_group/data-lv1 + command: "ceph-volume lvm zap test_group/data-lv1" + environment: + CEPH_VOLUME_DEBUG: 1 + + - name: prepare osd.0 using test_group/data-lv1 + command: "ceph-volume lvm prepare --bluestore --data test_group/data-lv1 --osd-id 0" + environment: + CEPH_VOLUME_DEBUG: 1 + + - name: activate all to start the previously prepared osd.0 + command: "ceph-volume lvm activate --all" + environment: + CEPH_VOLUME_DEBUG: 1 -- 2.39.5