]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Dan Mick [Tue, 11 Mar 2014 02:38:46 +0000 (19:38 -0700)]
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>
Josh Durgin [Mon, 10 Mar 2014 07:22:11 +0000 (00:22 -0700)]
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>
Josh Durgin [Mon, 10 Mar 2014 07:20:28 +0000 (00:20 -0700)]
radosgw-admin: check that data deletions work as well
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Mon, 10 Mar 2014 07:19:55 +0000 (00:19 -0700)]
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>
Josh Durgin [Mon, 10 Mar 2014 07:16:28 +0000 (00:16 -0700)]
radosgw-admin: ignore 301 test against the same src and dest regions
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Mon, 10 Mar 2014 07:25:32 +0000 (00:25 -0700)]
rgw: create clients in all zones when regions are used
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Mon, 10 Mar 2014 07:22:39 +0000 (00:22 -0700)]
rgw utils: add function to get data log window configuration
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Mon, 10 Mar 2014 07:12:00 +0000 (00:12 -0700)]
radosgw-agent: add logging to radosgw-admin task tests
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Tue, 26 Nov 2013 02:34:38 +0000 (18:34 -0800)]
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>
Josh Durgin [Tue, 26 Nov 2013 02:33:09 +0000 (18:33 -0800)]
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>
Christophe Courtaut [Thu, 10 Oct 2013 10:28:46 +0000 (12:28 +0200)]
Adds radosgw-agent small file sync test
Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
Sage Weil [Sun, 9 Mar 2014 17:29:37 +0000 (10:29 -0700)]
workunit: change timeout 1h -> 3h
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Sat, 8 Mar 2014 23:26:14 +0000 (17:26 -0600)]
Add missing space in error message
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Sat, 8 Mar 2014 21:21:45 +0000 (15:21 -0600)]
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>
Zack Cerza [Sat, 8 Mar 2014 21:19:31 +0000 (15:19 -0600)]
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>
Zack Cerza [Sat, 8 Mar 2014 20:58:39 +0000 (14:58 -0600)]
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>
Zack Cerza [Sat, 8 Mar 2014 20:16:07 +0000 (14:16 -0600)]
Pass timeout to _spawn_on_all_clients()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Sat, 8 Mar 2014 14:12:16 +0000 (08:12 -0600)]
Log correct action in CephManager.remove_pool()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Sat, 8 Mar 2014 14:01:00 +0000 (08:01 -0600)]
Log timeout value
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Sat, 8 Mar 2014 13:58:13 +0000 (07:58 -0600)]
Iterate more sensibly over processes
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 7 Mar 2014 21:14:50 +0000 (15:14 -0600)]
Change default workunit timeout to 1h
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 7 Mar 2014 20:04:49 +0000 (14:04 -0600)]
Use safe_while's action arg
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 7 Mar 2014 20:02:33 +0000 (14:02 -0600)]
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>
Zack Cerza [Fri, 7 Mar 2014 19:36:35 +0000 (13:36 -0600)]
Update safe_while users to reflect new defaults
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 7 Mar 2014 19:33:27 +0000 (13:33 -0600)]
Change safe_while defaults to 6s 10x no increment
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 7 Mar 2014 19:03:58 +0000 (13:03 -0600)]
Look for ready() in the right place
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Fri, 7 Mar 2014 17:39:04 +0000 (09:39 -0800)]
Merge pull request #218 from ceph/wip-radosbench-timeout
Introduce a timeout to radosbench's join phase
Zack Cerza [Fri, 7 Mar 2014 17:36:45 +0000 (11:36 -0600)]
Use a timeout of config.get('time') * 2
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 7 Mar 2014 17:21:31 +0000 (11:21 -0600)]
Introduce a timeout to radosbench's join phase
Set to 15min right now.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 7 Mar 2014 05:09:44 +0000 (23:09 -0600)]
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>
Zack Cerza [Fri, 7 Mar 2014 04:31:48 +0000 (22:31 -0600)]
Give up on wait_until_healthy() after 15min
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 7 Mar 2014 02:00:09 +0000 (20:00 -0600)]
Merge pull request #217 from ceph/wip-fix-plus
suite: fix + handling
Sage Weil [Fri, 7 Mar 2014 01:55:00 +0000 (17:55 -0800)]
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>
Josh Durgin [Fri, 7 Mar 2014 01:31:07 +0000 (17:31 -0800)]
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>
Sage Weil [Fri, 7 Mar 2014 00:57:45 +0000 (16:57 -0800)]
Merge remote-tracking branch 'gh/firefly'
Sage Weil [Fri, 7 Mar 2014 00:56:14 +0000 (16:56 -0800)]
Revert "Do not spawn a parallel task if dictionary entry does not exist."
This reverts commit
dadc9f7d0b6d9c13ccbc4edeb9f7875fc0ae0cac .
Samuel Just [Wed, 5 Mar 2014 20:39:10 +0000 (12:39 -0800)]
ceph.conf.template: add in sensible erasure coding defaults
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Wed, 5 Mar 2014 20:38:51 +0000 (12:38 -0800)]
ceph_manager: fix erasure coding m, k values
Signed-off-by: Samuel Just <sam.just@inktank.com>
Zack Cerza [Wed, 5 Mar 2014 20:13:04 +0000 (14:13 -0600)]
Log job PID
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Wed, 5 Mar 2014 18:14:50 +0000 (10:14 -0800)]
Merge pull request #216 from ceph/wip-workunit-timeout
Add a 6h timeout to workunits
Zack Cerza [Wed, 5 Mar 2014 17:17:13 +0000 (11:17 -0600)]
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>
Zack Cerza [Mon, 3 Mar 2014 20:47:52 +0000 (14:47 -0600)]
Merge pull request #215 from dachary/wip-ec-pool
ceph-manager: fix ec_pool parameters
Zack Cerza [Mon, 3 Mar 2014 16:24:27 +0000 (10:24 -0600)]
Merge pull request #207 from ceph/wip-7356
helper for bombing out of infinite loops
Loic Dachary [Sat, 1 Mar 2014 23:41:21 +0000 (00:41 +0100)]
ceph-manager: fix ec_pool parameters
* the crush ruleset and the pool create parameters must be identicals
k=2 m= 1
* the --property argument is invalid
* the failure domain is ignored on pool create
Signed-off-by: Loic Dachary <loic@dachary.org>
Alfredo Deza [Fri, 28 Feb 2014 23:32:25 +0000 (18:32 -0500)]
Merge pull request #213 from ceph/wip-kdb-except
Allow setting kdb to fail.
Sandon Van Ness [Fri, 28 Feb 2014 22:16:32 +0000 (14:16 -0800)]
Allow setting kdb to fail.
Some kernels (primarily Debian distro kernels) do not support
setting kdb. Rather than having the entire test fail.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
wusui [Fri, 28 Feb 2014 19:13:46 +0000 (11:13 -0800)]
Merge pull request #212 from ceph/wip-limit
Added --limit option to teuthology-suite.
Zack Cerza [Fri, 28 Feb 2014 17:04:23 +0000 (11:04 -0600)]
Merge pull request #211 from ceph/wip-7554
mds_thrash #7554
Yuri Weinstein [Fri, 28 Feb 2014 00:34:58 +0000 (00:34 +0000)]
Added --limit option to teuthology-suite.
Use --limit to limit the number of jobs being scheduled during
teuthology-suite. Also can be used with schedule_suite.sh via the
10th argument.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
John Spray [Thu, 27 Feb 2014 14:22:02 +0000 (14:22 +0000)]
mds_thrash: Fix a potential getitem on None
get_mds_status returns None for things it can't see,
so have to check for Noneness on all its outputs.
Signed-off-by: John Spray <john.spray@inktank.com>
John Spray [Thu, 27 Feb 2014 14:17:54 +0000 (14:17 +0000)]
mds_thrash: Refactor gevent usage + get traceback
This simplifies the code to make MdsTrash be a greenlet
(as it logically is) rather than encapsulating one that
gets started in __init__ (spawning threads in constructors
is evil).
With this done, do_thrash is called from _run inside an
exception handler that will give us full tracebacks
if something bad happens.
Signed-off-by: John Spray <john.spray@inktank.com>
John Spray [Thu, 27 Feb 2014 14:09:52 +0000 (14:09 +0000)]
mds_thrash: PEP8-ize whitespace
...so that I can edit the code in a python IDE without
it lighting up like a christmas tree!
Signed-off-by: John Spray <john.spray@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 23:15:37 +0000 (17:15 -0600)]
Worker logging tweaks
Change some statements' log levels; don't show bootstrap output if there
is no error.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 22:41:43 +0000 (16:41 -0600)]
--dead implies --refresh
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 22:22:32 +0000 (16:22 -0600)]
Symlink worker log after child starts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 19:13:41 +0000 (13:13 -0600)]
In find_job_info(), also look for orig.config.yaml
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 16:50:39 +0000 (10:50 -0600)]
Push complete info when reporting jobs as dead
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 17:47:02 +0000 (11:47 -0600)]
Merge pull request #210 from ceph/wip-queue
Add teuthology-queue command for beanstalk Managmeent.
Gregory Farnum [Wed, 26 Feb 2014 17:46:43 +0000 (09:46 -0800)]
Merge pull request #208 from ceph/wip-7485
task: Add mds_creation_failure
Reviewed-by: Greg Farnum <greg@inktank.com>
Alfredo Deza [Wed, 26 Feb 2014 13:17:48 +0000 (08:17 -0500)]
fix docstring typo
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
John Spray [Mon, 24 Feb 2014 16:00:37 +0000 (16:00 +0000)]
task: Add mds_creation_failure
This is test code to accompany CephFS fix #7485.
Also fix DaemonState.wait_for_exit to clear up its 'proc'
attribute even if it fails, so that subsequent calls to 'restart'
happen properly.
Signed-off-by: John Spray <john.spray@inktank.com>
Sandon Van Ness [Wed, 26 Feb 2014 03:57:41 +0000 (19:57 -0800)]
Make help a bit more obvious. Misc tweeks.
Put each yaml in the job_description on its own line so not so
wide of a line. Make delete default None not False in function.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Sandon Van Ness [Tue, 25 Feb 2014 19:13:31 +0000 (11:13 -0800)]
Add teuthology-queue command for beanstalk Managmeent.
Supports listing entire queue of machine type and deleting test
suite runs from the queue without wiping the entire queue.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Alfredo Deza [Mon, 24 Feb 2014 21:22:59 +0000 (16:22 -0500)]
use itertools for seconds sum
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Mon, 24 Feb 2014 21:21:58 +0000 (16:21 -0500)]
tests for the new while helper
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Zack Cerza [Mon, 24 Feb 2014 17:20:03 +0000 (11:20 -0600)]
Flip logic of checking whether a branch can report
Previously we checked if the branch being used was in a whitelist of
branches known to contain the reporting feature. Now, switch to checking
against a blacklist of branches known to *not* have the feature:
argonaut, bobtail, cuttlefish and dumpling.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Mon, 24 Feb 2014 20:09:18 +0000 (15:09 -0500)]
add a helper for while loops
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Sage Weil [Fri, 21 Feb 2014 21:51:12 +0000 (13:51 -0800)]
schedule_suite: debug filestore = 20 too
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Fri, 21 Feb 2014 21:01:00 +0000 (16:01 -0500)]
Merge pull request #205 from kdreyer-inktank/jenkins
jenkins: fail fast during job execution
Zack Cerza [Fri, 21 Feb 2014 19:25:30 +0000 (13:25 -0600)]
Merge pull request #206 from ceph/wip-osd-debug
schedule_suite: debug osd = 20 for the time being
Sage Weil [Fri, 21 Feb 2014 19:15:40 +0000 (11:15 -0800)]
schedule_suite: debug osd = 20 for the time being
This will make it easier to chase the first pass of firefly bugs.
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Fri, 21 Feb 2014 18:20:18 +0000 (13:20 -0500)]
Merge pull request #203 from ceph/wip-devstack
Add devstack task
Ken Dreyer [Fri, 21 Feb 2014 18:11:47 +0000 (11:11 -0700)]
jenkins: fail fast during job execution
Jenkins will dynamically write the commands in its database into a
script and run it with "-x" and "-e" in order to display each step and
fail after the first step fails.
Now that our commands are stored in Git, ensure that we're doing the
same thing.
Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
Zack Cerza [Fri, 21 Feb 2014 18:08:37 +0000 (12:08 -0600)]
Merge pull request #204 from ceph/wip-fix7397-wusui
Do not spawn a parallel task if dictionary entry does not exist.
Zack Cerza [Fri, 21 Feb 2014 17:23:31 +0000 (11:23 -0600)]
Add unit test for task.devstack.parse_os_table()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 21 Feb 2014 16:18:41 +0000 (10:18 -0600)]
Add debug output for reconnect() failures
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 21 Feb 2014 15:57:29 +0000 (09:57 -0600)]
Add explanations to asserts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 21 Feb 2014 15:43:33 +0000 (09:43 -0600)]
Guard against ctx.config being unset or None
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Warren Usui [Fri, 21 Feb 2014 04:18:28 +0000 (20:18 -0800)]
Do not spawn a parallel task if dictionary entry does not exist.
Fixes: 7397
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Zack Cerza [Thu, 20 Feb 2014 23:51:36 +0000 (17:51 -0600)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 20 Feb 2014 22:33:39 +0000 (16:33 -0600)]
Don't run the exercise subtask by default
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 20 Feb 2014 17:14:55 +0000 (11:14 -0600)]
Add a retry to the rbd volume verification
This was running into an auth problem intermittently that Josh Durgin
said is likely not a real problem. Still, try the original call first
and fall back to a different one if it fails.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 20 Feb 2014 17:11:43 +0000 (11:11 -0600)]
Fix incorrect exception name in docstring
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 20 Feb 2014 17:01:58 +0000 (11:01 -0600)]
Move external docs URLs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 19 Feb 2014 21:54:15 +0000 (15:54 -0600)]
Wait 30s for Keystone to start
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 18 Feb 2014 15:54:58 +0000 (09:54 -0600)]
Change usages of StringIO.read() to getvalue()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 18 Feb 2014 15:53:57 +0000 (09:53 -0600)]
Source openrc before creating volume
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 14 Feb 2014 20:54:10 +0000 (14:54 -0600)]
Add a new subtask: smoke()
Currently it creates a volume, then verifies that the volume exists in
Ceph - as opposed to some other place. This is intended to verify that
we've configured DevStack at least somewhat correctly.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 14 Feb 2014 17:36:20 +0000 (11:36 -0600)]
Forget about saving the exercise.sh log, for now
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 14 Feb 2014 17:32:37 +0000 (11:32 -0600)]
Allow using different devstack branches
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 13 Feb 2014 16:54:19 +0000 (10:54 -0600)]
Add devstack.exercise subtask
The subtask runs devstack/exercise.sh
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 12 Feb 2014 17:08:25 +0000 (11:08 -0600)]
Make reconnect() use Remote.reconnect()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 12 Feb 2014 17:01:37 +0000 (11:01 -0600)]
Move reboot() to teuthology.misc
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 12 Feb 2014 16:53:01 +0000 (10:53 -0600)]
Add documentation to reboot()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 12 Feb 2014 16:48:11 +0000 (10:48 -0600)]
Add note about memory requirements
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 11 Feb 2014 19:52:23 +0000 (13:52 -0600)]
Simplify create_if_vm's downburst config logic
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 11 Feb 2014 03:04:53 +0000 (21:04 -0600)]
Move restart_apache() to after the reboot
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 11 Feb 2014 01:22:57 +0000 (19:22 -0600)]
Make rejoin-stack.sh start screen in detached mode
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 10 Feb 2014 23:27:06 +0000 (17:27 -0600)]
Actually call Remote.reconnect()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 10 Feb 2014 23:26:51 +0000 (17:26 -0600)]
Tweaks to is_online and reconnect()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>