Commit Graph

1057 Commits

Author SHA1 Message Date
Samuel Just
bb2cd9e375 task/: add args.py
The usage doc string for a task is tedious to write and
hard to keep reconciled with the code as defaults are changed.
args.py includes a helper to put it all in one place.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-06-19 15:16:28 -07:00
Warren Usui
778d930d08 Fix to ignore ssh-key checking if running on virtual machines or
if a line that reads 'sshkey: ignore' is in the yaml file.

Fix #5364
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-06-19 11:12:09 -07:00
Warren Usui
1441707222 Make reset of ssh key code conditional on being a virtual machine.
Add and use is_vm to determine if we are running on a virtual machine.

Fix #5364
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-06-19 11:12:05 -07:00
Sage Weil
3649e27770 admin_socket: fetch test from correct branch 2013-06-19 10:36:49 -07:00
Sage Weil
4455f75d17 valgrind: give up and ignore all leveldb leaks
Hopefully if it is our fault we will have our own struct wrapping the
leveldb resource that we leak.
2013-06-19 09:08:17 -07:00
Sandon Van Ness
32c8234725 Use authorized_keys2 instead of authorized_keys
Instead of going through the trouble of adding/removing lines
from authorized_keys which has all our normal keys in it, instead
push keys to the unused authorized_keys2 file which makes the key
management significantly simpler as that file can just be wiped
out each time instead of worrying about preserving contents.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-06-18 09:35:55 -07:00
Sage Weil
ebd003bc82 valgrind: another leveldb leak 2013-06-17 13:53:10 -07:00
Sage Weil
7887f84f9d misc: let clients use any pool
rados.py, for example, creates new pools for each instance.
2013-06-16 14:53:49 -07:00
Sage Weil
7177d2e8fc ceph_manager: fix ceph tell mon.*
Need -- to make cli stop parsing (or quote the options).
Otherwise, the options will be parsed/applied to the cli's
librados instance.
2013-06-16 13:11:50 -07:00
Sage Weil
1ec8ba50fc no need for ceph --concise argument 2013-06-16 09:10:38 -07:00
Samuel Just
9cdc60af3f ceph_manager: use new ceph tell mon.* syntax
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-06-14 10:32:43 -07:00
Sage Weil
8730db1907 rados: fix up for parallel work
- use a separate pool for each client
- create pool at start, destroy pool at end
- use all clients, if not explicitly specified

Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-13 22:48:16 -07:00
tamil
0e30386502 adding a newline to auth key data
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-06-13 17:13:09 -07:00
tamil
662fd9ecd8 Merge branch 'master' of github.com:ceph/teuthology 2013-06-13 16:27:05 -07:00
tamil
e1daa1693e modified ceph-deploy to throw appropriate exceptions
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-06-13 16:26:42 -07:00
Sage Weil
f005204fd9 stop stripping leading \n from osd commands
leaving them in for mon command, but not for any good reason.
2013-06-13 14:51:21 -07:00
Warren Usui
18f2fcd24f Merge branch 'wip-RhelFix-wusui' 2013-06-12 17:05:51 -07:00
Sage Weil
d396096703 valgrind: make leveldb thread suppression more general
The thread can get created from a range of callers; ignore them all.
2013-06-11 19:34:33 -07:00
Warren Usui
8f29b3f9f1 Use install -d for /var/log/ceph.
Additional fix needed for #4946

Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-06-11 16:50:09 -07:00
Warren Usui
ae74abda26 Fix capitalization of CentOS
Fixes: #5313
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-06-11 14:14:07 -07:00
tamil
335185d309 added support for rhel
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-06-10 15:41:48 -07:00
Dan Mick
a3c1122658 teuthology-lock --summary: allow --machine-type=all
Somehow this got lost; putting it back

