]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agoCalculate a timeout to use based on queue size
Zack Cerza [Tue, 29 Apr 2014 16:30:50 +0000 (11:30 -0500)]
Calculate a timeout to use based on queue size

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd --runs, to print only run names
Zack Cerza [Tue, 29 Apr 2014 16:26:39 +0000 (11:26 -0500)]
Add --runs, to print only run names

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRefactor teuthology.beanstalk
Zack Cerza [Mon, 28 Apr 2014 19:35:35 +0000 (14:35 -0500)]
Refactor teuthology.beanstalk

This architecture will make it easier to add new functionality.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #243 from ceph/wip-8116-wusui
Zack Cerza [Tue, 29 Apr 2014 21:16:27 +0000 (16:16 -0500)]
Merge pull request #243 from ceph/wip-8116-wusui

Wip 8116 wusui

11 years agoClean up remote.py and misc.py changes.
Warren Usui [Thu, 24 Apr 2014 22:56:41 +0000 (15:56 -0700)]
Clean up remote.py and misc.py changes.

Fixed method names to be non-redundant (remote_mktemp in remote is
now just mktemp, for example), and made some parameters be more
self descriptive.  Added some docstrings.  Fixed sudo setting in
get_file method.

Made chmod independent of the actual sftp file getting.
Do not do extra file copy if non-sudo read is needed.
Fixed some parameter names. Made sure temp files are removed.

11 years agoHandle raw data I/O.
Warren Usui [Tue, 22 Apr 2014 18:14:51 +0000 (11:14 -0700)]
Handle raw data I/O.

Paramiko 1.13.0 checks data in the Channel and fails if
invalid UTF-8 characters are sent.  The teuthology/misc.py
functions that piped cat output (get_file) and piped tar
output (pull_directory and pull_directory_tarball) formerly
did not work for Paramiko 1.13.0.

Code was changed to use SFTPClient to copy raw data.  The
remote_mktemp and function was changed to be a method of the
remote object.  Remote object methods to copy files and write
tar files were also added.

In misc.py, get_file() was changed to be a wrapper around the
remote object call.  Pull_directory() and pull_directory_tarball
were changed to use the remote object methods as well.

The remote methods used to send the data makes use of the
SFTPClient interface in Paramiko.

The remote_mktemp function was also modified slightly to insure
that new-lines do not appear in temp file names.

Fixes: 8116
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoWhen deleting all of a run's jobs, delete the run
Zack Cerza [Tue, 29 Apr 2014 19:52:31 +0000 (14:52 -0500)]
When deleting all of a run's jobs, delete the run

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoChanges so these are not installed and still removed
Gregory Meno [Tue, 29 Apr 2014 17:44:27 +0000 (10:44 -0700)]
Changes so these are not installed and still removed

11 years agoChanges invocation of serialize_remote_roles to internal task to avoid being run...
Gregory Meno [Tue, 29 Apr 2014 11:20:51 +0000 (04:20 -0700)]
Changes invocation of serialize_remote_roles to internal task to avoid being run during nuke

11 years agoMoves node: remote mapping to the internal task.
Gregory Meno [Thu, 24 Apr 2014 20:18:59 +0000 (13:18 -0700)]
Moves node: remote mapping to the internal task.

11 years agoThese will likely go somewhere better before merge
Gregory Meno [Mon, 14 Apr 2014 11:21:57 +0000 (04:21 -0700)]
These will likely go somewhere better before merge

11 years agoFixes #8050 Adds a cluster.yaml that is written by interactive task
Gregory Meno [Wed, 9 Apr 2014 18:54:33 +0000 (11:54 -0700)]
Fixes #8050 Adds a cluster.yaml that is written by interactive task

11 years agovalgrind: fix tcmalloc suppression for trusty
Sage Weil [Mon, 28 Apr 2014 22:56:57 +0000 (15:56 -0700)]
valgrind: fix tcmalloc suppression for trusty

