]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 years agoDon't hardcode ceph.com mirror for linux-firmware
Zack Cerza [Fri, 20 Sep 2013 20:53:00 +0000 (15:53 -0500)]
Don't hardcode ceph.com mirror for linux-firmware

12 years agoDon't hardcode teuthology's git repo URL
Zack Cerza [Fri, 20 Sep 2013 20:12:02 +0000 (15:12 -0500)]
Don't hardcode teuthology's git repo URL

12 years agoAdd a basic test for teuthology.config
Zack Cerza [Fri, 20 Sep 2013 20:11:13 +0000 (15:11 -0500)]
Add a basic test for teuthology.config

12 years agoAdd config.ceph_git_base_url
Zack Cerza [Fri, 20 Sep 2013 19:38:01 +0000 (14:38 -0500)]
Add config.ceph_git_base_url

12 years agoUse config.lock_server
Zack Cerza [Fri, 20 Sep 2013 19:34:53 +0000 (14:34 -0500)]
Use config.lock_server

12 years agoAdd doc noting Inktank's lockserver URL
Zack Cerza [Fri, 20 Sep 2013 19:01:07 +0000 (14:01 -0500)]
Add doc noting Inktank's lockserver URL

Since I just removed it from lockstatus.py.

12 years agoUse teuthology.config.
Zack Cerza [Fri, 20 Sep 2013 19:00:46 +0000 (14:00 -0500)]
Use teuthology.config.

Also use os.path.join()

12 years agoMerge pull request #102 from ceph/wip-tests
Alfredo Deza [Fri, 20 Sep 2013 14:01:48 +0000 (07:01 -0700)]
Merge pull request #102 from ceph/wip-tests

Update all existing unit tests.

12 years agoUpdate test_connect() to reflect API changes
Zack Cerza [Fri, 20 Sep 2013 13:38:23 +0000 (08:38 -0500)]
Update test_connect() to reflect API changes

Looks like paramiko changed a bit internally. All unit tests pass now!

12 years agoUpdate many unit tests to reflect 2yrs of changes
Zack Cerza [Fri, 20 Sep 2013 00:29:06 +0000 (19:29 -0500)]
Update many unit tests to reflect 2yrs of changes

These tests hadn't been updated in over two years. Only one is left
failing.

12 years agoAdd pytest.ini
Zack Cerza [Thu, 19 Sep 2013 23:14:51 +0000 (18:14 -0500)]
Add pytest.ini

So far this just tells py.test not to recurse into directories
containing tests it doesn't need to run.

12 years agoMerge pull request #101 from ceph/fix-adjust-ulimits-b
Alfredo Deza [Thu, 19 Sep 2013 21:07:44 +0000 (14:07 -0700)]
Merge pull request #101 from ceph/fix-adjust-ulimits-b

Put helper scripts in /usr/bin

12 years agoPut helper scripts in /usr/bin
Zack Cerza [Thu, 19 Sep 2013 21:06:40 +0000 (16:06 -0500)]
Put helper scripts in /usr/bin

12 years agoMerge pull request #100 from ceph/wip-tests
Alfredo Deza [Thu, 19 Sep 2013 20:57:17 +0000 (13:57 -0700)]
Merge pull request #100 from ceph/wip-tests

Add test for teuthology.suite.build_email_body()

12 years agoPort to py.test
Zack Cerza [Thu, 19 Sep 2013 20:55:38 +0000 (15:55 -0500)]
Port to py.test

12 years agoAdd test for teuthology.suite.build_email_body()
Zack Cerza [Thu, 19 Sep 2013 20:36:33 +0000 (15:36 -0500)]
Add test for teuthology.suite.build_email_body()

12 years agoFix typo
Zack Cerza [Thu, 19 Sep 2013 03:57:20 +0000 (22:57 -0500)]
Fix typo

12 years agoMerge pull request #98 from ceph/time-fix
Alfredo Deza [Wed, 18 Sep 2013 19:23:22 +0000 (12:23 -0700)]
Merge pull request #98 from ceph/time-fix

