Commit Graph

964 Commits

Author SHA1 Message Date
Sage Weil
46a78afabc install: el6 -> rpm
Slightly more general.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-14 16:26:25 -07:00
Warren Usui
0c75c6b1f7 Added el6 install functionality for CentOS systems.
install_packages, remove_packages and remove_sources are now the
installation and removal functions used by teuthology.  Debian
references have been removed outside of tasks/install.py.  CentOS
functionality parallel to Debian have been added to tasks/install.py,
and el6 references have been added to nuke.py, task/ceph-fuse.y and
task/install.py.

Some files created by CentOS are removed with rm -fr.  This should
be changed once the installation/removal rpm procedure is implemented.

Signed-off-by: Warren Usui <warren.usui@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-03-14 16:25:18 -07:00
Warren Usui
01a40cfbf1 Use service instead of initctl to restart rsyslog.
This change is needed to make sure teuthology works on CentOS when the
-a option is specified.

Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-03-13 18:37:25 -07:00
Sage Weil
6dfea4bbed Merge remote-tracking branch 'gh/wip-powercycle-fixes' 2013-03-13 18:09:06 -07:00
Sage Weil
67f0aa11fe ceph.conf: auth debug = true
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-13 13:39:54 -07:00
Sage Weil
740fb85aaa ceph-deploy: uninstall even when no archive
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-13 09:50:09 -07:00
Sam Lang
13d0d5ab96 task/ceph_manager: Only reconnect if powercycled
We don't need to reconnect for remotes
that haven't been powercycled.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-03-13 11:15:51 -05:00
Sage Weil
6043bd7ff7 schedule_suite.sh: crank up mon logs
Until we find #4279.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-13 08:23:59 -07:00
Sam Lang
6be6f6c607 task/thrashosds: Ipmi checking/setup in thrashosds
We don't need to setup the ipmi console on runs that
don't use powercycling, so delay setup of the RemoteConsole
with ipmi to the thrashosd task and only then if the powercycle
config is set.  This avoids spurious test failures from flaky
ipmi.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-03-13 10:19:48 -05:00
Sam Lang
8791b3740c task/ceph_manager: Check that ipmi is enabled
If powercycling was requested for the osd thrasher
we should ensure that we are able to reach the
ipmi console.  This helps us avoid weird errors.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-03-12 22:21:12 -05:00
Sam Lang
5ef2a04137 task/ceph: Recreate /var/run/ceph on powercycle
If a node is powecycled during testing, we need to
recreate /var/run/ceph once the node restarts.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-03-12 22:21:01 -05:00
Sage Weil
fd1e083c61 lock: tolerate description of None
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-12 19:50:07 -07:00
Joe Buck
6511950847 teuthology: update hadoop task for new code layout
Update the teuthology Hadoop task to use
the new code layout.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Sam Lang <sam.lang@inktank.com>
2013-03-12 17:45:51 -07:00
tamil
bdd1feca0d increasing the default memory of vm to 4 MB
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-03-12 12:12:58 -07:00
Sage Weil
a5e1ed286e ceph-deploy: no need to call chef explicitly
The chef task does this.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-11 16:22:02 -07:00
Sage Weil
e9c26063ee ceph-deploy: use ceph.com git mirror
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-11 16:21:47 -07:00
Sage Weil
c6a427be55 ceph: sudo grep /var/log/ceph/ceph.log
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-10 17:08:55 -07:00
Sage Weil
d9a233c9bc mds_thrash: requery mds status inside the wait loop
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-09 22:17:15 -08:00
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