Fixes: #8225
Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoRevert "valgrind.supp: be less picky about library versions"
Sage Weil [Mon, 28 Apr 2014 21:04:28 +0000 (14:04 -0700)]
Revert "valgrind.supp: be less picky about library versions"

This reverts commit f895d16c9e2fd59aab446254e53480cdb91092a1.

11 years agoMerge pull request #244 from ceph/wip-7199-wusui
wusui [Mon, 28 Apr 2014 18:02:07 +0000 (11:02 -0700)]
Merge pull request #244 from ceph/wip-7199-wusui

Wip 7199 wusui

11 years agoAllow scrubbing while thrashing
Warren Usui [Tue, 22 Apr 2014 17:59:53 +0000 (10:59 -0700)]
Allow scrubbing while thrashing

Added ability to implement scrubbing while thrashing
(scrub_interval in config can be set to an interval
similar to how clean_interval is set).  Defaults to 0,
which indicates that no scrubbing will take place.
Add scrub_interval description to thrashosds docstring.

Fixes: 7199
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoOnly attempt to use sudo if necessary
Zack Cerza [Mon, 28 Apr 2014 16:12:29 +0000 (11:12 -0500)]
Only attempt to use sudo if necessary

11 years agoPost last_in_suite jobs, but delete when run
Zack Cerza [Fri, 25 Apr 2014 20:22:30 +0000 (15:22 -0500)]
Post last_in_suite jobs, but delete when run

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUpdate unit test for Cluster.__repr__()
Zack Cerza [Fri, 25 Apr 2014 20:01:41 +0000 (15:01 -0500)]
Update unit test for Cluster.__repr__()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix Cluster.__repr__()
Zack Cerza [Fri, 25 Apr 2014 16:36:43 +0000 (11:36 -0500)]
Fix Cluster.__repr__()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't push last_in_suite jobs to paddles
Zack Cerza [Thu, 24 Apr 2014 15:46:11 +0000 (10:46 -0500)]
Don't push last_in_suite jobs to paddles

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agotask/: add tests for ec and rep mark_unfound_lost delete
Samuel Just [Wed, 23 Apr 2014 00:38:12 +0000 (17:38 -0700)]
task/: add tests for ec and rep mark_unfound_lost delete

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoBump psutil version requirement
Zack Cerza [Tue, 22 Apr 2014 22:46:02 +0000 (17:46 -0500)]
Bump psutil version requirement

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix for #8115
Sandon Van Ness [Tue, 22 Apr 2014 19:35:11 +0000 (12:35 -0700)]
Fix for #8115

Increase boot disk size per #8115 where monitors shut down due to
/ being full on vm machines.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agoWork around #8166
Zack Cerza [Mon, 21 Apr 2014 15:11:15 +0000 (10:11 -0500)]
Work around #8166

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRequire requests >= 1.0
Zack Cerza [Fri, 18 Apr 2014 15:49:51 +0000 (10:49 -0500)]
Require requests >= 1.0

11 years agowatch_tube() belongs to the beanstalk module
Zack Cerza [Thu, 17 Apr 2014 21:04:39 +0000 (16:04 -0500)]
watch_tube() belongs to the beanstalk module

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUpdate requests version
Zack Cerza [Thu, 17 Apr 2014 20:33:26 +0000 (15:33 -0500)]
Update requests version

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agos/wait-for-package/wait_for_package/
Zack Cerza [Thu, 17 Apr 2014 20:03:37 +0000 (15:03 -0500)]
s/wait-for-package/wait_for_package/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #242 from ceph/wip-7773
Alfredo Deza [Thu, 17 Apr 2014 19:40:59 +0000 (15:40 -0400)]
Merge pull request #242 from ceph/wip-7773

Mirror beanstalkd queue in paddles

11 years agoRefactor try_delete_jobs()
Zack Cerza [Thu, 17 Apr 2014 16:17:22 +0000 (11:17 -0500)]
Refactor try_delete_jobs()

Also tweak its error message

