]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Replace /tmp/cephtest/ with configurable path
authorSam Lang <sam.lang@inktank.com>
Wed, 23 Jan 2013 20:37:39 +0000 (14:37 -0600)
committerSam Lang <sam.lang@inktank.com>
Thu, 31 Jan 2013 14:23:31 +0000 (08:23 -0600)
commitace4cb07b2de99644c63f3ab90c21a663a384e69
tree77e4510110587bd86669c918173dc54447602d4b
parent14730276b92b3d83746d07a983064211861e1f96
Replace /tmp/cephtest/ with configurable path

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>
51 files changed:
README.rst
teuthology/ceph.conf [deleted file]
teuthology/ceph.conf.template [new file with mode: 0644]
teuthology/misc.py
teuthology/nuke.py
teuthology/task/admin_socket.py
teuthology/task/apache.conf [deleted file]
teuthology/task/apache.conf.template [new file with mode: 0644]
teuthology/task/autotest.py
teuthology/task/blktrace.py
teuthology/task/ceph-fuse.py
teuthology/task/ceph.py
teuthology/task/ceph_manager.py
teuthology/task/chdir-coredump
teuthology/task/cram.py
teuthology/task/die_on_err.py
teuthology/task/divergent_priors.py
teuthology/task/filestore_idempotent.py
teuthology/task/hadoop.py
teuthology/task/internal.py
teuthology/task/kclient.py
teuthology/task/kcon_most.py
teuthology/task/knfsd.py
teuthology/task/lockfile.py
teuthology/task/locktest.py
teuthology/task/lost_unfound.py
teuthology/task/manypools.py
teuthology/task/mpi.py
teuthology/task/nfs.py
teuthology/task/object_source_down.py
teuthology/task/omapbench.py
teuthology/task/osd_backfill.py
teuthology/task/osd_recovery.py
teuthology/task/peer.py
teuthology/task/pexec.py
teuthology/task/qemu.py
teuthology/task/rados.py
teuthology/task/radosbench.py
teuthology/task/radosgw-admin.py
teuthology/task/rbd.py
teuthology/task/rbd_fsx.py
teuthology/task/recovery_bench.py
teuthology/task/rgw-logsocket.py
teuthology/task/rgw.py
teuthology/task/s3readwrite.py
teuthology/task/s3roundtrip.py
teuthology/task/s3tests.py
teuthology/task/scrub_test.py
teuthology/task/swift.py
teuthology/task/watch_notify_stress.py
teuthology/task/workunit.py