]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 years agotesting: specify ceph.conf path in core-site.xml
Joe Buck [Wed, 6 Mar 2013 01:22:24 +0000 (17:22 -0800)]
testing: specify ceph.conf path in core-site.xml

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agoinstall: install libcephfs-java
Sage Weil [Tue, 5 Mar 2013 23:12:02 +0000 (15:12 -0800)]
install: install libcephfs-java

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph-fuse: install via install.py
Sage Weil [Tue, 5 Mar 2013 22:14:12 +0000 (14:14 -0800)]
ceph-fuse: install via install.py

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoImplement email task.
Warren Usui [Wed, 27 Feb 2013 19:32:37 +0000 (11:32 -0800)]
Implement email task.

Email.py was added so that the emailto attribute could be passed,
and to prevent 'module object has no attribute: email' errors from
happening.  Run.py actual performs the email operation and calls
suite.email_results to do the actual send mail operation.  The
information passed right now is the summary and config information.

Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoFix pass/fail display on exit.
Warren Usui [Wed, 27 Feb 2013 19:35:55 +0000 (11:35 -0800)]
Fix pass/fail display on exit.

Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoceph-fuse: fix install_debs call with new syntax
Sage Weil [Wed, 27 Feb 2013 18:40:50 +0000 (10:40 -0800)]
ceph-fuse: fix install_debs call with new syntax

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: poll for packages if wait-for-package: true
Sage Weil [Wed, 27 Feb 2013 05:02:14 +0000 (21:02 -0800)]
install: poll for packages if wait-for-package: true

If the yaml has

 wait-for-package: true

then block and poll for the packages to appear if they are not already
there.  This is only useful for new branches or explicit sha1's, obviously.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: fix branch/tag/sha1 selection
Sage Weil [Wed, 27 Feb 2013 05:01:11 +0000 (21:01 -0800)]
install: fix branch/tag/sha1 selection

We were only allowing selection of packages by branch!

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoMerge branch 'master' of github.com:ceph/teuthology
Sage Weil [Wed, 27 Feb 2013 01:53:56 +0000 (17:53 -0800)]
Merge branch 'master' of github.com:ceph/teuthology

12 years agoceph_manager: use an exception type
Sage Weil [Wed, 27 Feb 2013 00:47:33 +0000 (16:47 -0800)]
ceph_manager: use an exception type

Otherwise this obscures the error

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoteuthology: remove CEPH_JAVA_PATH
Joe Buck [Wed, 20 Feb 2013 23:20:45 +0000 (15:20 -0800)]
teuthology: remove CEPH_JAVA_PATH

Since teuthology now uses debian packages,
we do not need to set this in workunit.
The one test that uses this now tests for
it locally.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agoteuthology: add an extra_packages flag to install
Joe Buck [Wed, 20 Feb 2013 19:58:45 +0000 (11:58 -0800)]
teuthology: add an extra_packages flag to install

Some tests require additional packages
(e.g., java bindings, hadoop bindings).
Extend the install task to allow for those
packages to be specified in the yaml files.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Sam Lang <sam.lang@inktank.com>
12 years agonuke: blow away /home/ubuntu/cephtest too
Sage Weil [Tue, 26 Feb 2013 01:54:49 +0000 (17:54 -0800)]
nuke: blow away /home/ubuntu/cephtest too

(along with /tmp/cephtest)

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoAdd timer.py and display summary info in run.py.
Warren Usui [Thu, 21 Feb 2013 22:51:54 +0000 (14:51 -0800)]
Add timer.py and display summary info in run.py.

Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoradosgw-admin: Bug fixes for issue 4251.
caleb miles [Mon, 25 Feb 2013 22:37:23 +0000 (17:37 -0500)]
radosgw-admin: Bug fixes for issue 4251.

Fixes errors introduced by d44fb14762c3d7e2853a8e4be012cd8e4557124e.

Signed-off-by caleb.miles <caleb.miles@inktank.com>

12 years agonuke: blow away /home/ubuntu/cephtest too
Sage Weil [Tue, 26 Feb 2013 01:54:49 +0000 (17:54 -0800)]
nuke: blow away /home/ubuntu/cephtest too

