]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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
Zack Cerza [Thu, 17 Apr 2014 16:17:22 +0000 (11:17 -0500)]
Refactor try_delete_jobs()
Also tweak its error message
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
GregMeno [Wed, 9 Apr 2014 20:59:28 +0000 (16:59 -0400)]
Merge pull request #238 from ceph/wip-pep8
Wip pep8
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>
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>
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>
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>
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>
Yuri Weinstein [Wed, 9 Apr 2014 01:04:35 +0000 (18:04 -0700)]
changed mon data avail warn to avoid monitor storage warnings
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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 .
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
Zack Cerza [Tue, 25 Mar 2014 20:29:56 +0000 (15:29 -0500)]
Tweak usage
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sage Weil [Fri, 21 Mar 2014 16:12:40 +0000 (09:12 -0700)]
Merge remote-tracking branch 'gh/firefly'
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
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>
Sage Weil [Thu, 20 Mar 2014 23:50:15 +0000 (16:50 -0700)]
Merge remote-tracking branch 'gh/firefly'
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>
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>
Sage Weil [Thu, 20 Mar 2014 17:35:30 +0000 (10:35 -0700)]
Merge branch 'firefly'
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>
Sage Weil [Tue, 18 Mar 2014 22:01:04 +0000 (15:01 -0700)]
Merge branch 'firefly'
Sage Weil [Tue, 18 Mar 2014 22:00:30 +0000 (15:00 -0700)]
ceph.conf: tolerate 500ms of clock drift (up from 250)
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 18 Mar 2014 03:56:51 +0000 (20:56 -0700)]
Merge remote-tracking branch 'gh/firefly'
Sage Weil [Tue, 18 Mar 2014 01:08:15 +0000 (18:08 -0700)]
Merge pull request #229 from dachary/wip-ec-pool
ceph_manager: update ec_pool creation parameters
Loic Dachary [Sun, 16 Mar 2014 17:05:42 +0000 (18:05 +0100)]
ceph_manager: update ec_pool creation parameters
As of https://github.com/ceph/ceph/pull/1477 the erasure code parameters
are controled via the osd erasure-code-profile set command instead of
being inlined and duplicated in the crush ruleset creation and the pool
creation. There is no need to create the crush ruleset, it is done
implicitly.
Signed-off-by: Loic Dachary <loic@dachary.org>
Samuel Just [Mon, 17 Mar 2014 21:04:41 +0000 (14:04 -0700)]
ceph_manager: default to 16 initial pgs per pool
1 is really too few for anything to happen at a
reasonable rate.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Mon, 17 Mar 2014 21:03:30 +0000 (14:03 -0700)]
ceph_manager::wait_for_clean: reset timeout if we make progress
Fixes: #7748
Signed-off-by: Samuel Just <sam.just@inktank.com>
Josh Durgin [Mon, 17 Mar 2014 19:10:27 +0000 (12:10 -0700)]
Merge pull request #227 from ceph/wip-7749
Pass '--object-sync-timeout 30' to radosgw-agent
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Zack Cerza [Mon, 17 Mar 2014 18:54:52 +0000 (13:54 -0500)]
Pass '--object-sync-timeout 30' to radosgw-agent
http://tracker.ceph.com/issues/7749
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 17 Mar 2014 18:42:27 +0000 (13:42 -0500)]
Merge pull request #226 from ceph/wip-7714
prevent undefined values in finally block
Zack Cerza [Mon, 17 Mar 2014 16:19:02 +0000 (11:19 -0500)]
Fix max_job_time timeout
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Fri, 14 Mar 2014 18:44:22 +0000 (14:44 -0400)]
prevent undefined values in finally block
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Sage Weil [Fri, 14 Mar 2014 16:35:54 +0000 (09:35 -0700)]
schedule_suite.sh: turn up journal log too
Signed-off-by: Sage Weil <sage@inktank.com>
Sandon Van Ness [Thu, 13 Mar 2014 23:02:04 +0000 (16:02 -0700)]
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>
Sage Weil [Thu, 13 Mar 2014 20:15:04 +0000 (13:15 -0700)]
Merge remote-tracking branch 'gh/firefly'
Sage Weil [Wed, 12 Mar 2014 15:57:23 +0000 (08:57 -0700)]
lock: allow -a with --brief
Signed-off-by: Sage Weil <sage@inktank.com>
Sandon Van Ness [Wed, 12 Mar 2014 01:15:12 +0000 (18:15 -0700)]
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>
wusui [Wed, 12 Mar 2014 01:48:13 +0000 (18:48 -0700)]
Merge pull request #222 from ceph/wip-trusty
Handle newer btrfstools.
Sandon Van Ness [Wed, 12 Mar 2014 01:15:12 +0000 (18:15 -0700)]
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>
Samuel Just [Tue, 11 Mar 2014 20:55:30 +0000 (13:55 -0700)]
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>
wusui [Tue, 11 Mar 2014 16:41:39 +0000 (09:41 -0700)]
Merge pull request #220 from ceph/wip-print
Add print task.
wusui [Tue, 11 Mar 2014 03:00:38 +0000 (20:00 -0700)]
Merge pull request #221 from ceph/wip-brief
lock.py: allow --brief to stand on its own (without --list)
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>
Yuri Weinstein [Mon, 10 Mar 2014 23:45:03 +0000 (16:45 -0700)]
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>
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>