From: Alfredo Deza Date: Thu, 13 Dec 2018 14:49:41 +0000 (-0500) Subject: ceph-volume tests.functional.lvm stop all osds before activating again to test permis... X-Git-Tag: v14.1.0~624^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9be6b15d3316c8eab159bc5d374e95e23d082dde;p=ceph.git ceph-volume tests.functional.lvm stop all osds before activating again to test permissions Otherwise, ``ceph-volume lvm activate --all`` will skip OSDs that are already running. So the test that verifies that permissions are corrected will fail because ``activate`` will simply skip them Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/tests/functional/lvm/playbooks/test_filestore.yml b/src/ceph-volume/ceph_volume/tests/functional/lvm/playbooks/test_filestore.yml index 8937df6fa1ca..8fd1a9ba96d1 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/lvm/playbooks/test_filestore.yml +++ b/src/ceph-volume/ceph_volume/tests/functional/lvm/playbooks/test_filestore.yml @@ -104,6 +104,16 @@ with_items: - "{{ osd_paths.files }}" + - name: stop ceph-osd@2 daemon + service: + name: ceph-osd@2 + state: stopped + + - name: stop ceph-osd@1 daemon + service: + name: ceph-osd@0 + state: stopped + - name: activate all to start the previously prepared osd.0 command: "ceph-volume lvm activate --filestore --all" environment: