]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Zack Cerza [Wed, 2 Jul 2014 16:08:11 +0000 (10:08 -0600)]
Add a couple unit tests for teuthology.parallel
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Tue, 1 Jul 2014 23:18:40 +0000 (16:18 -0700)]
Merge pull request #280 from dachary/wip-erasure-code-profile
add rgw.create_ec_pool default profile
Loic Dachary [Tue, 1 Jul 2014 23:14:33 +0000 (01:14 +0200)]
add rgw.create_ec_pool default profile
the former arguments had defaults, the caller do not set them
Signed-off-by: Loic Dachary <loic@dachary.org>
Alfredo Deza [Tue, 1 Jul 2014 21:01:04 +0000 (17:01 -0400)]
Merge pull request #275 from ceph/wip-replace-update-sh
Replace update.sh functionality
Zack Cerza [Tue, 1 Jul 2014 18:21:45 +0000 (12:21 -0600)]
Rename suite_base to suite_dir
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 1 Jul 2014 17:45:10 +0000 (11:45 -0600)]
Add --suite-branch and --suite-base
The former lets you specify a specific ceph-qa-suite branch to use for
testing. The latter lets you specify an as-is directory to use, for
example if you want ro run tests that you don't want to commit yet.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 1 Jul 2014 16:56:41 +0000 (10:56 -0600)]
Use a test-specific name/email for the git calls
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 1 Jul 2014 16:42:16 +0000 (10:42 -0600)]
Add more unit tests
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 1 Jul 2014 15:20:44 +0000 (09:20 -0600)]
Merge pull request #277 from dachary/wip-erasure-code-profile
erasure code profile: fix bugs found while testing manually
Gregory Farnum [Tue, 1 Jul 2014 14:14:10 +0000 (07:14 -0700)]
Merge pull request #278 from ceph/wip-nullfs
Support the new fs syntax.
Reviewed-by: Greg Farnum <greg@inktank.com>
Loic Dachary [Tue, 1 Jul 2014 10:26:13 +0000 (12:26 +0200)]
erasure-code: fix typo in create_pool argument name
missing _name at the end
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 1 Jul 2014 10:21:17 +0000 (12:21 +0200)]
erasure-code: do not prepend 'ceph' to the erasure-code-profile command
When used in the radosgw context, the 'ceph' string must be present but
when used in ceph_manager, the 'ceph' string is already included.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 1 Jul 2014 10:19:54 +0000 (12:19 +0200)]
erasure-code: str() to avoid + conversion errors
if the value from the yaml file is an int, it must be converted into a
string bevore being concatenated with '='
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Mon, 30 Jun 2014 23:46:19 +0000 (17:46 -0600)]
Merge pull request #271 from dachary/wip-erasure-code-profile
erasure-code: separate profile from pool creation
Zack Cerza [Mon, 30 Jun 2014 23:43:54 +0000 (17:43 -0600)]
Fix linter errors
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 30 Jun 2014 23:35:11 +0000 (17:35 -0600)]
Add a basic validation of the branch value
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 30 Jun 2014 23:23:20 +0000 (17:23 -0600)]
Run unit tests offline
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Loic Dachary [Tue, 10 Jun 2014 15:17:26 +0000 (17:17 +0200)]
erasure-code: separate profile from pool creation
Instead of being hard coded, the erasure code profile is read from yaml
as:
erasure_code_profile:
name: teuthologyprofile
k: 2
m: 1
ruleset-failure-domain: osd
Which translates into
ceph osd erasure-code-profile set teuthologyprofile \
k=2 m=1 ruleset-failure-domain=osd
The semantic of k/m etc. depends on the erasure code plugin, but it is
common to use k as the dividing factor for each object and m as the
number of coding chunks.
Using a different set of parameters or a different plugin can
be done without modifying the teuthology code:
erasure_code_profile:
name: LRCprofile
plugin: LRC
mapping: __DD__DD
layers: [[ "_cDD_cDD", "" ], [ "cDDD____", "" ], [ "____cDDD", ""]]
For backward compatibility, the default erasure code profile is set to
k: 2
m: 1
ruleset-failure-domain: osd
which matches the previously hardcoded default of the corresponding
functions.
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Mon, 30 Jun 2014 20:38:08 +0000 (14:38 -0600)]
Merge pull request #233 from ceph/wip-background
run something in the background
Sage Weil [Mon, 30 Jun 2014 20:22:36 +0000 (13:22 -0700)]
background_exec: run something in the background
This is a contextmanager task that will run some command in the background
for the duration of any subsequent tasks, and kill it in the cleanup
phase.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 27 Mar 2014 04:41:28 +0000 (21:41 -0700)]
daemon-helper: optional kill an entire process group
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Mon, 30 Jun 2014 16:10:31 +0000 (10:10 -0600)]
Split up repo helper into separate functions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
John Spray [Fri, 6 Jun 2014 10:08:08 +0000 (11:08 +0100)]
task: update 'newfs' users to 'fs new'
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 27 May 2014 13:12:07 +0000 (14:12 +0100)]
task/ceph: Invoke newfs for CephFS as needed
New ceph versions will no longer create the
CephFS pools and will not enable the filesystem
by default. This change adds an explicit step
to the cluster initialization to create the
filesystem if it doesn't already exist.
Signed-off-by: John Spray <john.spray@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 20:42:18 +0000 (14:42 -0600)]
Use corrected tube_name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 20:41:58 +0000 (14:41 -0600)]
Return corrected tube_name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 20:34:39 +0000 (14:34 -0600)]
Use teuthology.beanstalk
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 16:21:53 +0000 (10:21 -0600)]
Document checkout_repo()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 16:18:05 +0000 (10:18 -0600)]
Drop a "fix" for a bug that probably never existed
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 16:12:45 +0000 (10:12 -0600)]
Add a note about teuthology scheduling
Specifically, that we always schedule using the master branch.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 26 Jun 2014 19:37:24 +0000 (13:37 -0600)]
Improve missing branch detection and logging
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 26 Jun 2014 19:37:07 +0000 (13:37 -0600)]
Add unit tests for repo_utils
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 21:24:05 +0000 (15:24 -0600)]
Use 'ceph-qa-suite.git' for the repo name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 21:10:37 +0000 (15:10 -0600)]
Also handle teuthology repo checkouts
Our shell script did this also.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 20:59:38 +0000 (14:59 -0600)]
Handle ceph-qa-suite checkouts
Previously we had an internally-maintained shell script that did this.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 20:40:44 +0000 (14:40 -0600)]
Generalize error message
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 20:24:19 +0000 (14:24 -0600)]
Fix linter errors
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 20:20:18 +0000 (14:20 -0600)]
Move repo checkout code to new module repo_utils
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 19:23:54 +0000 (13:23 -0600)]
Use a more informative variable name for dest_path
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 16:07:04 +0000 (10:07 -0600)]
Merge pull request #274 from dachary/wip-facet
document how to specify a facet in teuthology-suite
Loic Dachary [Fri, 27 Jun 2014 16:04:05 +0000 (18:04 +0200)]
document how to specify a facet in teuthology-suite
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Wed, 25 Jun 2014 16:38:38 +0000 (10:38 -0600)]
Only delete jobs that match the pattern
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 16:34:37 +0000 (10:34 -0600)]
Swap order of job_id and run_name when deleting
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 16:02:59 +0000 (10:02 -0600)]
Skip the kernel stanza if the branch passed is '-'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 15:32:56 +0000 (09:32 -0600)]
Add more docstrings
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 15:43:41 +0000 (09:43 -0600)]
No need to explicitly return None here
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 15:40:36 +0000 (09:40 -0600)]
Update unit tests to reflect renamed function
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 15:38:13 +0000 (09:38 -0600)]
Add a few more docstrings and a debug statement
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 15:13:30 +0000 (09:13 -0600)]
Fix a couple linter errors
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 14:49:39 +0000 (08:49 -0600)]
Remove schedule_suite.sh
Its entire functionality is now provided by teuthology-schedule.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 23 Jun 2014 22:53:03 +0000 (16:53 -0600)]
Fix bug where the base yaml wasn't being merged
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 19:54:05 +0000 (15:54 -0400)]
With dry_run, quote any individual args
So that individual commands can be copied and pasted
in order to execute them individually.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 19:16:45 +0000 (15:16 -0400)]
Add lots of unit tests for teuthology.suite
More to come...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 19:06:21 +0000 (15:06 -0400)]
Raise ScheduleFailError even if not sending email
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 17:41:51 +0000 (13:41 -0400)]
Do everything that schedule_suite.sh does
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 17:40:52 +0000 (13:40 -0400)]
Add default results_email
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 16 Jun 2014 18:29:03 +0000 (12:29 -0600)]
Don't schedule an email job if email isn't set
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 16 Jun 2014 18:26:50 +0000 (12:26 -0600)]
Split prepare_and_schedule() out of main()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 19:48:18 +0000 (14:48 -0500)]
Use the return value of schedule_suite()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 19:37:25 +0000 (14:37 -0500)]
Organize arguments into logical sections
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 19:05:53 +0000 (14:05 -0500)]
Tweak usage formatting
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:50:41 +0000 (12:50 -0500)]
Don't reread the entire yaml file...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:48:46 +0000 (12:48 -0500)]
Remove unused functions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:45:22 +0000 (12:45 -0500)]
'and' is a thing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:43:49 +0000 (12:43 -0500)]
Take machine_type instead of worker
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:30:34 +0000 (12:30 -0500)]
Add functions for querying gitbuilder repos
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 16:47:28 +0000 (11:47 -0500)]
Silence connection pool logging
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 16:30:12 +0000 (11:30 -0500)]
Remove 'template' feature
Neither Sage nor I could find anything that used it
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 16:25:30 +0000 (11:25 -0500)]
Only allow scheduling one suite per call.
Also remove all traces of the extra and confusing term 'collection'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 11 Jun 2014 20:13:45 +0000 (15:13 -0500)]
Port to docopt
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 10 Jun 2014 20:50:59 +0000 (15:50 -0500)]
Refactor collection scheduling out of main()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 17:07:02 +0000 (11:07 -0600)]
If archive_base is None, use config's
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Mon, 23 Jun 2014 15:09:01 +0000 (11:09 -0400)]
Merge pull request #272 from ceph/release
Create a python package for teuthology
Zack Cerza [Thu, 24 Apr 2014 19:45:13 +0000 (14:45 -0500)]
Update setup.py
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 20 Jun 2014 15:36:55 +0000 (11:36 -0400)]
Allow killing jobs by passing a 'jobspec'.
See teuthology-kill --help
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 18:11:56 +0000 (14:11 -0400)]
Add a couple tests for teuthology.schedule
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 16 Jun 2014 16:19:54 +0000 (10:19 -0600)]
Make conf_file optional
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 18:47:56 +0000 (13:47 -0500)]
Add .ropeproject to .gitignore
I use a vim plugin that creates lots of directories with that name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 18:23:19 +0000 (13:23 -0500)]
Add [--] to usage statement
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 10 Jun 2014 19:40:37 +0000 (14:40 -0500)]
Automatically watch 'multi' tube if tube_name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Tue, 10 Jun 2014 12:18:23 +0000 (08:18 -0400)]
Merge pull request #270 from ceph/wip-schedule-suite
Refactor teuthology.schedule...
Zack Cerza [Mon, 9 Jun 2014 18:31:11 +0000 (13:31 -0500)]
Refactor teuthology.schedule...
... to separate the assembling of the job config from the scheduling of
the job. Also port its argument parsing to docopt.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 17:42:34 +0000 (12:42 -0500)]
Remote 'delete' and 'show' features
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 23:30:37 +0000 (18:30 -0500)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 21:41:10 +0000 (16:41 -0500)]
Merge pull request #268 from ceph/wip-5400
Support installing ceph kernels from gitbuilder on rpm machines.
Sandon Van Ness [Mon, 9 Jun 2014 20:43:45 +0000 (13:43 -0700)]
Better variable names.
As suggested by review.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 16:46:19 +0000 (11:46 -0500)]
Disable "fix" for corrupt repo detection
It's causing more problems than it's solving at this point
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 14:22:21 +0000 (09:22 -0500)]
Use correct cwd
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Sat, 7 Jun 2014 14:48:44 +0000 (09:48 -0500)]
Merge pull request #269 from ceph/wip-radosfix
rados: Add hit_set_list missing from possible op weights
Zack Cerza [Sat, 7 Jun 2014 14:45:50 +0000 (09:45 -0500)]
Update to reflect relocated get_jobs()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
David Zafman [Fri, 6 Jun 2014 01:26:47 +0000 (18:26 -0700)]
rados: Add hit_set_list missing from possible op weights
For the future help keep in sync with test/osd/TestRados.cc by listing
in order of op_types in that code.
Signed-off-by: David Zafman <david.zafman@inktank.com>
Zack Cerza [Fri, 6 Jun 2014 21:12:35 +0000 (16:12 -0500)]
Move teuthology-ls's implementation to ls.py
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 6 Jun 2014 17:01:33 +0000 (12:01 -0500)]
Fix corrupt repo detection
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sandon Van Ness [Thu, 5 Jun 2014 19:07:47 +0000 (12:07 -0700)]
Added requested comment.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Sandon Van Ness [Thu, 5 Jun 2014 19:04:49 +0000 (12:04 -0700)]
Remove unused variables and functions.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Wed, 4 Jun 2014 21:29:11 +0000 (16:29 -0500)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 4 Jun 2014 17:42:43 +0000 (12:42 -0500)]
Update --help output
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sandon Van Ness [Wed, 4 Jun 2014 01:36:40 +0000 (18:36 -0700)]
Support installing ceph kernels from gitbuilder on rpm machines.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Josh Durgin [Tue, 3 Jun 2014 22:56:44 +0000 (15:56 -0700)]
Merge pull request #267 from ceph/wip-runxfstests
wip-runxfstests
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Zack Cerza [Tue, 3 Jun 2014 17:39:38 +0000 (12:39 -0500)]
Add a timeout for unmounting
Ten minutes seems like it might be longer than necessary, but I doubt
it's too short.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>