From 0cf0e88e2922bfd283540d3c5c40a9ebc7613178 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Sun, 20 Sep 2015 22:05:09 +0200 Subject: [PATCH] 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 --- qa/workunits/ceph-disk/ceph-disk-test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/workunits/ceph-disk/ceph-disk-test.py b/qa/workunits/ceph-disk/ceph-disk-test.py index cca4b81deebbe..bcd153d6ce809 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): -- 2.39.5