(along with /tmp/cephtest)

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoAdd timer.py and display summary info in run.py.
Warren Usui [Thu, 21 Feb 2013 22:51:54 +0000 (14:51 -0800)]
Add timer.py and display summary info in run.py.

Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agorbd: drop udev
Sage Weil [Mon, 25 Feb 2013 20:08:34 +0000 (12:08 -0800)]
rbd: drop udev

The packages have these rules now.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoexec, pexec: set TESTDIR
Sage Weil [Mon, 25 Feb 2013 17:59:21 +0000 (09:59 -0800)]
exec, pexec: set TESTDIR

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph.conf: debug ms = 1 for monitors
Sage Weil [Mon, 25 Feb 2013 17:09:38 +0000 (09:09 -0800)]
ceph.conf: debug ms = 1 for monitors

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agorbd: set TESTDIR when running xfstests
Sage Weil [Mon, 25 Feb 2013 07:00:26 +0000 (23:00 -0800)]
rbd: set TESTDIR when running xfstests

[elder@inktank.com: fixed typo]

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agonuke: sudo for killall
Sage Weil [Fri, 22 Feb 2013 18:51:51 +0000 (10:51 -0800)]
nuke: sudo for killall

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agotask: ceph: create monitor data directories prior to --mkfs
Joao Eduardo Luis [Fri, 22 Feb 2013 01:04:06 +0000 (01:04 +0000)]
task: ceph: create monitor data directories prior to --mkfs

The new monitor store does not create the data directory on --mkfs. We
must create it instead, much like what happens with the osds.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
12 years agotask: mon_thrash: Thrash multiple monitors and 'maintain-quorum' option
Joao Eduardo Luis [Tue, 12 Feb 2013 15:31:28 +0000 (15:31 +0000)]
task: mon_thrash: Thrash multiple monitors and 'maintain-quorum' option

We now add a new option 'thrash-many' that by being set to true will break
the default behaviour of killing only one monitor at a time.  Instead,
this option will select up to the maximum number of killable monitors to
kill in each round.

We also add a new 'maintain-quorum' option that will limit the amount of
monitors that can be killed in each thrashing round.  If set to true, this
option will limit the amount of killable monitors up to (n/2-1).  This
means that if we are running a configuration that only has up to two
configured monitors, if 'maintain-quorum' is set to true, this task won't
run as there are no killable monitors -- in such a scenario, this option
should be set to false.

Furthermore, if 'store-thrash' is set to true, then 'maintain-quorum' must
also be set to true, as we cannot let the task to thrash all the monitor
stores, or we wouldn't be able to sync from other monitors, nor can we
let quorum be dropped, or we won't be able to resync our way into quorum.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
12 years agotask: mon_thrash: Add 'seed' and 'store-thrash' options
Joao Eduardo Luis [Mon, 11 Feb 2013 15:11:44 +0000 (15:11 +0000)]
task: mon_thrash: Add 'seed' and 'store-thrash' options

This patch introduces an option to thrash a monitor store when we thrash
the monitors, as well as a 'store-thrash-probability' option (defaulting
to 50%).

We also took this opportunity to introduce a new 'seed' option, that ought
to allow a given run of this task to be reproducible.  This might come in
hand when attempting to reproduce a given behavior that would otherwise
be randomly triggered.

You should note that while the 'seed' option will indeed mimic past
behaviors, this only applies to a past behavior of this task: other tasks
are not affected by this value, nor are any workunits or even ceph daemons.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
12 years agoceph.conf: log file, not log dir
Sage Weil [Fri, 22 Feb 2013 00:21:33 +0000 (16:21 -0800)]
ceph.conf: log file, not log dir

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: ignore apt-get update failures on package removal
Sage Weil [Thu, 21 Feb 2013 22:34:06 +0000 (14:34 -0800)]
install: ignore apt-get update failures on package removal

At that point we don't really care.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: fix log, /var/run/ceph stupid
Sage Weil [Thu, 21 Feb 2013 21:13:51 +0000 (13:13 -0800)]
ceph: fix log, /var/run/ceph stupid

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoFix unused vars, unused imports, and aliasing
Josh Durgin [Thu, 21 Feb 2013 22:47:00 +0000 (14:47 -0800)]
Fix unused vars, unused imports, and aliasing

