]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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
Sage Weil [Thu, 29 Aug 2013 16:52:45 +0000 (09:52 -0700)]
run: set up archive dir and logger output sooner
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Thu, 29 Aug 2013 13:07:44 +0000 (06:07 -0700)]
Merge pull request #58 from ceph/queue
Don't assume anything about the base path here.
Sage Weil [Thu, 29 Aug 2013 04:54:26 +0000 (21:54 -0700)]
schedule_suite.sh: allow partial 'suite' names
Mangle the name (/ -> :) in the run name. Separate base from
relative path so that the job names don't include a full path.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 29 Aug 2013 04:53:41 +0000 (21:53 -0700)]
suite: return [] for build_matrix base case
This gives us an empty list instead of a crash on an empty dir
or bad symlink
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Thu, 29 Aug 2013 01:52:29 +0000 (18:52 -0700)]
Merge pull request #60 from ceph/sentry
Add run name to first line of email.
Zack Cerza [Wed, 28 Aug 2013 21:26:08 +0000 (14:26 -0700)]
Merge pull request #59 from ceph/wip-collections
redo the way we describe test collections
Zack Cerza [Wed, 28 Aug 2013 20:41:14 +0000 (15:41 -0500)]
Add run name to first line of email.
Sage Weil [Wed, 28 Aug 2013 20:25:22 +0000 (13:25 -0700)]
suite: build_matrix as a list of filenames, not file content
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 24 Aug 2013 05:36:01 +0000 (22:36 -0700)]
suite: allow individual files to be scheduled
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 23 Aug 2013 06:29:27 +0000 (23:29 -0700)]
suite: generalize collection expansion
Previous, a collection was a directory like this:
mycollection/
mycollection/facet1/
mycollection/facet1/1a.yaml
mycollection/facet1/1b.yaml
mycollection/facet2/
mycollection/facet2/2a.yaml
mycollection/facet3/
mycollection/facet3/3a.yaml
mycollection/facet3/3b.yaml
and this would expand to
1a + 2a + 3a
1a + 2a + 3b
1b + 2a + 3a
1b + 2a + 3b
The fixed directory depth and requirement for a subdir even
when there is only 1 item is annoying. Instead, allow an
arbitrary directory structure, with the following rules:
- a .yaml file is a taken as-is (duh); other files still
ignored
- a directory is normally just a way to organize files. We
recursively descend and build a list of what we fine.
- a directory with a '%' file in it is special:
- take the product of every item in the dir (much like
we did before)
- a directory with a '+' file in it is special:
- concatenate everything in the dir into one job
Note that this is equivalent to the previous structure if we
do:
for facet in mycollection/* ; do touch $facet/% ; done
We can clean up slightly be taking any dir with only one yaml
file in it and replacing the dir with the bare .yaml.
Once this is done, we can reorganize directories however we
like.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 23 Aug 2013 06:22:04 +0000 (23:22 -0700)]
suite: clean up imports
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 23 Aug 2013 05:42:11 +0000 (22:42 -0700)]
suite: make collection args (optionally) relative to a base dir
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 23 Aug 2013 05:30:13 +0000 (22:30 -0700)]
suite: make names a bit more friendly
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 23 Aug 2013 05:30:05 +0000 (22:30 -0700)]
suite: add --dry-run
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Wed, 28 Aug 2013 18:36:15 +0000 (13:36 -0500)]
Don't assume anything about the base path here.
Alfredo Deza [Wed, 28 Aug 2013 16:38:20 +0000 (09:38 -0700)]
Merge pull request #54 from ceph/sentry
Add logs and Sentry events to suite emails
Zack Cerza [Wed, 28 Aug 2013 16:19:04 +0000 (11:19 -0500)]
Don't return inside __init__
Zack Cerza [Wed, 28 Aug 2013 16:15:27 +0000 (11:15 -0500)]
Add apology for non-public links
Zack Cerza [Wed, 28 Aug 2013 16:12:10 +0000 (11:12 -0500)]
Indent wrapped exceptions.
Joe Buck [Sat, 24 Aug 2013 02:54:53 +0000 (19:54 -0700)]
s3tests: extend for multi-region tests
Added code to the s3tests task to extract
multi-region info so that that data
can be added to the S3TEST_CONF file
used to run S3 tests.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Joe Buck [Sat, 24 Aug 2013 02:25:26 +0000 (19:25 -0700)]
rgw: persist the region info
The rgw task deletes the region info
from the config structure. The s3tests
task needs this info, so we persist
it by sticking it in the ctx object.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewd-by: Josh Durgin <josh.durgin@inktank.com>
Joe Buck [Sat, 24 Aug 2013 02:21:13 +0000 (19:21 -0700)]
radosgw-agent: store radosgw_agent server/port
Persist the hostname and port number used
by the radosgw-agent http server.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Joe Buck [Sat, 24 Aug 2013 02:16:29 +0000 (19:16 -0700)]
move multi_region_enabled() into util class
Moving a helper function into a more general
location so that it can be used by other
classes.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Wed, 28 Aug 2013 04:41:39 +0000 (21:41 -0700)]
internal: whitelist btrfs lock imbalance bug 6097
Signed-off-by: Sage Weil <sage@inktank.com>
Samuel Just [Wed, 28 Aug 2013 01:48:48 +0000 (18:48 -0700)]
ceph.conf.template: add osd_debug_pg_log_writeout = true
Signed-off-by: Samuel Just <sam.just@inktank.com>
Josh Durgin [Tue, 27 Aug 2013 23:02:44 +0000 (16:02 -0700)]
Merge pull request #55 from ceph/wip-undefined
Reviewed-by: Sage Weil <sage.weil@inktank.com>
Josh Durgin [Tue, 27 Aug 2013 22:58:14 +0000 (15:58 -0700)]
Fix undefined symbol errors
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Zack Cerza [Tue, 27 Aug 2013 22:26:46 +0000 (17:26 -0500)]
Time is an integer, in seconds.
Zack Cerza [Tue, 27 Aug 2013 22:22:27 +0000 (17:22 -0500)]
Make email formatting way, way nicer.
Zack Cerza [Tue, 27 Aug 2013 19:51:27 +0000 (14:51 -0500)]
Move job listing logic to get_jobs()
Zack Cerza [Tue, 27 Aug 2013 15:15:27 +0000 (08:15 -0700)]
Merge pull request #53 from ceph/wip-asok-retry
fix admin_socket retry
Sage Weil [Tue, 27 Aug 2013 01:14:37 +0000 (18:14 -0700)]
admin_socket: fix retry-on-error behavior
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Mon, 26 Aug 2013 23:12:20 +0000 (18:12 -0500)]
Avoid double slashes in sentry event URL
Zack Cerza [Mon, 26 Aug 2013 22:38:23 +0000 (17:38 -0500)]
Add tags! Task name and owner to start.
Zack Cerza [Mon, 26 Aug 2013 22:21:48 +0000 (17:21 -0500)]
Add sentry events to suite email.
Zack Cerza [Mon, 26 Aug 2013 22:11:51 +0000 (17:11 -0500)]
Also leave a list of sentry events in the summary
Zack Cerza [Mon, 26 Aug 2013 21:33:04 +0000 (16:33 -0500)]
Add URL to Sentry event to traceback output.
Zack Cerza [Mon, 26 Aug 2013 21:06:51 +0000 (16:06 -0500)]
Use os.path.join, not urlparse.urljoin
Zack Cerza [Mon, 26 Aug 2013 17:37:04 +0000 (12:37 -0500)]
For failures, add http links to log directories.
Zack Cerza [Mon, 26 Aug 2013 17:36:01 +0000 (12:36 -0500)]
Add a catch-all __getattr__(); add comments
Zack Cerza [Mon, 26 Aug 2013 16:51:43 +0000 (11:51 -0500)]
Rewrite email-generating code.
Zack Cerza [Fri, 23 Aug 2013 19:53:38 +0000 (14:53 -0500)]
Tweak logging
Dan Mick [Mon, 26 Aug 2013 21:04:19 +0000 (14:04 -0700)]
Merge pull request #52 from ceph/wip-6125
Don't hardcode path to teuthology-suite
Sage Weil [Mon, 26 Aug 2013 20:48:32 +0000 (13:48 -0700)]
internal: remove (hopefully obsolete) kern.log checks
Signed-off-by: Sage Weil <sage@inktank.com>