From 36656c8dc98deb8da10f3300bd627d31c785f865 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Mon, 1 Feb 2016 18:26:05 +0700 Subject: [PATCH] tests: ceph-disk tests pid files must exist http://tracker.ceph.com/issues/13422 made it so ceph-osd won't start unless the pidfile can be created successfully. The default location being the current directory, ceph-osd must explicitly be told to write in a directory where it has write permissions. Signed-off-by: Loic Dachary --- qa/workunits/ceph-disk/ceph-disk-test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/workunits/ceph-disk/ceph-disk-test.py b/qa/workunits/ceph-disk/ceph-disk-test.py index 76c99a4187ea8..0ab5de2a08acb 100644 --- a/qa/workunits/ceph-disk/ceph-disk-test.py +++ b/qa/workunits/ceph-disk/ceph-disk-test.py @@ -209,6 +209,7 @@ class TestCephDisk(object): c = CephDisk() if c.sh("lsb_release -si").strip() == 'CentOS': c.helper("install multipath-tools device-mapper-multipath") + c.conf['global']['pid file'] = '/var/run/ceph/$cluster-$name.pid' # # objecstore # -- 2.39.5