Found by pyflakes

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoradosgw-admin: fix errors found by pyflakes
Josh Durgin [Thu, 21 Feb 2013 22:37:32 +0000 (14:37 -0800)]
radosgw-admin: fix errors found by pyflakes

Using the wrong variable, and true/false are capitalized in python.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoceph_manager: fix asok string formatting
Sage Weil [Thu, 21 Feb 2013 20:52:30 +0000 (12:52 -0800)]
ceph_manager: fix asok string formatting

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: make /var/run/ceph writeable by non-root too
Sage Weil [Thu, 21 Feb 2013 20:45:26 +0000 (12:45 -0800)]
ceph: make /var/run/ceph writeable by non-root too

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: fix /var/log/ceph chown/cmod typo
Sage Weil [Thu, 21 Feb 2013 20:34:53 +0000 (12:34 -0800)]
ceph: fix /var/log/ceph chown/cmod typo

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph.conf: use default locations for admin socket; fix client log file
Sage Weil [Thu, 21 Feb 2013 19:35:36 +0000 (11:35 -0800)]
ceph.conf: use default locations for admin socket; fix client log file

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomake /var/log/ceph writeable by non-root; make clients log to it
Sage Weil [Thu, 21 Feb 2013 19:05:30 +0000 (11:05 -0800)]
make /var/log/ceph writeable by non-root; make clients log to it

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: be slightly more efficient
Sage Weil [Thu, 21 Feb 2013 05:49:22 +0000 (21:49 -0800)]
install: be slightly more efficient

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: be more careful about package removal
Sage Weil [Thu, 21 Feb 2013 05:46:37 +0000 (21:46 -0800)]
install: be more careful about package removal

- call apt separately for each package; it will error out annoyingly if
there is one in the list not in the APT sources.
- use dpkg with appropriate force to clean up broken half-installs.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph-fuse: install -dbg package, too
Sage Weil [Thu, 21 Feb 2013 05:36:47 +0000 (21:36 -0800)]
ceph-fuse: install -dbg package, too

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoradosgw-admin: fix sleep syntax error
Sage Weil [Thu, 21 Feb 2013 05:02:16 +0000 (21:02 -0800)]
radosgw-admin: fix sleep syntax error

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: install libcephfs1[-dbg]
Sage Weil [Thu, 21 Feb 2013 00:27:52 +0000 (16:27 -0800)]
install: install libcephfs1[-dbg]

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph_manager: drop extra line
Sage Weil [Thu, 21 Feb 2013 00:21:42 +0000 (16:21 -0800)]
ceph_manager: drop extra line

Ooops, from 0c990f3add7fe2a08d13511f3c7bf814eb6558f1.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agorun: print pass/FAIL as final line
Sage Weil [Wed, 20 Feb 2013 23:27:02 +0000 (15:27 -0800)]
run: print pass/FAIL as final line

Makes it easy to tell at a glance if your last test passed or not.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoMerge remote-tracking branch 'origin/wip-3634'
Yehuda Sadeh [Wed, 20 Feb 2013 22:10:50 +0000 (14:10 -0800)]
Merge remote-tracking branch 'origin/wip-3634'

12 years agoceph_manager: eventually time out while waiting for admin socket
Sage Weil [Wed, 20 Feb 2013 06:24:27 +0000 (22:24 -0800)]
ceph_manager: eventually time out while waiting for admin socket

Otherwise we get stuck in a loop if an osd crashes unexpectedly, the
task never fails, and we don't collect all the evidence.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoschedule_suite.sh: drop obligatory install task
Sage Weil [Wed, 20 Feb 2013 06:15:18 +0000 (22:15 -0800)]
schedule_suite.sh: drop obligatory install task

Added these to ceph-qa-suite.git instead.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoMerge branch 'unstable'
Sage Weil [Wed, 20 Feb 2013 05:04:24 +0000 (21:04 -0800)]
Merge branch 'unstable'

Conflicts:
teuthology/task/workunit.py

12 years agoceph: fix valgrind log check
Sage Weil [Tue, 19 Feb 2013 00:43:04 +0000 (16:43 -0800)]
ceph: fix valgrind log check

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agocleanup-run.sh: figure out owner
Sage Weil [Tue, 19 Feb 2013 00:24:00 +0000 (16:24 -0800)]
cleanup-run.sh: figure out owner

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: clean up flavor, distro, arch detection
Sage Weil [Mon, 18 Feb 2013 23:35:25 +0000 (15:35 -0800)]
install: clean up flavor, distro, arch detection

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoschedule_suite.sh: include install task in all jobs
Sage Weil [Mon, 18 Feb 2013 23:36:34 +0000 (15:36 -0800)]
schedule_suite.sh: include install task in all jobs

