]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: fixed environment for osd-class-dir
authorSebastien Ponce <Sebastien.Ponce@cern.ch>
Fri, 6 Feb 2015 14:14:46 +0000 (15:14 +0100)
committerSebastien Ponce <sebastien.ponce@cern.ch>
Tue, 23 Jun 2015 11:04:21 +0000 (13:04 +0200)
osd-class-dir was not set when activating osds in the test environment leading to failures with 'operation not supported' message when trying to lock objects

Signed-off-by: Sebastien Ponce <sebastien.ponce@cern.ch>
qa/workunits/ceph-helpers.sh

index f5a2ee405c81ebb9bfbfb1ae3f61a4e4e597b93b..4dcef3399c25810da01ae1067fc7dac0ded475ec 100755 (executable)
@@ -491,6 +491,7 @@ function activate_osd() {
     ceph_args+=" --osd-data=$osd_data"
     ceph_args+=" --chdir="
     ceph_args+=" --osd-pool-default-erasure-code-directory=.libs"
+    ceph_args+=" --osd-class-dir=.libs"
     ceph_args+=" --run-dir=$dir"
     ceph_args+=" --debug-osd=20"
     ceph_args+=" --log-file=$dir/\$name.log"