Josh Durgin
a4261af71b
Merge pull request #227 from ceph/wip-7749
...
Pass '--object-sync-timeout 30' to radosgw-agent
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-17 12:10:27 -07:00
Zack Cerza
ef2edcd3a9
Pass '--object-sync-timeout 30' to radosgw-agent
...
http://tracker.ceph.com/issues/7749
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-17 14:00:08 -05:00
Zack Cerza
7f177b3a55
Merge pull request #226 from ceph/wip-7714
...
prevent undefined values in finally block
2014-03-17 13:42:27 -05:00
Zack Cerza
98e27d7b13
Fix max_job_time timeout
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-17 11:19:02 -05:00
Alfredo Deza
57c8fd9687
prevent undefined values in finally block
...
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-03-17 10:49:31 -04:00
Sage Weil
8f542dbacb
schedule_suite.sh: turn up journal log too
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-17 09:42:12 -05:00
Sandon Van Ness
d3c294d206
Make distro kernels work on Trusty.
...
Some grub changes and package names caused them to fail on trusty.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-03-17 09:42:11 -05:00
Sage Weil
d72335fe9a
Merge remote-tracking branch 'gh/firefly'
2014-03-13 13:15:04 -07:00
Sage Weil
1ccabd802f
lock: allow -a with --brief
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-12 08:57:23 -07:00
Sandon Van Ness
b455846d9f
Handle newer btrfstools.
...
Newer btfs userland tools needs a -f like xfs instead of a prompt
for yes. Trusty needs this change.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-03-11 18:54:02 -07:00
wusui
e5b65b4578
Merge pull request #222 from ceph/wip-trusty
...
Handle newer btrfstools.
2014-03-11 18:48:13 -07:00
Sandon Van Ness
a5a94ae310
Handle newer btrfstools.
...
Newer btfs userland tools needs a -f like xfs instead of a prompt
for yes. Trusty needs this change.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-03-11 18:15:12 -07:00
Samuel Just
1c611330cd
radosbench: cleanup will probably take longer than writing the objects
...
With thrashing, cleanup will require recovering the degraded objects
first, while the initial write out doesn't since they they are new
objects.
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-03-11 13:55:32 -07:00
wusui
a9a826adb8
Merge pull request #220 from ceph/wip-print
...
Add print task.
2014-03-11 09:41:39 -07:00
wusui
77c3cecb11
Merge pull request #221 from ceph/wip-brief
...
lock.py: allow --brief to stand on its own (without --list)
2014-03-10 20:00:38 -07:00
Dan Mick
69ed31cc34
lock.py: allow --brief to stand on its own (without --list)
...
I use --brief all the time, and it's annoying to have to type
the useless --list at the same time.
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-03-10 19:38:46 -07:00
Yuri Weinstein
ed6a200104
Add print task.
...
Made a task that simply prints the output that is given to it as
an argument. Can be used like any other task (under sequential,
etc...)
IE:
tasks:
- print: "String"
- chef: null
- print: "Another String"
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-03-10 16:45:03 -07:00
Josh Durgin
7cb750c4cc
radosgw-admin: test data sync with more than max-entries objects
...
For now hard code the max-entries for the radosgw-agent, since
this is the only test that is affected by it.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-10 00:29:50 -07:00
Josh Durgin
dcad92eb85
radosgw-admin: check that data deletions work as well
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-10 00:29:50 -07:00
Josh Durgin
1143539f33
radosgw-admin: fix typo in data sync test
...
re-indent and set k.key instead of k.Key
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-10 00:29:50 -07:00
Josh Durgin
a74cf33089
radosgw-admin: ignore 301 test against the same src and dest regions
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-10 00:29:50 -07:00
Josh Durgin
55fad94ab1
rgw: create clients in all zones when regions are used
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-10 00:29:50 -07:00
Josh Durgin
1d8dcc4a1b
rgw utils: add function to get data log window configuration
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-10 00:29:50 -07:00
Josh Durgin
8ba02bfccf
radosgw-agent: add logging to radosgw-admin task tests
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-10 00:29:50 -07:00
Josh Durgin
871fe02027
rgw: set placement targets for zones
...
This lets zones use different pools for actual object data.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-10 00:29:50 -07:00
Josh Durgin
93f5d607dd
radosgw-admin: don't compare pools for different zones
...
The actual data locations will be different if they are in the same
cluster.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-10 00:29:50 -07:00
Christophe Courtaut
4d3c1a1997
Adds radosgw-agent small file sync test
...
Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
2014-03-10 00:29:50 -07:00
Sage Weil
a4dfbc88f3
workunit: change timeout 1h -> 3h
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-09 10:29:37 -07:00
Zack Cerza
0b9d8936c2
Add missing space in error message
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-08 17:26:14 -06:00
Zack Cerza
e471f404e6
Make try_push_job_info() retry using safe_while
...
I've noticed sometimes try_push_job_info() fails because of server load
issues. It should try more than once (and now does).
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-08 15:36:22 -06:00
Zack Cerza
73849c1179
Update safe_while's suggested usage pattern
...
I didn't love the way safe_while was encouraged to be used and it didn't
fit right with the new no-raising behavior. Now it's encouraged to be
used like this:
with safe_while() as proceed:
while proceed():
do_things()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-08 15:19:31 -06:00
Zack Cerza
c98098496e
Add optional _raise parameter
...
Defaults to True but if set to False, when giving up log a warning
instead of raising an exception.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-08 14:58:39 -06:00
Zack Cerza
eb667673e4
Pass timeout to _spawn_on_all_clients()
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-08 14:16:07 -06:00
Zack Cerza
4e01884e14
Log correct action in CephManager.remove_pool()
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-08 08:18:53 -06:00
Zack Cerza
72c63f13fa
Log timeout value
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-08 08:01:00 -06:00
Zack Cerza
b4205caedf
Iterate more sensibly over processes
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-08 07:58:13 -06:00
Zack Cerza
204b3ac710
Change default workunit timeout to 1h
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-07 15:14:50 -06:00
Zack Cerza
ec38bd3cb3
Use safe_while's action arg
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-07 14:04:49 -06:00
Zack Cerza
73f5af2f6a
Add optional 'action' parameter to safe_while
...
This is to make it easier to see what actually timed out when scanning
error logs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-07 14:02:33 -06:00
Zack Cerza
7604a1b670
Update safe_while users to reflect new defaults
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-07 13:36:35 -06:00
Zack Cerza
8258c8479b
Change safe_while defaults to 6s 10x no increment
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-07 13:33:27 -06:00
Zack Cerza
081a5c4bf9
Look for ready() in the right place
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-07 13:03:58 -06:00
Sage Weil
ad04075b17
Merge pull request #218 from ceph/wip-radosbench-timeout
...
Introduce a timeout to radosbench's join phase
2014-03-07 09:39:04 -08:00
Zack Cerza
1778d35847
Use a timeout of config.get('time') * 2
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-07 11:36:45 -06:00
Zack Cerza
0be5f1f015
Introduce a timeout to radosbench's join phase
...
Set to 15min right now.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-07 11:21:31 -06:00
Zack Cerza
4b11d072bf
Mark this 'while True' loop with 'finite' comment
...
If we're going to embark on a mission to rid ourselves of
infinitely-looping while loops, it seems smart to start marking the ones
we've fixed in order to make grepping for unfixed loops easier.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-06 23:09:44 -06:00
Zack Cerza
20bfc97844
Give up on wait_until_healthy() after 15min
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-06 22:32:29 -06:00
Zack Cerza
ac6ebf87b3
Merge pull request #217 from ceph/wip-fix-plus
...
suite: fix + handling
2014-03-06 20:00:09 -06:00
Sage Weil
94d73bd411
suite: fix build_matrix for + case
...
The + means we should concatenate everything in the directory. Do that.
This was totally broken before (and unused until now).
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-06 17:56:01 -08:00
Josh Durgin
57259b54be
rados: use backwards compatible args
...
For ops that default to 0, only add arguments for them if they are
specified in the task config. This lets us use the same task across
ceph versions, even if the older version does not support new op
types, like append on dumpling.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-06 17:32:10 -08:00