11 years agoBe slightly less verbose about logging
Zack Cerza [Thu, 17 Apr 2014 15:47:17 +0000 (10:47 -0500)]
Be slightly less verbose about logging

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoLook for archive_base in config
Zack Cerza [Wed, 16 Apr 2014 19:31:28 +0000 (14:31 -0500)]
Look for archive_base in config

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoWhen deleting jobs, also delete them from paddles
Zack Cerza [Tue, 15 Apr 2014 15:40:39 +0000 (10:40 -0500)]
When deleting jobs, also delete them from paddles

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoSubmit queued jobs to paddles
Zack Cerza [Tue, 15 Apr 2014 00:46:07 +0000 (19:46 -0500)]
Submit queued jobs to paddles

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRename teuthology.queue to teuthology.worker
Zack Cerza [Tue, 15 Apr 2014 00:39:13 +0000 (19:39 -0500)]
Rename teuthology.queue to teuthology.worker

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse shared methods to connect to beanstalkd
Zack Cerza [Tue, 15 Apr 2014 00:28:54 +0000 (19:28 -0500)]
Use shared methods to connect to beanstalkd

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoWhen killing a run, delete paddles jobs
Zack Cerza [Mon, 14 Apr 2014 20:38:51 +0000 (15:38 -0500)]
When killing a run, delete paddles jobs

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd methods for querying and deleting jobs
Zack Cerza [Mon, 14 Apr 2014 20:38:36 +0000 (15:38 -0500)]
Add methods for querying and deleting jobs

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agosafe_while: Don't sleep() on the first attempt
Zack Cerza [Thu, 17 Apr 2014 16:08:36 +0000 (11:08 -0500)]
safe_while: Don't sleep() on the first attempt

This was causing unnecessary delays in several places

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoPass -D flag to teuthology report
Zack Cerza [Thu, 17 Apr 2014 14:43:07 +0000 (09:43 -0500)]
Pass -D flag to teuthology report

Fixes an issue where tests run on old teuthology branches that died for
uncommon reasons were not being marked as dead

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUpdate to use psutil 2.x API
Zack Cerza [Wed, 16 Apr 2014 20:19:01 +0000 (15:19 -0500)]
Update to use psutil 2.x API

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoGenerate subtasks instead of copy/pasting them
Zack Cerza [Wed, 16 Apr 2014 14:35:04 +0000 (09:35 -0500)]
Generate subtasks instead of copy/pasting them

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't run apache functions if not using apache
Zack Cerza [Tue, 15 Apr 2014 22:02:33 +0000 (17:02 -0500)]
Don't run apache functions if not using apache

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoOptionally use civetweb instead of apache
Zack Cerza [Tue, 15 Apr 2014 19:49:03 +0000 (14:49 -0500)]
Optionally use civetweb instead of apache

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't pass apache's config to radosgw
Zack Cerza [Tue, 15 Apr 2014 19:28:04 +0000 (14:28 -0500)]
Don't pass apache's config to radosgw

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRename some functions and variables
Zack Cerza [Tue, 15 Apr 2014 18:12:00 +0000 (13:12 -0500)]
Rename some functions and variables

This is to make the refactoring a little smoother and easier to read.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix all but one of the PEP-8 issues
Zack Cerza [Tue, 15 Apr 2014 15:50:07 +0000 (10:50 -0500)]
Fix all but one of the PEP-8 issues

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoImprove unlock error messages.
Warren Usui [Tue, 15 Apr 2014 00:04:52 +0000 (17:04 -0700)]
Improve unlock error messages.

Added messages if the hostname is invalid, and if
the user is not the owner of the lock.

Fixes: 6295
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoFix kvm issues for Trusty
Warren Usui [Fri, 28 Mar 2014 23:04:05 +0000 (16:04 -0700)]
Fix kvm issues for Trusty

Change kvm reference to qemu-system-x86_64 and use raw format
in kvm/qemu command.  Tested on both Trusty and Precise.