If duration is missing from summary.yaml, use 0

12 years agoIf duration is missing from summary.yaml, use 0
Zack Cerza [Wed, 18 Sep 2013 19:08:23 +0000 (14:08 -0500)]
If duration is missing from summary.yaml, use 0

12 years agoMerge pull request #97 from ceph/sentry
Alfredo Deza [Wed, 18 Sep 2013 15:35:58 +0000 (08:35 -0700)]
Merge pull request #97 from ceph/sentry

Fix logs URL on Sentry pages.

12 years agoFix logs URL on Sentry pages.
Zack Cerza [Wed, 18 Sep 2013 15:05:14 +0000 (10:05 -0500)]
Fix logs URL on Sentry pages.

12 years agoMerge pull request #96 from ceph/wip-fix-sudoers
SandonV [Tue, 17 Sep 2013 23:13:15 +0000 (16:13 -0700)]
Merge pull request #96 from ceph/wip-fix-sudoers

Make sed expressions safe to run multiple times

12 years agoMake sed expressions safe to run multiple times
Zack Cerza [Tue, 17 Sep 2013 23:04:04 +0000 (18:04 -0500)]
Make sed expressions safe to run multiple times

Also, make them ignore commented lines.

12 years agoRevert "suite: don't schedule follow-on summary job for an empty run"
Zack Cerza [Tue, 17 Sep 2013 18:13:46 +0000 (13:13 -0500)]
Revert "suite: don't schedule follow-on summary job for an empty run"

This reverts commit a2b7c728964fb0064ba2a69818289caf723f09fc.

12 years agosuite: do not calculate product on an empty list (take 2)
Sage Weil [Tue, 17 Sep 2013 03:22:09 +0000 (20:22 -0700)]
suite: do not calculate product on an empty list (take 2)

The original attempt to fix this with dda7954090ccc9ffd8ecd961d6b530a0e6d24964
failed because I screwed up the indentation for the out.append(...) line.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoRevert "suite: do not calculate product on an empty list"
Zack Cerza [Mon, 16 Sep 2013 23:33:21 +0000 (18:33 -0500)]
Revert "suite: do not calculate product on an empty list"

This reverts commit dda7954090ccc9ffd8ecd961d6b530a0e6d24964.

This commit was causing the number of jobs scheduled per suite to be
multiplied by anywhere from 2 to 7 or more.

12 years agoMerge pull request #94 from ceph/wip-fix-sudoers
SandonV [Mon, 16 Sep 2013 20:49:39 +0000 (13:49 -0700)]
Merge pull request #94 from ceph/wip-fix-sudoers

Use teuthology-specific backup for /etc/sudoers

12 years agoUse teuthology-specific backup for /etc/sudoers
Zack Cerza [Mon, 16 Sep 2013 20:25:16 +0000 (15:25 -0500)]
Use teuthology-specific backup for /etc/sudoers

12 years agoMerge pull request #93 from ceph/wip-runfix
Alfredo Deza [Mon, 16 Sep 2013 18:50:39 +0000 (11:50 -0700)]
Merge pull request #93 from ceph/wip-runfix

Make run_job merge job_config['config'] if needed

12 years agoMake run_job merge job_config['config'] if needed
Zack Cerza [Mon, 16 Sep 2013 18:14:52 +0000 (13:14 -0500)]
Make run_job merge job_config['config'] if needed

12 years agoMerge pull request #92 from ceph/sentry
Alfredo Deza [Mon, 16 Sep 2013 17:37:24 +0000 (10:37 -0700)]
Merge pull request #92 from ceph/sentry

Be less picky about trailing slashes.

12 years agoBe less picky about trailing slashes.
Zack Cerza [Mon, 16 Sep 2013 16:37:39 +0000 (11:37 -0500)]
Be less picky about trailing slashes.

