Commit Graph

1146 Commits

Author SHA1 Message Date
Sage Weil
f1d66d2dd5 schedule_suite.sh: check, but do not sync, clock for each run
Trust NTP to actually sync things.  But check the clock skew so we can
verify it if something seems off.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-09 21:34:24 -08:00
Sage Weil
5df43e64ab mpi: substitute $TESTDIR
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-09 21:20:43 -08:00
Sage Weil
b4d2234376 exec/pexec: substitute $TESTDIR into command
It might be better to make this unescaped, but that's trickier.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-09 18:07:06 -08:00
Sage Weil
bfacb3750a schedule_suite.sh: take machine type
This script is getting out of hand.. pretty soon we need to move to python
and argparse.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-08 15:17:15 -08:00
Sage Weil
36b877add3 Revert "ceph.conf: osd debug op order = true"
This reverts commit 4f68e3ee12.

Until we fix 4392... the kernel is sending ops out of order.
2013-03-08 09:33:51 -08:00
Samuel Just
e7c079f790 rados.py: add option to do many short runs
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-03-07 18:06:55 -08:00
tamil
09e14bf474 ceph-deploy task
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-03-07 17:56:29 -08:00
tamil
e0ad6faa5e added 'extras' to install extra packages excluding ceph
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-03-07 17:43:40 -08:00
Josh Durgin
cef6e5d5e9 lock: remove description when unlocking
This will hopefully make it easier to track down what's leaving nodes unlocked.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-03-07 09:40:29 -08:00
Sage Weil
4f68e3ee12 ceph.conf: osd debug op order = true
Debug the osd op ordering by default.  Most of the runs have a small number
of clients, which makes the STL maps cheap.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-06 21:35:41 -08:00
Joe Buck
da1e63bddd testing: fix logic in determining Hadoop master
Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-03-05 18:48:09 -08:00
Joe Buck
6b0a8d3db7 testing: specify ceph.conf path in core-site.xml
Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-03-05 18:47:55 -08:00
Sage Weil
1660d896b0 install: install libcephfs-java
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-05 15:12:02 -08:00
Sage Weil
daad53fc4f ceph-fuse: install via install.py
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-05 14:14:12 -08:00
Warren Usui
09979541ca 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>
2013-02-27 12:28:59 -08:00
Warren Usui
c5b55f9b76 Fix pass/fail display on exit.
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-02-27 12:28:59 -08:00
Sage Weil
1e6e8aeb7f ceph-fuse: fix install_debs call with new syntax
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-27 10:40:50 -08:00
Sage Weil
c0c33834cf 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>
2013-02-26 21:02:14 -08:00
Sage Weil
454e161829 install: fix branch/tag/sha1 selection
We were only allowing selection of packages by branch!

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-26 21:01:11 -08:00
Sage Weil
0e239e64c5 Merge branch 'master' of github.com:ceph/teuthology 2013-02-26 17:53:56 -08:00
Sage Weil
d908c30d60 ceph_manager: use an exception type
Otherwise this obscures the error

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-26 16:47:39 -08:00
Joe Buck
e00bff2278 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>
2013-02-26 10:18:25 -08:00
Joe Buck
9af61cb617 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>
2013-02-26 10:15:45 -08:00
Sage Weil
51fa5fb2c1 nuke: blow away /home/ubuntu/cephtest too
(along with /tmp/cephtest)

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-25 19:15:15 -08:00
Warren Usui
3ebabb346f Add timer.py and display summary info in run.py.
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-02-25 19:15:15 -08:00
caleb miles
b744f42361 radosgw-admin: Bug fixes for issue 4251.
Fixes errors introduced by d44fb14762.

Signed-off-by caleb.miles <caleb.miles@inktank.com>
2013-02-25 19:14:21 -08:00
Sage Weil
bee8dffc34 nuke: blow away /home/ubuntu/cephtest too
(along with /tmp/cephtest)

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-25 17:54:49 -08:00
Warren Usui
3e8d11b409 Add timer.py and display summary info in run.py.
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-02-25 16:02:08 -08:00
Sage Weil
24eeb0da95 rbd: drop udev
The packages have these rules now.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-25 15:12:56 -06:00
Sage Weil
d7337364a3 exec, pexec: set TESTDIR
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-25 15:12:56 -06:00
Sage Weil
31ef4a1276 ceph.conf: debug ms = 1 for monitors
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-25 15:12:56 -06:00
Sage Weil
a60e7b599a rbd: set TESTDIR when running xfstests
[elder@inktank.com: fixed typo]

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-25 15:12:41 -06:00
Sage Weil
d8021a1aa0 nuke: sudo for killall
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-22 10:51:51 -08:00
Joao Eduardo Luis
045a86680d 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>
2013-02-22 01:04:06 +00:00
Joao Eduardo Luis
c1b75c6b0c 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>
2013-02-22 00:44:49 +00:00
Joao Eduardo Luis
d28bb05a65 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>
2013-02-22 00:44:25 +00:00
Sage Weil
278be217b6 ceph.conf: log file, not log dir
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-21 16:21:33 -08:00
Sage Weil
c85ba56397 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>
2013-02-21 15:08:22 -08:00
Sage Weil
17be13b2b4 ceph: fix log, /var/run/ceph stupid
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-21 15:08:14 -08:00
Josh Durgin
a862d8bf77 Fix unused vars, unused imports, and aliasing
Found by pyflakes

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-02-21 14:47:00 -08:00
Josh Durgin
23669be9af 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>
2013-02-21 14:37:46 -08:00
Sage Weil
8b0eef29c5 ceph_manager: fix asok string formatting
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-21 12:52:30 -08:00
Sage Weil
5c0a2f40de ceph: make /var/run/ceph writeable by non-root too
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-21 12:45:26 -08:00
Sage Weil
1d62baf107 ceph: fix /var/log/ceph chown/cmod typo
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-21 12:35:55 -08:00
Sage Weil
e1573ea181 ceph.conf: use default locations for admin socket; fix client log file
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-21 11:35:36 -08:00
Sage Weil
2574d87562 make /var/log/ceph writeable by non-root; make clients log to it
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-21 11:05:30 -08:00
Sage Weil
4431e1efab install: be slightly more efficient
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 21:49:22 -08:00
Sage Weil
00986ce080 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>
2013-02-20 21:46:37 -08:00
Sage Weil
7d8a72a379 ceph-fuse: install -dbg package, too
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 21:36:47 -08:00
Sage Weil
c64cd20103 radosgw-admin: fix sleep syntax error
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 21:02:16 -08:00