This is probably temporary.  It's simpler than adding the task to every
job in the suite.  We'll want to do that later when we want to test
alternative install methods (like ceph-deploy's install function).

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agotesting: export TESTDIR in workunit task.
Joe Buck [Wed, 13 Feb 2013 22:32:52 +0000 (14:32 -0800)]
testing: export TESTDIR in workunit task.

Some command-line tools need to reference the path
to the test directory, which is created at run-time.
We export this as TESTDIR

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Sam Lang <sam.lang@inktank.com>
12 years agomove the install to a separate task.
Sage Weil [Mon, 18 Feb 2013 23:06:52 +0000 (15:06 -0800)]
move the install to a separate task.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agotestrados -> ceph_test_rados
Sage Weil [Mon, 18 Feb 2013 21:39:20 +0000 (13:39 -0800)]
testrados -> ceph_test_rados

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agocleanup-run.sh: <owner> <run name>
Sage Weil [Mon, 18 Feb 2013 21:14:59 +0000 (13:14 -0800)]
cleanup-run.sh: <owner> <run name>

Sloppy... this assumes the run is in the description as the archive dir.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agolock: allow filtering by description, description substring
Sage Weil [Mon, 18 Feb 2013 21:13:11 +0000 (13:13 -0800)]
lock: allow filtering by description, description substring

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agorgw: sudo
Sage Weil [Mon, 18 Feb 2013 20:14:14 +0000 (12:14 -0800)]
rgw: sudo

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agofix a few archive/log stragglers
Sage Weil [Mon, 18 Feb 2013 20:14:12 +0000 (12:14 -0800)]
fix a few archive/log stragglers

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: make gitbuilder host configurable
Sage Weil [Mon, 18 Feb 2013 19:59:26 +0000 (11:59 -0800)]
ceph: make gitbuilder host configurable

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: install -dbg packages, too
Sage Weil [Mon, 18 Feb 2013 17:45:05 +0000 (09:45 -0800)]
ceph: install -dbg packages, too

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: create /var/run/ceph
Sage Weil [Mon, 18 Feb 2013 17:41:00 +0000 (09:41 -0800)]
ceph: create /var/run/ceph

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph-fuse: sudo
Sage Weil [Sun, 17 Feb 2013 17:59:04 +0000 (09:59 -0800)]
ceph-fuse: sudo

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agosudo for admin socket commands
Sage Weil [Sun, 17 Feb 2013 17:23:23 +0000 (09:23 -0800)]
sudo for admin socket commands

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agocfuse -> ceph-fuse
Sage Weil [Sun, 17 Feb 2013 07:53:23 +0000 (23:53 -0800)]
cfuse -> ceph-fuse

12 years agoceph: store logs in normal location
Sage Weil [Sun, 17 Feb 2013 07:44:03 +0000 (23:44 -0800)]
ceph: store logs in normal location

We need to switch around how these are compressed and pulled, since they
aren't in the regular archive dir anymore.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: use default data, keyring locations
Sage Weil [Sun, 17 Feb 2013 06:32:16 +0000 (22:32 -0800)]
ceph: use default data, keyring locations

This required reordering the cluster setup so that we do the ceph-osd
--mkfs --mkkey prior to gathering keys and initializing the monitors.

Also, run daemons as root.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: don't uninstall librados, librbd
Sage Weil [Sun, 17 Feb 2013 05:53:46 +0000 (21:53 -0800)]
ceph: don't uninstall librados, librbd

This forces uninstall of kvm too, which is expensive.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: pass package version to apt-get install
Sage Weil [Sun, 17 Feb 2013 05:31:50 +0000 (21:31 -0800)]
ceph: pass package version to apt-get install

This avoids problems when a different or newer version of the package is
already installed.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoavoid secretfile, except for kclient
Sage Weil [Sun, 17 Feb 2013 05:30:57 +0000 (21:30 -0800)]
avoid secretfile, except for kclient

Only mount.ceph needs the secret in a standalone file.  Remove other users,
and simplify that one.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agorgw: specify keyring location
Sage Weil [Sun, 17 Feb 2013 03:37:17 +0000 (19:37 -0800)]
rgw: specify keyring location

Otherwise we look at the default /var/lib/ceph/radosgw/ceph-$id/keyring.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agonuke: tolerate failed dpkg --configure -a/apt-get -f install
Sage Weil [Sun, 17 Feb 2013 03:36:45 +0000 (19:36 -0800)]
nuke: tolerate failed dpkg --configure -a/apt-get -f install

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall radosgw
Sage Weil [Sun, 17 Feb 2013 00:20:07 +0000 (16:20 -0800)]
install radosgw

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agorbd: remove merge cruft
Sage Weil [Sun, 17 Feb 2013 00:18:44 +0000 (16:18 -0800)]
rbd: remove merge cruft

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: simplify apt-key management
Sage Weil [Sat, 16 Feb 2013 01:41:46 +0000 (17:41 -0800)]
ceph: simplify apt-key management

Run apt-key as root. No need to initialize ubuntu user's gpg.  Fix
whitespace.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: put client keyrings in /etc/ceph/ceph.$name.keyring
Sage Weil [Sat, 16 Feb 2013 01:19:32 +0000 (17:19 -0800)]
ceph: put client keyrings in /etc/ceph/ceph.$name.keyring

And make it world readable, for ubuntu's sake.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agonuke: dpkg --configure -a and apt-get -f install
Sage Weil [Sat, 16 Feb 2013 00:58:40 +0000 (16:58 -0800)]
nuke: dpkg --configure -a and apt-get -f install

Installing debs means we are more likely to hit a case where we interrupt
apt/dpkg.  Try to mop up as best we can in nuke.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agonuke: whitespace
Sage Weil [Sat, 16 Feb 2013 00:48:41 +0000 (16:48 -0800)]
nuke: whitespace

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: simpilfy package removal
Sage Weil [Fri, 15 Feb 2013 23:39:02 +0000 (15:39 -0800)]
ceph: simpilfy package removal

apt-get doesn't have a nice way to tell if the package is not install and
we don't need to purge it.  Well, not one I found in 5 minutes.  Just
do a big purge and assume it works, or failed because there was nothing to
be done.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agonuke: remove librados, librbd
Sage Weil [Fri, 15 Feb 2013 23:38:08 +0000 (15:38 -0800)]
nuke: remove librados, librbd

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: install ceph-mds, ceph-common
Sage Weil [Fri, 15 Feb 2013 23:17:25 +0000 (15:17 -0800)]
ceph: install ceph-mds, ceph-common

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph: fix purge
Sage Weil [Fri, 15 Feb 2013 23:17:18 +0000 (15:17 -0800)]
ceph: fix purge

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoInstall ceph debs and use installed debs
Sander Pool [Wed, 6 Feb 2013 19:16:52 +0000 (19:16 +0000)]
Install ceph debs and use installed debs

The ceph task installs ceph using the debian
packages now, and all invocations of binaries installed
in {tmpdir}/binary/usr/local/bin/ are replace with
the use of the binaries installed in standard locations
by the debs.

Author:    Sander Pool <sander.pool@inktank.com>
Signed-off-by: Sam Lang <sam.lang@inktank.com>
12 years agonuke: testrados -> ceph_test_rados
Sage Weil [Mon, 18 Feb 2013 21:38:54 +0000 (13:38 -0800)]
nuke: testrados -> ceph_test_rados

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomisc: replace : with - in testdir name
Sage Weil [Mon, 18 Feb 2013 06:13:45 +0000 (22:13 -0800)]
misc: replace : with - in testdir name

The :'s break the list in $PATH.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoschedule_suite.sh: fix s3branch
Sage Weil [Fri, 15 Feb 2013 17:33:27 +0000 (09:33 -0800)]
schedule_suite.sh: fix s3branch

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agorbd_fsx: binary name now has ceph_ prefix
Sage Weil [Fri, 15 Feb 2013 17:12:25 +0000 (09:12 -0800)]
rbd_fsx: binary name now has ceph_ prefix

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agorados: testrados -> ceph_test_rados
Sage Weil [Wed, 13 Feb 2013 22:10:33 +0000 (14:10 -0800)]
rados: testrados -> ceph_test_rados

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoschedule_suite.sh: choose s3branch based on teuthology branch
Sage Weil [Wed, 13 Feb 2013 16:50:46 +0000 (08:50 -0800)]
schedule_suite.sh: choose s3branch based on teuthology branch

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoschedule_suite.sh: take option teuthology branch arg
Sage Weil [Wed, 13 Feb 2013 05:15:52 +0000 (21:15 -0800)]
schedule_suite.sh: take option teuthology branch arg

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoschedule_suite.sh: ensure ceph and kernel branches exist
Sage Weil [Wed, 13 Feb 2013 05:24:16 +0000 (21:24 -0800)]
schedule_suite.sh: ensure ceph and kernel branches exist

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agopeer: add recovery delay to make test behave
Sage Weil [Mon, 11 Feb 2013 14:59:17 +0000 (06:59 -0800)]
peer: add recovery delay to make test behave

Otherwise it was (very) racy!

12 years agoMerge to include --machine-type and changes to --summary
Sandon Van Ness [Fri, 8 Feb 2013 00:34:14 +0000 (16:34 -0800)]
Merge to include --machine-type and changes to --summary

Added the ability to support multiple types of machines with
--machine-type added to teuthology-lock when used with --lock-many
or --machine-type with teuthology --lock (automated tests). It
defaults to 'plana' and the 'vps' type is currently unused but
should be in the future.

Also updated teutholoy-lock --summary to be machine type aware
and sort things in a nice output.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoMade teuthology-lock --summary machine type aware.
Sandon Van Ness [Fri, 8 Feb 2013 00:06:21 +0000 (16:06 -0800)]
Made teuthology-lock --summary machine type aware.

Signed-off-by: Sandon Van Ness <sandon@van-ness.com>
12 years agoAdded support for multiple types of machines.
Sandon Van Ness [Tue, 5 Feb 2013 20:53:08 +0000 (12:53 -0800)]
Added support for multiple types of machines.

Added the ability to support multiple types of machines with
--machine-type added to teuthology-lock when used with --lock-many
or --machine-type with teuthology --lock (automated tests). It
defaults to 'plana' and the 'vps' type is currently unused but
should be in the future.

Signed-off-by: Sandon Van Ness <sandon@van-ness.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
12 years agorgw: parse testdir into apache.conf
Sage Weil [Thu, 7 Feb 2013 06:02:10 +0000 (22:02 -0800)]
rgw: parse testdir into apache.conf

Also fix up the template to use {{field}} for stuff we don't want to parse.
There is probably a better way...

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoosd_recovery: add missing testdir arg
Sage Weil [Thu, 7 Feb 2013 05:43:58 +0000 (21:43 -0800)]
osd_recovery: add missing testdir arg

12 years agoceph_manager: take int or string to osd_admin_socket
Sage Weil [Thu, 7 Feb 2013 01:14:24 +0000 (17:14 -0800)]
ceph_manager: take int or string to osd_admin_socket

This fixes a failure on dump_stuck.

12 years agoradosbench: fix missing format value
Sage Weil [Wed, 6 Feb 2013 17:06:35 +0000 (09:06 -0800)]
radosbench: fix missing format value

tdir is substituted in at the end.  There is probably a better way to do
this.

12 years agorgw: fix testdir format on f
Sage Weil [Wed, 6 Feb 2013 17:04:37 +0000 (09:04 -0800)]
rgw: fix testdir format on f

Format the path, not filehandle

12 years agonuke: don't try unmount if we're rebooting everything anyway
Josh Durgin [Wed, 6 Feb 2013 07:31:37 +0000 (23:31 -0800)]
nuke: don't try unmount if we're rebooting everything anyway

This can cause issues when unmount hangs. Our automatic runs reboot
everything unconditionally, so this caused a bunch of unecessary hangs
when an fs was accidentally rendered un-unmountable.

12 years agonuke: make tmpfs check only umount tmpfs
Josh Durgin [Wed, 6 Feb 2013 07:28:08 +0000 (23:28 -0800)]
nuke: make tmpfs check only umount tmpfs

This would catch things like /tmp/cephtest/mnt.client.0, which are
used by cfuse, rbd, and kclient.