Fixes: 7825
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoChange status to _status everywhere (fix regression)
Dan Mick [Thu, 10 Apr 2014 21:53:10 +0000 (14:53 -0700)]
Change status to _status everywhere (fix regression)

0550dd119150acf8f7b7da2f32b3938c910c3c99 didn't add '_' to 'status'
everywhere it was needed.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoceph.conf: longer client_moutn_timeout (which also applies to librados)
Sage Weil [Thu, 10 Apr 2014 20:24:27 +0000 (13:24 -0700)]
ceph.conf: longer client_moutn_timeout (which also applies to librados)

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #238 from ceph/wip-pep8
GregMeno [Wed, 9 Apr 2014 20:59:28 +0000 (16:59 -0400)]
Merge pull request #238 from ceph/wip-pep8

Wip pep8

11 years agomore statuses redefinition fixes
Alfredo Deza [Wed, 9 Apr 2014 20:56:19 +0000 (16:56 -0400)]
more statuses redefinition fixes

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agorename variable to avoid collision
Alfredo Deza [Wed, 9 Apr 2014 20:36:18 +0000 (16:36 -0400)]
rename variable to avoid collision

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoremove unused import
Alfredo Deza [Wed, 9 Apr 2014 20:27:25 +0000 (16:27 -0400)]
remove unused import

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agofix redefinition of region
Alfredo Deza [Wed, 9 Apr 2014 20:26:47 +0000 (16:26 -0400)]
fix redefinition of region

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoMerge pull request #236 from ceph/wip-fix-mon-warn-corrected
Josh Durgin [Wed, 9 Apr 2014 01:25:14 +0000 (18:25 -0700)]
Merge pull request #236 from ceph/wip-fix-mon-warn-corrected

changed mon data avail warn  to avoid monitor storage warnings

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
11 years agochanged mon data avail warn to avoid monitor storage warnings
Yuri Weinstein [Wed, 9 Apr 2014 01:04:35 +0000 (18:04 -0700)]
changed mon data avail warn  to avoid monitor storage warnings

11 years agoceph.conf: don't force lockdep on mds
Sage Weil [Mon, 7 Apr 2014 23:02:33 +0000 (16:02 -0700)]
ceph.conf: don't force lockdep on mds

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoReport job updated time
Zack Cerza [Tue, 1 Apr 2014 02:57:53 +0000 (21:57 -0500)]
Report job updated time

When reading job information from archive files, use the mtime of
teuthology.log as the job updated time

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoHandle jobs with no targets
Zack Cerza [Tue, 1 Apr 2014 02:07:24 +0000 (21:07 -0500)]
Handle jobs with no targets

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoWhen ignoring a raised exception, at least log it
Zack Cerza [Mon, 31 Mar 2014 22:46:27 +0000 (17:46 -0500)]
When ignoring a raised exception, at least log it

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoProvide real error messages for unfound (sub)tasks
Zack Cerza [Mon, 31 Mar 2014 14:57:19 +0000 (09:57 -0500)]
Provide real error messages for unfound (sub)tasks

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agovalgrind.supp: be less picky about library versions
Sage Weil [Sat, 29 Mar 2014 16:38:31 +0000 (09:38 -0700)]
valgrind.supp: be less picky about library versions

...so that this works on trusty

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoradosgw-agent: coerce max-entries config to a string
Josh Durgin [Fri, 28 Mar 2014 00:20:54 +0000 (17:20 -0700)]
radosgw-agent: coerce max-entries config to a string

This is necessary to pass it as a command line argument.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoMerge pull request #234 from ceph/wip-priority
Zack Cerza [Thu, 27 Mar 2014 18:09:09 +0000 (13:09 -0500)]
Merge pull request #234 from ceph/wip-priority

schedule_suite: ugly hack to set priority when scheduling