12 years agoMerge pull request #91 from ceph/wip-suite
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

12 years agosuite: don't schedule follow-on summary job for an empty run
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>
12 years agosuite: be verbose about how many jobs we generate
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>
12 years agosuite: do not calculate product on an empty list
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>
12 years agoMerge pull request #90 from ceph/sentry
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

12 years agoFix 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

12 years agoMerge branch 'master' of github.com:ceph/teuthology
tamil [Thu, 12 Sep 2013 22:07:32 +0000 (15:07 -0700)]
Merge branch 'master' of github.com:ceph/teuthology

12 years agomade help more readable
tamil [Thu, 12 Sep 2013 22:03:10 +0000 (15:03 -0700)]
made help more readable

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoFix TypeError
Zack Cerza [Thu, 12 Sep 2013 21:39:55 +0000 (16:39 -0500)]
Fix TypeError
(cherry picked from commit c4591a16e1781f8da3502b38e3dc72f629478312)

12 years agoMerge pull request #88 from ceph/wip-fix-clones
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()

12 years agoUse 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.

12 years agofeature # 5942. Added examples to teuthology binaries help page
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>
12 years agoMerge pull request #87 from ceph/sentry
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

12 years agoAdd teuthology branch to sentry report tags
Zack Cerza [Wed, 11 Sep 2013 20:45:45 +0000 (15:45 -0500)]
Add teuthology branch to sentry report tags

12 years agoEnsure teuthology_branch is stored in job_config
Zack Cerza [Wed, 11 Sep 2013 20:40:14 +0000 (15:40 -0500)]
Ensure teuthology_branch is stored in job_config

12 years agoAdd ctx.config to sentry info.
Zack Cerza [Wed, 11 Sep 2013 20:17:22 +0000 (15:17 -0500)]
Add ctx.config to sentry info.

12 years agoMerge job_config and ctx.config
Zack Cerza [Wed, 11 Sep 2013 20:14:58 +0000 (15:14 -0500)]
Merge job_config and ctx.config

12 years agoAdd test for misc.get_http_log_path()
Zack Cerza [Wed, 11 Sep 2013 19:49:15 +0000 (14:49 -0500)]
Add test for misc.get_http_log_path()

12 years agoUse sentry.get_ident() again
Zack Cerza [Wed, 11 Sep 2013 19:00:58 +0000 (14:00 -0500)]
Use sentry.get_ident() again

12 years agoDon't fail if there's no job_id
Zack Cerza [Wed, 11 Sep 2013 18:56:48 +0000 (13:56 -0500)]
Don't fail if there's no job_id

12 years agoPassing job_id to get_http_log_path() is optional
Zack Cerza [Wed, 11 Sep 2013 18:47:49 +0000 (13:47 -0500)]
Passing job_id to get_http_log_path() is optional

12 years agoAdd logs URL to sentry reports
Zack Cerza [Wed, 11 Sep 2013 15:17:02 +0000 (10:17 -0500)]
Add logs URL to sentry reports

12 years agoAdd job id and actual archive dir to job config
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

12 years agoDon't "import misc as teuthology"
Zack Cerza [Wed, 11 Sep 2013 15:08:18 +0000 (10:08 -0500)]
Don't "import misc as teuthology"

12 years agoMove get_http_log_path
Zack Cerza [Wed, 11 Sep 2013 14:45:46 +0000 (09:45 -0500)]
Move get_http_log_path

12 years agos/jobid/job_id/
Zack Cerza [Tue, 10 Sep 2013 19:44:38 +0000 (14:44 -0500)]
s/jobid/job_id/

12 years agorados: add --op copy_from ... support
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>
12 years agoMerge pull request #85 from ceph/wip-testdir
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

