mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
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:
parent
a67a123f0c
commit
26c7dab57e
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user