From e79dda9a9dc34558aaab46ecda4bbb48e5dd8185 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 21 Aug 2011 17:26:15 -0700 Subject: [PATCH] workunits: set CEPH_CONF environment This allows any ceph util we run (including the rados-api tests) find the config and keyrings they need. --- teuthology/task/workunit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/workunit.py b/teuthology/task/workunit.py index 10fc600387..1361653113 100644 --- a/teuthology/task/workunit.py +++ b/teuthology/task/workunit.py @@ -113,7 +113,7 @@ def _run_tests(ctx, role, tests): run.Raw('&&'), run.Raw('PATH="$PATH:/tmp/cephtest/binary/usr/local/bin"'), run.Raw('LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/tmp/cephtest/binary/usr/local/lib"'), - run.Raw('CEPH_ARGS="-c /tmp/cephtest/ceph.conf"'), + run.Raw('CEPH_CONF="/tmp/cephtest/ceph.conf"'), '{srcdir}/{workunit}'.format( srcdir=srcdir, workunit=workunit, -- 2.39.5