Joe Buck
ffac4ad22d
s3tests: extend for multi-region tests
...
Added code to the s3tests task to extract
multi-region info so that that data
can be added to the S3TEST_CONF file
used to run S3 tests.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-28 09:01:16 -07:00
Joe Buck
db518885c9
rgw: persist the region info
...
The rgw task deletes the region info
from the config structure. The s3tests
task needs this info, so we persist
it by sticking it in the ctx object.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewd-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-28 09:00:52 -07:00
Joe Buck
2877e2722b
radosgw-agent: store radosgw_agent server/port
...
Persist the hostname and port number used
by the radosgw-agent http server.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-28 09:00:03 -07:00
Joe Buck
6c5a7af1b4
move multi_region_enabled() into util class
...
Moving a helper function into a more general
location so that it can be used by other
classes.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-28 08:59:15 -07:00
Sage Weil
951177b8e5
internal: whitelist btrfs lock imbalance bug 6097
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-27 21:41:39 -07:00
Samuel Just
c30310af5a
ceph.conf.template: add osd_debug_pg_log_writeout = true
...
Signed-off-by: Samuel Just <sam.just@inktank.com>
2013-08-27 18:48:48 -07:00
Josh Durgin
4d1de2a615
Merge pull request #55 from ceph/wip-undefined
...
Reviewed-by: Sage Weil <sage.weil@inktank.com>
2013-08-27 16:02:44 -07:00
Josh Durgin
232e3d32bc
Fix undefined symbol errors
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-27 15:58:14 -07:00
Zack Cerza
7e49cd1722
Merge pull request #53 from ceph/wip-asok-retry
...
fix admin_socket retry
2013-08-27 08:15:27 -07:00
Sage Weil
502714ba2e
admin_socket: fix retry-on-error behavior
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-26 18:14:37 -07:00
Dan Mick
bf01fa155a
Merge pull request #52 from ceph/wip-6125
...
Don't hardcode path to teuthology-suite
2013-08-26 14:04:19 -07:00
Sage Weil
77706c674c
internal: remove (hopefully obsolete) kern.log checks
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-26 13:48:32 -07:00
Sage Weil
711a02449f
internal: unbreak syslog BUG checks and gz
...
This broke back in ace4cb07b2de99644c63f3ab90c21a663a384e69
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-26 13:47:07 -07:00
Zack Cerza
1adde58e15
Don't hardcode path to teuthology-suite
2013-08-26 13:23:25 -05:00
Zack Cerza
ff1fcc7151
Merge pull request #51 from ceph/wip-queue
...
queue: only git fetch once per minute per branch
2013-08-26 10:14:16 -07:00
Sage Weil
5ec5e2c0e2
ceph_manager: wait for dump_ops_in_flight on osd revival
...
Wait for a command that implies a complete startup instead of
'version' (which does not).
Fixes : #5924
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-24 22:01:45 -07:00
Sage Weil
c861e2d70b
queue: only git fetch once per minute per branch
...
This takes 1-2 seconds and makes launching jobs slow. Only do it once
every 60 seconds per branch.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-23 15:43:35 -07:00
Sage Weil
48116b626b
Merge pull request #50 from ceph/wip-worker-lock
...
queue: only let one worker update the teuthology checkouts at a time
2013-08-23 15:33:28 -07:00
Sage Weil
973d5aff1c
queue: only let one worker update the teuthology checkouts at a time
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-23 13:43:18 -07:00
Sandon Van Ness
c107adeb68
Fix for blank yaml.
...
As well as fix variabl variable naming.
2013-08-23 10:38:13 -07:00
Sage Weil
9115663a74
Merge pull request #49 from ceph/sentry
...
Rewrite branch fetching.
2013-08-23 09:34:44 -07:00
Zack Cerza
14ef37b1cc
Merge pull request #48 from ceph/wip-nuke-firmware
...
nuke: clean up stray firmware.git locks
2013-08-23 09:03:52 -07:00
Sage Weil
86caebbed7
nuke: clean up stray firmware.git locks
...
These get lost occasionally and cause all firmware.git updates to
fail when the kernel task runs.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-23 09:00:47 -07:00
Zack Cerza
eafd591ab1
Move git stuff to fetch_teuthology_branch()
2013-08-23 10:08:01 -05:00
Zack Cerza
307284c2ed
Rewrite branch fetching.
2013-08-23 09:59:48 -05:00
Sage Weil
22fc733770
queue: fetch origin, not branch
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-22 22:20:26 -07:00
Sage Weil
f8f4c2d0e4
suite: only skip on non-vps if os-type is actually defined
...
If it's not defined, as it is (not) with most of the nightlies,
proceed!
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-22 22:18:55 -07:00
Sage Weil
c39ec60d48
queue: only bootstrap new checkouts
...
Until we figure out why bootstrap is getting stuck like this:
9851 pts/7 S 0:03 /home/teuthworker/teuthology-master/virtualenv/bin/python ./teuthology-master/virtualenv/bin/teuthology-worker -v --archive-dir /var/lib/teuthworker/archive --tube plana --log-dir /var/lib/teuthworker/archive/worker_logs
2075 pts/7 Z 0:00 \_ [git] <defunct>
2112 pts/7 Z 0:00 \_ [git] <defunct>
2138 pts/7 Z 0:00 \_ [bootstrap] <defunct>
9852 pts/7 S 0:03 /home/teuthworker/teuthology-master/virtualenv/bin/python ./teuthology-master/virtualenv/bin/teuthology-worker -v --archive-dir /var/lib/teuthworker/archive --tube plana --log-dir /var/lib/teuthworker/archive/worker_logs
2153 pts/7 Z 0:00 \_ [git] <defunct>
2177 pts/7 Z 0:00 \_ [git] <defunct>
2264 pts/7 Z 0:00 \_ [bootstrap] <defunct>
9853 pts/7 S 0:03 /home/teuthworker/teuthology-master/virtualenv/bin/python ./teuthology-master/virtualenv/bin/teuthology-worker -v --archive-dir /var/lib/teuthworker/archive --tube plana --log-dir /var/lib/teuthworker/archive/worker_logs
2141 pts/7 Z 0:00 \_ [git] <defunct>
2276 pts/7 Z 0:00 \_ [git] <defunct>
2305 pts/7 Z 0:00 \_ [bootstrap] <defunct>
9854 pts/7 S 0:03 /home/teuthworker/teuthology-master/virtualenv/bin/python ./teuthology-master/virtualenv/bin/teuthology-worker -v --archive-dir /var/lib/teuthworker/archive --tube plana --log-dir /var/lib/teuthworker/archive/worker_logs
7448 pts/7 Z 0:00 \_ [git] <defunct>
7449 pts/7 Z 0:00 \_ [git] <defunct>
7450 pts/7 Z 0:00 \_ [bootstrap] <defunct>
7452 pts/7 Z 0:00 \_ [teuthology-resu] <defunct>
9855 pts/7 S 0:01 /home/teuthworker/teuthology-master/virtualenv/bin/python ./teuthology-master/virtualenv/bin/teuthology-worker -v --archive-dir /var/lib/teuthworker/archive --tube plana --log-dir /var/lib/teuthworker/archive/worker_logs
7712 pts/7 Z 0:00 \_ [git] <defunct>
7713 pts/7 Z 0:00 \_ [git] <defunct>
7714 pts/7 Z 0:00 \_ [bootstrap] <defunct>
7716 pts/7 Z 0:00 \_ [teuthology-resu] <defunct>
9856 pts/7 S 0:03 /home/teuthworker/teuthology-master/virtualenv/bin/python ./teuthology-master/virtualenv/bin/teuthology-worker -v --archive-dir /var/lib/teuthworker/archive --tube plana --log-dir /var/lib/teuthworker/archive/worker_logs
2316 pts/7 Z 0:00 \_ [bootstrap] <defunct>
9857 pts/7 S 0:03 /home/teuthworker/teuthology-master/virtualenv/bin/python ./teuthology-master/virtualenv/bin/teuthology-worker -v --archive-dir /var/lib/teuthworker/archive --tube plana --log-dir /var/lib/teuthworker/archive/worker_logs
2340 pts/7 Z 0:00 \_ [bootstrap] <defunct>
9858 pts/7 S 0:01 /home/teuthworker/teuthology-master/virtualenv/bin/python ./teuthology-master/virtualenv/bin/teuthology-worker -v --archive-dir /var/lib/teuthworker/archive --tube plana --log-dir /var/lib/teuthworker/archive/worker_logs
23188 pts/7 Z 0:00 \_ [bootstrap] <defunct>
9859 pts/7 S 0:03 /home/teuthworker/teuthology-master/virtualenv/bin/python ./teuthology-master/virtualenv/bin/teuthology-worker -v --archive-dir /var/lib/teuthworker/archive --tube plana --log-dir /var/lib/teuthworker/archive/worker_logs
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-22 22:14:41 -07:00
Sandon Van Ness
dad8d1aa3a
Do not run multiple tests (for distros) on baremetal.
...
Teuthology doesnt care about os_type for baremetal (ATM). This
change makes it so you can run tests that have been switched over
to run on multiple distros (on vms) on baremetal as well as all
non-ubuntu tests will be skiped (to avoid running the same test
multiple times on baremetal.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-08-22 19:36:46 -07:00
Sandon Van Ness
2ea841cdd3
Allow exclude_arch and exclude_os_type in qa-suite yamls
...
Adding the option:
exclude_arch:
or
exclude_os_type:
in the ceph-qa-suite yaml allows tests to be skipped for certain
types of hardware or distros.
Example:
exclude_arch: armv7l
This will make said test not run on arm machines.
exclude_os_type: rhel
Would make multi-distro tests skip a specific test on RHEL.
2013-08-22 19:36:37 -07:00
Zack Cerza
98160c5c99
Fix SyntaxError
2013-08-22 18:31:18 -05:00
Sage Weil
f93b26b983
Merge pull request #47 from ceph/sentry
...
Make the worker obtain the correct teuthology branch
2013-08-22 16:09:14 -07:00
Zack Cerza
a9df6c2a6a
Worker shouldn't attempt to rebuild an existing virtualenv
2013-08-22 18:02:22 -05:00
Zack Cerza
c773060914
Use the ceph.com git mirror.
2013-08-22 15:51:39 -05:00
Zack Cerza
73de8b7734
Use fetch and reset --hard, not checkout and pull
2013-08-22 15:30:31 -05:00
Zack Cerza
c6293a4ee4
Make the worker obtain the correct teuthology branch
2013-08-22 14:47:18 -05:00
Alfredo Deza
10b1567811
Merge pull request #45 from ceph/wip-6084
...
Fix upgrading edge-ish case
2013-08-22 08:24:52 -07:00
Zack Cerza
0e872533f2
Fix upgrading edge-ish case
2013-08-22 09:49:53 -05:00
Sage Weil
de270b080b
install: use get() in _get_config_value_for_remote
...
Fixes : #6080
Signed-off-by: Sage Weil <sage@inktank.com>
Tested-by: Tamil Muthamizhan <tamil.muthamizhan@inktank.com>
2013-08-21 16:45:46 -07:00
Alfredo Deza
ab16813ea9
Merge pull request #44 from ceph/sentry
...
Add initial support for sentry
2013-08-21 14:28:37 -07:00
Joe Buck
520a9384c5
radosgw-admin: use check_status for task success
...
Alter the code to use the 'check_status=True'
option in rgwadmin() rather than following the
call with 'assert not err'. Should make the
tests a bit more clear and result in a more
useful error (throw the call stack rather than
just 'assert new err failed').
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-21 12:38:53 -07:00
Joe Buck
ff2a209f8d
radosgw-admin: adding radosgw-admin tests
...
Adding tests for syncing buckets between
RGWs. Fulfills ticket #5605 .
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-21 12:38:44 -07:00
Zack Cerza
df8ae0415f
Make client a global variable
2013-08-21 10:27:51 -05:00
Zack Cerza
0af6a8a6f2
Beginnings of support for Sentry.
2013-08-21 10:07:12 -05:00
Joe Buck
549bac3ede
radosgw-admin: use dynamic ports for testing
...
The rgw.py task was extended to dynamically
assign port numbers to radosgateways.
This patch extends the radosgw-admin task
to use those ports rather than making out-dated
assumptions of port numbering.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-08-20 21:21:17 -07:00
tmuthamizhan
98896ced4e
Merge pull request #43 from ceph/no-hardcoding
...
Default to using the ubuntu user, while still moving away from hardcoding it
2013-08-20 15:14:43 -07:00
Zack Cerza
71a77f2908
Add get_test_user(), because hardcoding is bad
2013-08-20 16:25:25 -05:00
Alfredo Deza
0a8a1c98b0
Merge pull request #41 from ceph/wip-3791
...
Various usability and documentation fixes
2013-08-19 14:10:18 -07:00
Zack Cerza
22abe02911
Whoops! Make 'MacOS X' a header again.
2013-08-19 13:51:07 -05:00
Zack Cerza
3f42335a55
And, more formatting tweaks.
2013-08-19 13:49:42 -05:00