]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Zack Cerza [Mon, 16 Sep 2013 18:14:52 +0000 (13:14 -0500)]
Make run_job merge job_config['config'] if needed
Alfredo Deza [Fri, 13 Sep 2013 15:41:35 +0000 (08:41 -0700)]
Merge pull request #91 from ceph/wip-suite
suite: do not calculate product on an empty list
Sage Weil [Fri, 13 Sep 2013 15:39:30 +0000 (08:39 -0700)]
suite: don't schedule follow-on summary job for an empty run
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 13 Sep 2013 15:39:13 +0000 (08:39 -0700)]
suite: be verbose about how many jobs we generate
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 13 Sep 2013 15:22:12 +0000 (08:22 -0700)]
suite: do not calculate product on an empty list
This fixes a bug where a directory with just % generates a
bogus job item with no actual content. (e.g.,
$ find basic
basic
basic/%
$ teuthology-suite --dry-run --base . --collections basic --name foo
INFO:teuthology.suite:Collection basic in ./basic
INFO:teuthology.suite:configs [('basic/{}', [])]
...which then blows up because the job yaml is empty. With
the fix, there are no generated jobs:
$ teuthology-suite --dry-run --base . --collections basic --name foo
INFO:teuthology.suite:Collection basic in ./basic
INFO:teuthology.suite:configs []
(The configs print was temporarily added for debugging
purposes.)
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Thu, 12 Sep 2013 22:56:06 +0000 (15:56 -0700)]
Merge pull request #90 from ceph/sentry
Fix get_http_log_path(), update callers, add tests
Zack Cerza [Thu, 12 Sep 2013 22:28:50 +0000 (17:28 -0500)]
Fix get_http_log_path(), update callers, add tests
tamil [Thu, 12 Sep 2013 22:07:32 +0000 (15:07 -0700)]
Merge branch 'master' of github.com:ceph/teuthology
tamil [Thu, 12 Sep 2013 22:03:10 +0000 (15:03 -0700)]
made help more readable
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
Zack Cerza [Thu, 12 Sep 2013 21:39:55 +0000 (16:39 -0500)]
Fix TypeError
(cherry picked from commit
c4591a16e1781f8da3502b38e3dc72f629478312 )
Alfredo Deza [Thu, 12 Sep 2013 17:17:23 +0000 (10:17 -0700)]
Merge pull request #88 from ceph/wip-fix-clones
Use check_output() and log.exception()
Zack Cerza [Thu, 12 Sep 2013 16:14:08 +0000 (11:14 -0500)]
Use check_output() and log.exception()
This should help us figure out why our checkouts keep getting deleted.
tamil [Thu, 12 Sep 2013 00:13:22 +0000 (17:13 -0700)]
feature # 5942. Added examples to teuthology binaries help page
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
Alfredo Deza [Wed, 11 Sep 2013 21:06:24 +0000 (14:06 -0700)]
Merge pull request #87 from ceph/sentry
Add logs URL to sentry reports
Zack Cerza [Wed, 11 Sep 2013 20:45:45 +0000 (15:45 -0500)]
Add teuthology branch to sentry report tags
Zack Cerza [Wed, 11 Sep 2013 20:40:14 +0000 (15:40 -0500)]
Ensure teuthology_branch is stored in job_config
Zack Cerza [Wed, 11 Sep 2013 20:17:22 +0000 (15:17 -0500)]
Add ctx.config to sentry info.
Zack Cerza [Wed, 11 Sep 2013 20:14:58 +0000 (15:14 -0500)]
Merge job_config and ctx.config
Zack Cerza [Wed, 11 Sep 2013 19:49:15 +0000 (14:49 -0500)]
Add test for misc.get_http_log_path()
Zack Cerza [Wed, 11 Sep 2013 19:00:58 +0000 (14:00 -0500)]
Use sentry.get_ident() again
Zack Cerza [Wed, 11 Sep 2013 18:56:48 +0000 (13:56 -0500)]
Don't fail if there's no job_id
Zack Cerza [Wed, 11 Sep 2013 18:47:49 +0000 (13:47 -0500)]
Passing job_id to get_http_log_path() is optional
Zack Cerza [Wed, 11 Sep 2013 15:17:02 +0000 (10:17 -0500)]
Add logs URL to sentry reports
Zack Cerza [Wed, 11 Sep 2013 14:59:45 +0000 (09:59 -0500)]
Add job id and actual archive dir to job config
Also add job id to info.yaml
Zack Cerza [Wed, 11 Sep 2013 15:08:18 +0000 (10:08 -0500)]
Don't "import misc as teuthology"
Zack Cerza [Wed, 11 Sep 2013 14:45:46 +0000 (09:45 -0500)]
Move get_http_log_path
Zack Cerza [Tue, 10 Sep 2013 19:44:38 +0000 (14:44 -0500)]
s/jobid/job_id/
Sage Weil [Tue, 10 Sep 2013 23:53:18 +0000 (16:53 -0700)]
rados: add --op copy_from ... support
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 10 Sep 2013 19:20:29 +0000 (12:20 -0700)]
Merge pull request #85 from ceph/wip-testdir
remove basedir/testdir distinction
Sage Weil [Tue, 10 Sep 2013 17:53:41 +0000 (10:53 -0700)]
remove basedir/testdir distinction
We should never run with a conflicting testdir in the basedir, and the
code to do this is confusing and buggy. Go back to a single testdir and
simple checks.
Signed-off-by: Sage Weil <sage@inktank.com>
Josh Durgin [Mon, 9 Sep 2013 19:45:48 +0000 (12:45 -0700)]
Merge pull request #84 from ceph/wip-buck-daemon-helper
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Joe Buck [Mon, 9 Sep 2013 19:07:29 +0000 (12:07 -0700)]
Adding in erroneously removed args
The 'kill' argument was accidentially removed
as part of patch
53b8e27da996f2efdcc4eb687f3bda0791a8d947
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Sage Weil [Mon, 9 Sep 2013 04:52:49 +0000 (21:52 -0700)]
Merge remote-tracking branch 'gh/wip-valgrind'
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Sun, 8 Sep 2013 22:12:51 +0000 (15:12 -0700)]
fix a few missing adjust-ulimits users
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 7 Sep 2013 00:38:29 +0000 (17:38 -0700)]
rgw: fix valgrind when no valgrind
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Sat, 7 Sep 2013 00:34:42 +0000 (17:34 -0700)]
rgw: fix valgrind when no valgrind
Signed-off-by: Sage Weil <sage@inktank.com>
Josh Durgin [Fri, 6 Sep 2013 23:20:15 +0000 (16:20 -0700)]
Merge pull request #82 from ceph/wip-valgrind
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Fri, 6 Sep 2013 22:56:39 +0000 (15:56 -0700)]
misc: valgrind: fix cd behavior
The cd needs to happen at the beginning of the command, not at the end, or
else the funky wrapper scripts don't work right.
This also cleans up the command line construction a bit so that it is more
flexible, explicit, and hopefully less fragile.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Sep 2013 22:55:14 +0000 (15:55 -0700)]
misc: valgrind: fix valgrind.supp path
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Sep 2013 22:13:02 +0000 (15:13 -0700)]
Merge pull request #81 from ceph/wip-runfix
Get rid of chdir-coredump.
Zack Cerza [Fri, 6 Sep 2013 22:11:44 +0000 (17:11 -0500)]
Get rid of chdir-coredump.
Zack Cerza [Fri, 6 Sep 2013 21:56:57 +0000 (14:56 -0700)]
Merge pull request #80 from ceph/wip-runfix
ceph: fix daemon-helper typo
Sage Weil [Fri, 6 Sep 2013 21:49:05 +0000 (14:49 -0700)]
ceph: fix daemon-helper typo
Broken in
edc5ef8860b2917c14ee648f15ac7751535d411a
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Fri, 6 Sep 2013 21:10:47 +0000 (14:10 -0700)]
Merge pull request #79 from ceph/wip-valgrind
misc: valgrind --num-callers=50
Sage Weil [Fri, 6 Sep 2013 21:05:29 +0000 (14:05 -0700)]
misc: valgrind --num-callers=50
Default is 12, which isn't quite enough.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 6 Sep 2013 20:24:34 +0000 (13:24 -0700)]
Merge pull request #78 from ceph/wip-6247
Move helper scripts to /usr/local/bin to clean up logs.
Zack Cerza [Fri, 6 Sep 2013 20:08:01 +0000 (15:08 -0500)]
Helper scripts live in /usr/local/bin now!
Zack Cerza [Fri, 6 Sep 2013 19:22:29 +0000 (14:22 -0500)]
Move helper scripts to /usr/local/bin
Alfredo Deza [Fri, 6 Sep 2013 16:40:43 +0000 (09:40 -0700)]
Merge pull request #77 from ceph/wip-start
queue: fix stderr redirect
Sage Weil [Fri, 6 Sep 2013 16:39:22 +0000 (09:39 -0700)]
queue: fix stderr redirect
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Fri, 6 Sep 2013 16:27:43 +0000 (09:27 -0700)]
Merge pull request #75 from ceph/wip-tube
queue: include tube name in worker logs
Sage Weil [Fri, 6 Sep 2013 16:23:51 +0000 (09:23 -0700)]
Merge pull request #76 from ceph/wip-5954
Be polite and restore /etc/sudoers when done
Sage Weil [Fri, 6 Sep 2013 16:18:57 +0000 (09:18 -0700)]
queue: include tube name in worker logs
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Fri, 6 Sep 2013 16:18:17 +0000 (11:18 -0500)]
Be polite and restore /etc/sudoers when done
Sage Weil [Thu, 5 Sep 2013 22:16:32 +0000 (15:16 -0700)]
Merge pull request #74 from ceph/wip-5954
Wip 5954
Sage Weil [Thu, 5 Sep 2013 22:15:55 +0000 (15:15 -0700)]
Merge pull request #73 from ceph/wip-5954-alt
Via automagic, only call ulimit -n if running as root.
Zack Cerza [Wed, 4 Sep 2013 17:55:58 +0000 (12:55 -0500)]
Add internal.sudo subtask.
Zack Cerza [Wed, 4 Sep 2013 17:16:12 +0000 (12:16 -0500)]
Let execute() accept a string for args.
Zack Cerza [Wed, 4 Sep 2013 16:02:56 +0000 (11:02 -0500)]
Add Cluster.write_file()
Zack Cerza [Wed, 4 Sep 2013 15:16:43 +0000 (10:16 -0500)]
Use misc.get_archive_dir()
Zack Cerza [Wed, 4 Sep 2013 15:16:17 +0000 (10:16 -0500)]
Add get_archive_dir()
Zack Cerza [Thu, 5 Sep 2013 21:41:27 +0000 (16:41 -0500)]
Put sudo in front of adjust-ulimits if it's used
Zack Cerza [Thu, 5 Sep 2013 20:08:36 +0000 (15:08 -0500)]
Via automagic, only call ulimit -n if running as root.
Also, add comments because comments are cool.
Sandon Van Ness [Thu, 5 Sep 2013 18:58:27 +0000 (11:58 -0700)]
Run yum clean all after installing new ceph-release.
In order to get around the issue of repomd.xml being older than
the previously installed one depending on when the gitbuilder
built the repo.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Wed, 4 Sep 2013 21:24:26 +0000 (14:24 -0700)]
Merge pull request #71 from ceph/wip-no-pythonpath
drop obsolete PYTHONPATH settings
Sage Weil [Wed, 4 Sep 2013 21:21:01 +0000 (14:21 -0700)]
drop obsolete PYTHONPATH settings
These are left over from when we were extracting a tarball in the test dir.
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Wed, 4 Sep 2013 20:16:33 +0000 (15:16 -0500)]
Append '/' to the end of the log directory path
Zack Cerza [Wed, 4 Sep 2013 16:16:04 +0000 (09:16 -0700)]
Merge pull request #64 from ceph/wip-nuke-info
nuke: get pid, owner from info.yaml (if present)
Zack Cerza [Wed, 4 Sep 2013 16:13:39 +0000 (09:13 -0700)]
Merge pull request #65 from ceph/wip-schedule
schedule: strip out targets
Zack Cerza [Wed, 4 Sep 2013 14:04:05 +0000 (07:04 -0700)]
Merge pull request #68 from alfredodeza/6224
add the missing for fedora links in install task
Alfredo Deza [Wed, 4 Sep 2013 13:03:28 +0000 (09:03 -0400)]
add the missing for fedora links in install task
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Sage Weil [Wed, 4 Sep 2013 04:56:32 +0000 (21:56 -0700)]
schedule_suite.sh: turn up osd logging a little
We have a collectin of bugs that we haven't been able to
reproduce but crop up regularly in the nightlies. Sam's best
guess is a dropped message, so let's try to catch that.
Signed-off-by: Sage Weil <sage@inktank.com>
Warren Usui [Tue, 3 Sep 2013 21:35:00 +0000 (14:35 -0700)]
Add missing sudo from command.
Fixes: #6218
Alfredo Deza [Tue, 3 Sep 2013 21:07:36 +0000 (14:07 -0700)]
Merge pull request #67 from ceph/wip-3791
Wip 3791
Zack Cerza [Tue, 3 Sep 2013 21:05:02 +0000 (16:05 -0500)]
Add note about public teuthology logs.
Zack Cerza [Tue, 3 Sep 2013 21:02:17 +0000 (16:02 -0500)]
Wrap paragraphs.
Alfredo Deza [Tue, 3 Sep 2013 20:24:45 +0000 (13:24 -0700)]
Merge pull request #66 from ceph/wip-specific-exceptions
Catch CommandFailedError and print debug info
Zack Cerza [Tue, 3 Sep 2013 19:40:31 +0000 (14:40 -0500)]
Catch CommandFailedError and print debug info
Sage Weil [Tue, 3 Sep 2013 19:05:38 +0000 (12:05 -0700)]
schedule: strip out targets
If the user feeds in a yaml with targets, the worker will launch the job
but fail with
2013-09-03T11:18:34.333 CRITICAL:root:AssertionError: You cannot specify targets in a config file when using the --lock option
Just strip them out before scheduling. This eases my personal workflow
where I have a test I'm running manually against some prelocked machines
but also want to schedule it.
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Tue, 3 Sep 2013 18:46:31 +0000 (13:46 -0500)]
Logs and Sentry links are public now.
Sage Weil [Tue, 3 Sep 2013 18:09:39 +0000 (11:09 -0700)]
Revert "Use install -d for /var/log/ceph."
This reverts commit
8f29b3f9f1f294c449bb5215767cad67fdf7cde6 .
Reviewed-by: Warren Usui <warren.usui@inktank.com>
Sage Weil [Sun, 1 Sep 2013 15:48:41 +0000 (08:48 -0700)]
schedule_suite.sh: default email to ceph-qa@ceph.com
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 31 Aug 2013 06:22:24 +0000 (23:22 -0700)]
Revert "get_scratch_devices(): catch CommandFailedError, log "dev in use""
This reverts commit
416508de9c628c5cae1b3a7f05bb3ec0e3639bdb .
NameError: global name 'CommandFailedError' is not defined
Sage Weil [Sat, 31 Aug 2013 00:34:05 +0000 (17:34 -0700)]
README: add deps
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Sage Weil <sage@inktank.com>
tamil [Sat, 31 Aug 2013 00:35:15 +0000 (17:35 -0700)]
s/ceph-debug/ceph-debuginfo for rpms
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
Dan Mick [Fri, 30 Aug 2013 22:42:53 +0000 (15:42 -0700)]
get_scratch_devices(): catch CommandFailedError, log "dev in use"
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 29 Aug 2013 23:41:09 +0000 (16:41 -0700)]
nuke: get pid, owner from info.yaml (if present)
Fall back to the old files if info.yaml is missing.
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Fri, 30 Aug 2013 16:15:45 +0000 (09:15 -0700)]
Merge pull request #63 from ceph/wip-logger
Never use 'except:' without specifying an Exception.
Zack Cerza [Fri, 30 Aug 2013 15:58:10 +0000 (10:58 -0500)]
Never use 'except:' without specifying an Exception.
Alfredo Deza [Fri, 30 Aug 2013 14:50:30 +0000 (07:50 -0700)]
Merge pull request #62 from ceph/wip-logger
Add hung job description to email
Sage Weil [Fri, 30 Aug 2013 03:27:40 +0000 (20:27 -0700)]
run: do not import at top level
This makes a run with --lock hang when connecting, for some
reason. E.g.,
$ teuthology -v a.yaml --lock
...
INFO:teuthology.task.internal:Opening connections...
DEBUG:teuthology.task.internal:connecting to ubuntu@plana06.front.sepia.ceph.com
<hangs>
No clue what is going on here, but this fixes it!
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Thu, 29 Aug 2013 22:08:51 +0000 (17:08 -0500)]
Add hung job description to email
Alfredo Deza [Thu, 29 Aug 2013 21:26:30 +0000 (14:26 -0700)]
Merge pull request #61 from ceph/wip-logger
Log all the things! (Things like exceptions.)
Zack Cerza [Thu, 29 Aug 2013 21:12:36 +0000 (16:12 -0500)]
Workers: only log child's stderr, not stdout
Zack Cerza [Thu, 29 Aug 2013 19:56:15 +0000 (14:56 -0500)]
Don't print colon if there's no exception message. Also, remove testing
exception.
Zack Cerza [Thu, 29 Aug 2013 19:07:13 +0000 (14:07 -0500)]
Pretty-up write_initial_metadata; s/run/name/
Zack Cerza [Thu, 29 Aug 2013 19:01:04 +0000 (14:01 -0500)]
Add exception hook
Sage Weil [Thu, 29 Aug 2013 18:46:38 +0000 (11:46 -0700)]
run: write info.yaml on job start
Include basic metadata bout the job.
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Thu, 29 Aug 2013 18:35:52 +0000 (13:35 -0500)]
Move logging setup out of main()
Sage Weil [Thu, 29 Aug 2013 16:52:51 +0000 (09:52 -0700)]
test