12 years agoremove 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>
12 years agoMerge pull request #84 from ceph/wip-buck-daemon-helper
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>
12 years agoAdding in erroneously removed args
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>
12 years agoMerge remote-tracking branch 'gh/wip-valgrind'
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>
12 years agofix a few missing adjust-ulimits users
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>
12 years agorgw: fix valgrind when no valgrind
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>
12 years agorgw: fix valgrind when no valgrind
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>
12 years agoMerge pull request #82 from ceph/wip-valgrind
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>
12 years agomisc: valgrind: fix cd behavior
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>
12 years agomisc: valgrind: fix valgrind.supp path
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>
12 years agoMerge pull request #81 from ceph/wip-runfix
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.

12 years agoGet rid of chdir-coredump.
Zack Cerza [Fri, 6 Sep 2013 22:11:44 +0000 (17:11 -0500)]
Get rid of chdir-coredump.

12 years agoMerge pull request #80 from ceph/wip-runfix
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

12 years agoceph: 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>
12 years agoMerge pull request #79 from ceph/wip-valgrind
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

12 years agomisc: 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>
12 years agoMerge pull request #78 from ceph/wip-6247
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.

12 years agoHelper scripts live in /usr/local/bin now!
Zack Cerza [Fri, 6 Sep 2013 20:08:01 +0000 (15:08 -0500)]
Helper scripts live in /usr/local/bin now!

12 years agoMove helper scripts to /usr/local/bin
Zack Cerza [Fri, 6 Sep 2013 19:22:29 +0000 (14:22 -0500)]
Move helper scripts to /usr/local/bin

12 years agoMerge pull request #77 from ceph/wip-start
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

12 years agoqueue: 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>
12 years agoMerge pull request #75 from ceph/wip-tube
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

12 years agoMerge pull request #76 from ceph/wip-5954
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

12 years agoqueue: include tube name in worker logs
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>
12 years agoBe polite and restore /etc/sudoers when done
Zack Cerza [Fri, 6 Sep 2013 16:18:17 +0000 (11:18 -0500)]
Be polite and restore /etc/sudoers when done

12 years agoMerge pull request #74 from ceph/wip-5954
Sage Weil [Thu, 5 Sep 2013 22:16:32 +0000 (15:16 -0700)]
Merge pull request #74 from ceph/wip-5954

Wip 5954

12 years agoMerge pull request #73 from ceph/wip-5954-alt
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.

12 years agoAdd internal.sudo subtask.
Zack Cerza [Wed, 4 Sep 2013 17:55:58 +0000 (12:55 -0500)]
Add internal.sudo subtask.

12 years agoLet execute() accept a string for args.
Zack Cerza [Wed, 4 Sep 2013 17:16:12 +0000 (12:16 -0500)]
Let execute() accept a string for args.

12 years agoAdd Cluster.write_file()
Zack Cerza [Wed, 4 Sep 2013 16:02:56 +0000 (11:02 -0500)]
Add Cluster.write_file()

12 years agoUse misc.get_archive_dir()
Zack Cerza [Wed, 4 Sep 2013 15:16:43 +0000 (10:16 -0500)]
Use misc.get_archive_dir()

12 years agoAdd get_archive_dir()
Zack Cerza [Wed, 4 Sep 2013 15:16:17 +0000 (10:16 -0500)]
Add get_archive_dir()

12 years agoPut sudo in front of adjust-ulimits if it's used
Zack Cerza [Thu, 5 Sep 2013 21:41:27 +0000 (16:41 -0500)]
Put sudo in front of adjust-ulimits if it's used

12 years agoVia automagic, only call ulimit -n if running as root.
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.

12 years agoRun yum clean all after installing new ceph-release.
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>
12 years agoMerge pull request #71 from ceph/wip-no-pythonpath
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

12 years agodrop 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>
12 years agoAppend '/' to the end of the log directory path
Zack Cerza [Wed, 4 Sep 2013 20:16:33 +0000 (15:16 -0500)]
Append '/' to the end of the log directory path

12 years agoMerge pull request #64 from ceph/wip-nuke-info
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)

12 years agoMerge pull request #65 from ceph/wip-schedule
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