Commit Graph

764 Commits

Author SHA1 Message Date
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
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
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
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
Yehuda Sadeh
1b0f241dcb Revert "radosgw-admin: Test bucket list for bucket starting with underscore."
This reverts commit fa70eb8f67.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-05-10 10:18:42 -07:00
tamil
5caa2bdecc default project to ceph and extra_pkgs to none
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-05-08 16:05:34 -07:00
Warren Usui
f1dfcba5ee Merge branch 'wip-teuth4768a-wusui'
Conflicts:
	teuthology/task/install.py
2013-05-07 19:27:51 -07:00
Sage Weil
783b92fecb install: default to ceph project throughout
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-07 16:00:26 -07:00
Samuel Just
5741228f60 ceph_manager: add timeout option to revive, increase for power_cycle
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-07 15:51:36 -07:00
Sage Weil
f7c8c27c7b Merge branch 'next' 2013-05-06 21:31:36 -07:00
Sage Weil
f1be93f913 install: only remove ceph data of project is ceph
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-06 18:04:00 -07:00
Sam Lang
0b7cd6a890 task/cifs-mount.py: Task for mounting cifs
The cifs-mount task mounts a smb endpoint from the
first available smbd server (the samba.0 role).  This
task is similar to the ceph-fuse task, file system
tests can be run on the resulting mount point.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-05-06 18:03:59 -07:00
Sam Lang
4899fa1a02 task/samba.py: Samba task to setup/start smbd
The samba task sets up samba on all 'samba' roles
with ceph as the backend storage module.  The task
creates a smb.conf file that points to ceph, and
starts smbd.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-05-06 17:37:25 -07:00
Sam Lang
c0f1ef7373 task/daemon-helper: Add nostdin option
Some daemons (smbd) will try to read from stdin and check if its a
socket, using that for sending/receiving messages.  If /dev/null is
used for stdin, the daemon aborts.  This patch adds a 'nostdin' option
to the daemon-helper so that the daemon can be started without /dev/null
as stdin.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-05-06 17:37:25 -07:00
Sam Lang
980973dc55 task/install.py: Allow installation of non-ceph
Generalizes the install task to specify a "project" which defaults to
'ceph', but can be configured to install different project packages,
for example:

install:
  project: samba
  extra_packages: samba

The default install task uses 'ceph' as the project, and relies on an
existing set of defined packages to install.  For other projects, the
packages to be installed must be specified with the extra_packages
field.  Multiple install tasks can be specified:

install:
install:
  project: samba
  extra_packages: samba

Which installs ceph packages and then samba packages.

Also, cleanup in nuke.py so that nuke and install use the same list of
packages when doing the remove steps.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-05-06 17:37:25 -07:00
Warren Usui
33c154ce9a Fix teuthology installations on physical Centos machines.
Yum installs of packages specify a pacakge number.  Initial
install of yum source changed to not fail if already done.
Added yum cleans where necessary.

Fixes: #4768
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-05-06 11:22:38 -07:00
Sage Weil
e3b0e1e820 s3tests: add force-branch with higher precdence than 'branch'
This way we can force a branch despite something in overrides.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-02 13:47:46 -07:00
Samuel Just
b124e8eafa ceph_manager: mount_osd_data expects osd as a str
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-01 13:14:53 -07:00
Samuel Just
b948406a07 ceph.py: set up ctx.disk_config outside of the loop
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-01 13:14:35 -07:00
Samuel Just
0382aa60e9 ceph.py: the journal component does not current work with restart
Removing for the time being.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-05-01 13:13:52 -07:00
Josh Durgin
8f76d2ee13 Merge remote branch 'origin/next' 2013-05-01 09:52:02 -07:00
Josh Durgin
52742fb072 fix some errors found by pyflakes
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-30 17:09:19 -07:00
Josh Durgin
7df72f2652 s3tests: revert useless portion of 1c50db6a46
Perhaps it was attempting to debug something, but it shouldn't have been committed.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-30 17:02:28 -07:00
Josh Durgin
5a6e560706 rgw tests: remove users after each test
These should all be cleanup up at some point. They're
almost all the same code.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-30 16:49:04 -07:00
Josh Durgin
6aba6d2cad rgw tests: clean up immediately after the test
There's no need for an explicit cleanup function, so move it back
to where it came from (except in s3roundtrip, which did not have it).

Instead, since these use a nested contextmanager, pass through
and yield to the top-level run_tasks after the nested
contextmanager has finished (and thus run all the cleanup steps
in the subtasks for this test).

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-30 16:47:34 -07:00