Commit Graph

1120 Commits

Author SHA1 Message Date
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
Sage Weil
1df344fece schedule_suite.sh: put sha1 in install: overrides, not ceph:
Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-16 11:30:04 -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
62eb49f6ba schedule_suite.sh: bump suite timeout from 6->8 hours
This captures the current slow rbd tasks.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-11 17:07:14 -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
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
Josh Durgin
d7fe5c0a34 nuke: don't require noipmi in ctx
This is called from run.py too, which won't have ctx.noipmi.
The default of using impmi is fine for now for run.py.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-05-09 18:21:05 -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
Sam Lang
9e6f7b126b nuke.py: Allow ipmi power cycling to be skipped
Some nodes don't have ipmi setup.  Allow nuke to
skip the ipmi checking if -i (--noipmi) is specified.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-05-01 17:18:16 -07:00
Warren Usui
01d2e1593a For vms, fix some bad default configuration settings.
Fixes: #4881
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-05-01 15:18:52 -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
Josh Durgin
935e8685e6 ceph: allow restarting radosgw
Only split once, since radosgw will have client.X after it.
Monitors and MDSs may have names with more .s as well.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-30 16:39:48 -07:00
Josh Durgin
55b16c790b rgw: add to ctx.daemons so it can be stopped/started dynamically
Name the daemon after the client it runs on, since only
one per host is supported anyway.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-30 16:37:48 -07:00
Josh Durgin
4979df32c5 misc: move daemon stopping function to a generic place
This will be useful for other daemons, like radosgw, in the future.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-30 16:35:11 -07:00
Sandon Van Ness
08bf16102a Verbose output on ceph-qa-chef.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-04-30 13:04:28 -07:00
Sage Weil
4f70c898ef misc: default base_test_dir to /home/ubuntu/cephtest
This matches what the teuthworker is currently doing.
2013-04-30 09:15:37 -07:00
Yehuda Sadeh
57404b6a7b swift, s3readwrite: add missing yield
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-04-30 07:06:49 -07:00
Sandon Van Ness
70ce4db476 Disable quiet mode wget output on wget for ceph-qa-chef
So maybe I can get a better idea of what is causing it to fail.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-04-29 17:11:27 -07:00
Yehuda Sadeh
c8ec76eed8 s3tests, s3readwrite, swift: cleanup explicitly
Cleaning up test dir explicitly after run, so that
consecutive runs don't fail.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-04-29 11:24:04 -07:00
Samuel Just
45df0b264e workunit: use passed refspec rather than checking sha1 again
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-28 12:27:52 -07:00
Sage Weil
de745dba8a install.upgrade: apt-get install instead of upgrade
Upgrade does not actually upgrade in some cases; use install!

Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-28 10:28:52 -07:00
Sage Weil
1e52fb9b81 install: prefer 'branch' over 'sha1'
The upgrade tasks specify 'branch' in the job file, but the
schedule_suite.sh script sets a sha1 in the overrides.  Make
the upgrade tests actually test an upgrade by preferring branch
over sha1 when both are specified.

This is fragile, but ought to do the trick for now!

Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-28 09:35:45 -07:00
Warren Usui
2211b1d77f Fix improperly spaced line. 2013-04-26 12:42:41 -07:00
Warren Usui
a0acdcf380 Use get('field', default) to assign downburst values for vps.
Fixes: #4592
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Reviewed by: Dan Mick <dan.mick@inktank.com>
2013-04-25 12:49:09 -07:00
David Zafman
6b8f1c6bce repair_test.py: Additional test cases
Test repair with more than 1 damaged object and with different types of damage
Regression test for bug #4778

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
2013-04-24 17:39:25 -07:00
Warren Usui
fd750da993 Add changes to make teuthology suites work on vms.
Fixes: #4719
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Reviewed by: Dan Mick <dan.mick@inktank.com>
2013-04-23 18:10:29 -07:00
Warren Usui
97c7798512 Merge branch 'wip-teuthologyfix4693-wusui' 2013-04-23 16:30:56 -07:00
Warren Usui
b7aaa1982c Check downburst paths. Display an appropriate error message if an
executable downburst cannot be found.

Fixes: #4693
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Reviewed by: Dan Mick <dan.mick@inktank.com>
2013-04-23 16:28:38 -07:00