Commit Graph

1108 Commits

Author SHA1 Message Date
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
Sandon Van Ness
1435cb5442 Merge branch 'next' of github.com:ceph/teuthology into next 2013-04-23 11:23:36 -07:00
Sandon Van Ness
0b50cb5e84 Increase IPMI attempts to try to get around Flakey IPMI.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Sam Lang <sam.lang@inktank.com>
2013-04-23 11:22:52 -07:00
Sage Weil
7fbe467f2f ceph.conf: enable full debugging on the mon 2013-04-23 11:02:27 -07:00
Sandon Van Ness
98cc648ca2 Increase IPMI attempts to try to get around Flakey IPMI.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Sam Lang <sam.lang@inktank.com>
2013-04-23 10:35:37 -07:00
Sage Weil
86ad464f3c Merge branch 'next' 2013-04-22 13:01:11 -07:00
Sage Weil
48d89c616a ceph-deploy: fix stop command
Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-22 13:01:02 -07:00
tamil
861ac497e5 added ceph.client.admin.keyring on the client to run rbd and rados tests
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-04-19 18:23:54 -07:00
tamil
2bbac6e482 added extra packages required by ceph-deploy for rbd and rados tests
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-04-19 18:13:01 -07:00
Sage Weil
decdeadfff Merge branch 'next' 2013-04-18 11:11:38 -07:00
Sage Weil
4efed08415 ceph-deploy: stop daemons, archive, then purge[data]
Purge removes logs, and we want to archive those, so explicitly shut down
all daemons before doing the archiving step.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-18 10:15:44 -07:00
Sage Weil
a3c48351a4 ceph.conf: lower mon disk avail warning threshold
Only wanr when we hit 90% instead of default 70%

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit cf4bf09b2c)
2013-04-18 10:15:44 -07:00
Sam Lang
a629e9eec4 Merge branch 'next'
Conflicts:
	teuthology/lock.py
	teuthology/lockstatus.py
	teuthology/misc.py
	teuthology/task/install.py
2013-04-17 18:09:39 -05:00