tasks: fix {testdir}/data paths

The multi-cluster branch updated these to have a '$cluster.' prefix

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
Josh Durgin 2016-05-11 12:08:17 -07:00
parent a67a123f0c
commit 26c7dab57e
3 changed files with 4 additions and 4 deletions

View File

@ -218,7 +218,7 @@ def test_objectstore(ctx, config, cli_remote, REP_POOL, REP_NAME, ec=False):
osds = ctx.cluster.only(teuthology.is_type('osd'))
TEUTHDIR = teuthology.get_testdir(ctx)
DATADIR = os.path.join(TEUTHDIR, "data")
DATADIR = os.path.join(TEUTHDIR, "ceph.data")
DATALINECOUNT = 10000
ERRORS = 0
NUM_OBJECTS = config.get('objects', 10)

View File

@ -46,7 +46,7 @@ class KernelMount(CephFSMount):
id=self.client_id, remote=self.client_remote, mnt=self.mountpoint))
keyring = self.get_keyring_path()
secret = '{tdir}/data/client.{id}.secret'.format(tdir=self.test_dir, id=self.client_id)
secret = '{tdir}/ceph.data/client.{id}.secret'.format(tdir=self.test_dir, id=self.client_id)
self.write_secret_file(self.client_remote, 'client.{id}'.format(id=self.client_id),
keyring, secret)
@ -243,4 +243,4 @@ class KernelMount(CephFSMount):
lines = mds_sessions.split("\n")
epoch_barrier = int(lines[2].split()[1].strip('"'))
return epoch, epoch_barrier
return epoch, epoch_barrier

View File

@ -36,7 +36,7 @@ def task(ctx, config):
testdir = teuthology.get_testdir(ctx)
dir = '%s/data/test.%s' % (testdir, client)
dir = '%s/ceph.data/test.%s' % (testdir, client)
seed = str(int(random.uniform(1,100)))