11 years agorgw: idle timeout config moves to the external server line
Yehuda Sadeh [Wed, 26 Mar 2014 23:06:29 +0000 (16:06 -0700)]
rgw: idle timeout config moves to the external server line

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agoschedule_suite: ugly hack to set priority when scheduling
Sage Weil [Thu, 27 Mar 2014 15:06:16 +0000 (08:06 -0700)]
schedule_suite: ugly hack to set priority when scheduling

I don't want to add another arg at the end of the very long list of
optional args, so I'll use an environment variable.  Ugly!  But this whole
script needs to be replace anyway.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoRevert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'"
Zack Cerza [Thu, 27 Mar 2014 16:35:28 +0000 (11:35 -0500)]
Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'"

This reverts commit d693b3f8950ffd1f2492a4db0f8234fee31f00f0.

11 years agoLines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'
Warren Usui [Sat, 1 Mar 2014 03:13:40 +0000 (19:13 -0800)]
Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'
and '(remote,) = ctx.cluster.only(role).remotes.iterkeys()' would fail with
ValueError and no message if there were less than 0 or more than 1 key.
Now a new function, get_single_remote_value() is called which prints out
more understandable messages.

Fixes: 7510
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoDon't explode when finding an empty job
Zack Cerza [Wed, 26 Mar 2014 17:33:40 +0000 (12:33 -0500)]
Don't explode when finding an empty job

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #232 from ceph/wip-suite-priority
Zack Cerza [Wed, 26 Mar 2014 17:16:17 +0000 (12:16 -0500)]
Merge pull request #232 from ceph/wip-suite-priority

suite: allow priority to be set

11 years agosuite: allow priority to be specified when scheduling
Sage Weil [Wed, 26 Mar 2014 17:09:12 +0000 (10:09 -0700)]
suite: allow priority to be specified when scheduling

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agorgw: allow overriding options
Josh Durgin [Wed, 26 Mar 2014 01:04:35 +0000 (18:04 -0700)]
rgw: allow overriding options

This is mainly useful for toggling ec/replicated pools right now.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoradosgw-admin: skip data sync tests when only metadata is configured
Josh Durgin [Tue, 25 Mar 2014 21:57:18 +0000 (14:57 -0700)]
radosgw-admin: skip data sync tests when only metadata is configured

Fixes http://tracker.ceph.com/issues/7818

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agorgw: fix ec-data-pool config
Josh Durgin [Tue, 25 Mar 2014 21:52:06 +0000 (14:52 -0700)]
rgw: fix ec-data-pool config

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoAdd log statement to find_run_info()
Zack Cerza [Tue, 25 Mar 2014 20:50:03 +0000 (15:50 -0500)]
Add log statement to find_run_info()

Sometimes it takes a while.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoExit gracefully on KeyboardInterrupt
Zack Cerza [Tue, 25 Mar 2014 20:40:56 +0000 (15:40 -0500)]
Exit gracefully on KeyboardInterrupt

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd --description flag
Zack Cerza [Tue, 25 Mar 2014 20:38:34 +0000 (15:38 -0500)]
Add --description flag

Default to not printing job descriptions. Add -d/--description flag to
control that behavior. Change --delete's short option to -D. Other small
output tweaks.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agos/JOB/PATTERN/
Zack Cerza [Tue, 25 Mar 2014 20:31:07 +0000 (15:31 -0500)]
s/JOB/PATTERN/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoTweak usage
Zack Cerza [Tue, 25 Mar 2014 20:29:56 +0000 (15:29 -0500)]
Tweak usage

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoCorrect help text
Zack Cerza [Tue, 25 Mar 2014 20:28:56 +0000 (15:28 -0500)]
Correct help text

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix lots of linter errors
Zack Cerza [Tue, 25 Mar 2014 20:27:54 +0000 (15:27 -0500)]
Fix lots of linter errors

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd --preserve-queue to teuthology-kill
Zack Cerza [Tue, 25 Mar 2014 15:15:41 +0000 (10:15 -0500)]
Add --preserve-queue to teuthology-kill

