mirror of
https://github.com/ceph/ceph
synced 2025-02-12 05:18:35 +00:00
Teuthology uses /tmp/cephtest/ as the scratch test directory for a run. This patch replaces /tmp/cephtest/ everywhere with a per-run directory: {basedir}/{rundir} where {basedir} is a directory configured in .teuthology.yaml (/tmp/cephtest if not specified), and {rundir} is the name of the run, as given in --name. If no name is specified, {user}-{timestamp} is used. To get the old behavior (/tmp/cephtest), set test_path: /tmp/cephtest in .teuthology.yaml. This change was modivated by #3782, which requires a test dir that survives across reboots, but also resolves #3767. Signed-off-by: Sam Lang <sam.lang@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
[global]
|
|
keyring = {testdir}/ceph.keyring
|
|
log file = {testdir}/archive/log/$name.log
|
|
chdir = ""
|
|
pid file = $name.pid
|
|
auth supported = cephx
|
|
admin socket = {testdir}/asok.$name
|
|
|
|
filestore xattr use omap = true
|
|
|
|
mon clock drift allowed = .250
|
|
|
|
osd crush chooseleaf type = 0
|
|
|
|
[mon]
|
|
mon data = {testdir}/data/mon.$id
|
|
mon cluster log file = {testdir}/archive/log/cluster.mon.$id.log
|
|
|
|
[osd]
|
|
osd data = {testdir}/data/osd.$id.data
|
|
osd journal = {testdir}/data/osd.$id.journal
|
|
osd journal size = 100
|
|
keyring = {testdir}/data/osd.$id.keyring
|
|
osd class dir = {testdir}/binary/usr/local/lib/rados-classes
|
|
|
|
osd scrub load threshold = 5.0
|
|
osd scrub max interval = 600
|
|
|
|
osd recover clone overlap = true
|
|
osd recovery max chunk = 1048576
|
|
|
|
[mds]
|
|
keyring = {testdir}/data/mds.$id.keyring
|
|
lockdep = 1
|
|
mds debug scatterstat = true
|
|
mds verify scatter = true
|
|
mds debug frag = true
|
|
|
|
[client]
|
|
keyring = {testdir}/data/client.$id.keyring
|
|
rgw socket path = {testdir}/apache/tmp/fastcgi_sock/rgw_sock
|
|
rgw cache enabled = true
|
|
rgw enable ops log = true
|
|
rgw enable usage log = true
|
|
|
|
[client.admin]
|
|
keyring = {testdir}/ceph.keyring
|