From: Loic Dachary Date: Sun, 20 Sep 2015 20:05:09 +0000 (+0200) Subject: tests: ceph-disk: only install multipath on CentOS X-Git-Tag: v9.1.0~89^2^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0cf0e88e2922bfd283540d3c5c40a9ebc7613178;p=ceph.git tests: ceph-disk: only install multipath on CentOS If installed on Ubuntu where multipath does not activate properly, it interferes with the other tests. 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 cca4b81deeb..bcd153d6ce8 100644 --- a/qa/workunits/ceph-disk/ceph-disk-test.py +++ b/qa/workunits/ceph-disk/ceph-disk-test.py @@ -185,7 +185,8 @@ class TestCephDisk(object): logging.basicConfig(level=logging.DEBUG) c = CephDisk() c.helper("install augeas-tools augeas") - c.helper("install multipath-tools device-mapper-multipath") + if c.sh("lsb_release -si") == 'CentOS': + c.helper("install multipath-tools device-mapper-multipath") c.augtool("set /files/etc/ceph/ceph.conf/global/osd_journal_size 100") def test_destroy_osd(self):