For any cases where we just want to kill the running jobs and not delete
any scheduled jobs. This only applies to killing entire runs and is not
the default.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoPostpone creation of logger object
Zack Cerza [Tue, 25 Mar 2014 15:07:52 +0000 (10:07 -0500)]
Postpone creation of logger object

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agorgw: add option to use erasure coding instead of replication
Josh Durgin [Tue, 25 Mar 2014 01:19:41 +0000 (18:19 -0700)]
rgw: add option to use erasure coding instead of replication

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoradosgw-agent: default to 1000 max entries
Josh Durgin [Mon, 24 Mar 2014 21:54:23 +0000 (14:54 -0700)]
radosgw-agent: default to 1000 max entries

Using a small number of max entries is only needed for one test, so
make it configurable. Setting it too low makes s3tests fail.

Fixes http://tracker.ceph.com/issues/7742

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agointernal: cleaner fix for binary gibberish in logs
Josh Durgin [Mon, 24 Mar 2014 21:26:36 +0000 (14:26 -0700)]
internal: cleaner fix for binary gibberish in logs

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agointernal: ignore binary junk in kernel logs
Josh Durgin [Mon, 24 Mar 2014 21:13:07 +0000 (14:13 -0700)]
internal: ignore binary junk in kernel logs

NUL bytes can show up here after powercycle testing

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoceph: ignore daemon types that aren't configured
Josh Durgin [Sun, 23 Mar 2014 19:03:25 +0000 (12:03 -0700)]
ceph: ignore daemon types that aren't configured

not every cluster needs an mds

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoradosgw-agent: use our mirror instead of github
Sage Weil [Fri, 21 Mar 2014 20:50:10 +0000 (13:50 -0700)]
radosgw-agent: use our mirror instead of github

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge remote-tracking branch 'gh/firefly'
Sage Weil [Fri, 21 Mar 2014 16:12:40 +0000 (09:12 -0700)]
Merge remote-tracking branch 'gh/firefly'

11 years agoMerge pull request #231 from ceph/wip-fix-rgw
Alfredo Deza [Fri, 21 Mar 2014 15:38:26 +0000 (11:38 -0400)]
Merge pull request #231 from ceph/wip-fix-rgw

fix rgw task

11 years agorgw: handle empty conf case
Sage Weil [Fri, 21 Mar 2014 15:36:24 +0000 (08:36 -0700)]
rgw: handle empty conf case

2014-03-20T23:30:28.964 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/teuthology-firefly/teuthology/contextutil.py", line 27, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/teuthology-firefly/teuthology/task/rgw.py", line 83, in ship_config
    idle_timeout = conf.get('idle_timeout', 30)
AttributeError: 'NoneType' object has no attribute 'get'

This happens with job yamls like:

- rgw:
  - client.0

(where it is a list and not a dict of clients)

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge remote-tracking branch 'gh/firefly'
Sage Weil [Thu, 20 Mar 2014 23:50:15 +0000 (16:50 -0700)]
Merge remote-tracking branch 'gh/firefly'

11 years agoMerge pull request #230 from ceph/wip-7702
Sage Weil [Thu, 20 Mar 2014 23:48:44 +0000 (16:48 -0700)]
Merge pull request #230 from ceph/wip-7702

rgw: allow fastcgi idle timeout to be adjusted

Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agorgw: allow fastcgi idle timeout to be adjusted
Sage Weil [Thu, 20 Mar 2014 23:09:42 +0000 (16:09 -0700)]
rgw: allow fastcgi idle timeout to be adjusted

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge branch 'firefly'
Sage Weil [Thu, 20 Mar 2014 17:35:30 +0000 (10:35 -0700)]
Merge branch 'firefly'

11 years agointernal: ignore ext4 recovery msg
Sage Weil [Tue, 18 Mar 2014 22:15:54 +0000 (15:15 -0700)]
internal: ignore ext4 recovery msg

  plana43 kernel: [   21.179205] EXT4-fs (sda1): INFO: recovery required on readonly filesystem

is harmless.

Signed-off-by: Sage Weil <sage@inktank.com>