add a helper for while loops

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
tests for the new while helper

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
use itertools for seconds sum

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
fix docstring typo

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Merge pull request #207 from ceph/wip-7356

helper for bombing out of infinite loops
Merge pull request #215 from dachary/wip-ec-pool

ceph-manager: fix ec_pool parameters
Add a 6h timeout to workunits

The timeout is configurable, but defaults to six hours. It's implemented
by using the 'timeout' command on the remote host.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Merge pull request #216 from ceph/wip-workunit-timeout

Add a 6h timeout to workunits
Log job PID

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
ceph_manager: fix erasure coding m, k values

Signed-off-by: Samuel Just <sam.just@inktank.com>
ceph.conf.template: add in sensible erasure coding defaults

Signed-off-by: Samuel Just <sam.just@inktank.com>
Revert "Do not spawn a parallel task if dictionary entry does not exist."

This reverts commit dadc9f7d0b6d9c13ccbc4edeb9f7875fc0ae0cac.
Merge remote-tracking branch 'gh/firefly'
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>
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>
Merge pull request #217 from ceph/wip-fix-plus

suite: fix + handling
Give up on wait_until_healthy() after 15min

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
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>
Introduce a timeout to radosbench's join phase

Set to 15min right now.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Use a timeout of config.get('time') * 2

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>