From: Loic Dachary Date: Sun, 20 Sep 2015 12:54:57 +0000 (+0200) Subject: tests: ceph-disk: multipath now auto activates X-Git-Tag: v9.1.0~89^2^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d24f1f10aaffd89563e233b5d07c124e29a94764;p=ceph.git tests: ceph-disk: multipath now auto activates http://tracker.ceph.com/issues/12786 Refs: #12786 Signed-off-by: Loic Dachary --- diff --git a/qa/workunits/ceph-disk/ceph-disk-test.py b/qa/workunits/ceph-disk/ceph-disk-test.py index a2967c653eaf2..7c52552e44793 100644 --- a/qa/workunits/ceph-disk/ceph-disk-test.py +++ b/qa/workunits/ceph-disk/ceph-disk-test.py @@ -368,14 +368,6 @@ class TestCephDisk(object): assert len(device['partitions']) == 2 data_partition = c.get_osd_partition(osd_uuid) assert data_partition['type'] == 'data' - # - # Activate it although it should auto activate - # - if True: # remove this block when http://tracker.ceph.com/issues/12786 is fixed - c.sh("ceph-disk activate " + data_partition['path']) - device = json.loads(c.helper("ceph-disk list --format json " + multipath))[0] - assert len(device['partitions']) == 2 - data_partition = c.get_osd_partition(osd_uuid) assert data_partition['state'] == 'active' journal_partition = c.get_journal_partition(osd_uuid) assert journal_partition