Signed-off-by: Dan Mick <dan.mick@inktank.com>
(cherry picked from commit e4eb4aa23b)
2013-06-10 14:10:52 -07:00
Sage Weil
0911e5493b ceph: ignore ceph-osd leaks for now :( 2013-06-10 10:45:10 -07:00
Warren Usui
d034e17a11 Merge branch 'wip-teuthVm-wusui' 2013-06-10 09:46:42 -07:00
Sage Weil
c41e6ff5ba valgrind: glibc/boost_thread leak suppressions 2013-06-08 22:26:31 -07:00
Sage Weil
22532cc816 ceph_manager: drop -- before --format=json arg
Signed-off-by: Sage Weil <sage@inktank.com>
2013-06-07 21:58:41 -07:00
Sage Weil
028f1c709b valgrind: more leveldb whitelisting 2013-06-07 21:20:08 -07:00
Warren Usui
a4994e3bde Support added for running scheduled tasks on virtual machines.
This included:
    A). changes made so that full path names on some files were used
        (scheduled tasks started in different home directories).
    B.) Changes to insure tasks come up on the beanstalkc queue properly,
    C.) Finding and inserting the libvirt eqivalent code for vm machines
        in order to simulate ipmi actions,
    D.) Fix host key code, report valgrind issue more clearly.
    E.) Some message and downburst call changes.

    Fix #4988
    Fix #5122
    Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-06-07 19:32:15 -07:00
tamil
4eb8f8984a merged system_value for rpms
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-06-07 17:40:39 -07:00
tamil
754301bbec support install task for fedora
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-06-07 17:28:21 -07:00
Warren Usui
ed9af6cd97 Merge branch 'wip-RhelInstall-wusui' 2013-06-07 15:00:39 -07:00
Warren Usui
9d6141dd8e Add RHEL support to teuthology
Fix #4946
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-06-07 14:58:28 -07:00
Dan Mick
c95698045d task/install.py: extraneous subscript in upgrade() for only some remotes
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-06-06 15:42:27 -07:00
Dan Mick
e4eb4aa23b teuthology-lock --summary: allow --machine-type=all
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-06-04 17:46:05 -07:00
Dan Mick
188ae8904d ceph_manager: don't say you have no arguments and then list them
Calling ceph pg dump --format=json works better without -- before pg
(how did this work before?...)

Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-06-04 16:11:19 -07:00
Sage Weil
3ec763c420 ceph: fix valgrind grep output parsing
When you pass a single file to zgrep you don't get the filename prefix,
which confuses the split line a few lines down.
2013-06-04 09:07:53 -07:00
Sage Weil
bd7292b529 ceph: debug valgrind error
File "/var/lib/teuthworker/teuthology-master/teuthology/task/ceph.py", line 215, in valgrind_post
    (file, kind) = line.split(':')
ValueError: need more than 1 value to unpack
2013-06-03 09:57:17 -07:00
Sage Weil
64eb6df9fe valgrind: add another leveldb suppression 2013-05-30 22:07:30 -07:00
Sage Weil
d029abfa5a valgrind: update suppressions for leveldb, libc leaks from mon
These result in clean valgrind leak checks on the mon (at least with my
limited vstart testing).
2013-05-30 11:25:32 -07:00
Warren Usui
8f4de687c8 Rhel support added
Fixes: #4946
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-05-28 17:06:45 -07:00
Sage Weil
4e18587930 ceph: fix valgrind log check
- logs are gzipped; use zgrep
- wait for the proc to exit before looking at stdout

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-22 13:22:21 -07:00
Sage Weil
6c9292c80f thrashosds: sync before doing powercycle testing
Hopefully fixes #5112
2013-05-20 12:26:49 -07:00
Sage Weil
d7ec089280 install: make overrides grouped by project
This lets us set different overrides for e.g. ceph vs samba, and makes it
so the schedule_teuthology.sh overrides don't specify a ceph sha1 for
samba installs.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-17 18:53:02 -07:00
tamil
5a274c8eba client config will be done only after the cluster is operational.
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-05-17 12:08:45 -07:00
tamil
bc9f502c60 set permission for config file
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-05-16 13:14:06 -07:00
tamil
7cb59d3b82 added UserKnownHostsfile to ssh config
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-05-16 09:49:40 -07:00
David Zafman
e582e15c81 Fix scrub_test.py permission error
Add description of yaml file including log-whitelist
Add sudo to dd that corrupts data

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Warren Usui <warren.usui@inktank.com>:wq
2013-05-14 16:24:33 -07:00
Josh Durgin
58836d9db9 qemu: load the kvm module before trying to use it
It should be loaded before this, but in some cases it is not for some reason.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-05-13 14:19:59 -07:00
Sage Weil
63203c6e97 localdir: create/cleanup mnt.foo dir on local fs
This creates and cleans up a local mnt dir that can be consumed
by other tasks (like workunit, samba, etc), just like any
other client (ceph-fuse, kclient), except it is just a dir on
the local fs.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-10 23:01:04 -07:00
Warren Usui
a12464f7db Do not scan for vm locks when listing all machines.
Fixes: #4830
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-05-10 17:33:31 -07:00