]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Zack Cerza [Wed, 9 Jul 2014 17:46:33 +0000 (11:46 -0600)]
Update existing unit test, and add another.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 9 Jul 2014 17:46:01 +0000 (11:46 -0600)]
Use a dict for a job template instead of a string.
This makes later modifications far easier.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 9 Jul 2014 17:36:57 +0000 (11:36 -0600)]
Add test for config substitution
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 22:35:18 +0000 (16:35 -0600)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 22:17:25 +0000 (16:17 -0600)]
Fix install_except_hook()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 18:32:02 +0000 (12:32 -0600)]
Don't execute network-using tests by default
Set TEST_ONLINE to use them.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 18:06:55 +0000 (12:06 -0600)]
Don't use master as the default teuthology branch
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Mon, 7 Jul 2014 22:08:41 +0000 (15:08 -0700)]
watch-suite.sh: new syntax
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Mon, 7 Jul 2014 21:35:45 +0000 (15:35 -0600)]
Merge pull request #276 from dachary/wip-typo
documentation typo
Zack Cerza [Mon, 7 Jul 2014 21:35:21 +0000 (15:35 -0600)]
Merge pull request #282 from ceph/wip-jcsp-misc
Wip jcsp misc
Sage Weil [Mon, 7 Jul 2014 20:24:53 +0000 (13:24 -0700)]
Merge pull request #285 from ceph/wip-8750-jcsp
task/ceph: move set_max_mds into cephfs_setup
Reviewed-by: Sage Weil <sage@redhat.com>
Zack Cerza [Mon, 7 Jul 2014 20:12:38 +0000 (14:12 -0600)]
Make the archive dir a positional argument
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 7 Jul 2014 20:02:46 +0000 (14:02 -0600)]
Merge pull request #279 from ceph/wip-ls
ls: make --archive-dir default to .
Josh Durgin [Mon, 7 Jul 2014 19:06:51 +0000 (12:06 -0700)]
Merge pull request #286 from ceph/wip-results-timeout
suite: change default results_timeout to 9h (from 6h)
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Mon, 7 Jul 2014 18:20:39 +0000 (11:20 -0700)]
suite: default to 9h results_timeout
6h isn't enough for xfstests.
Signed-off-by: Sage Weil <sage@inktank.com>
John Spray [Mon, 7 Jul 2014 12:15:41 +0000 (13:15 +0100)]
task/ceph: move set_max_mds into cephfs_setup
Move the calculation of active MDS count out
of the generic service setup and into the
filesystem setup.
Fixes: #8750
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Sun, 6 Jul 2014 18:13:58 +0000 (11:13 -0700)]
ceph.conf: drop min pg per osd warning
With only the rbd pool getting created this needs to be dropped
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sun, 6 Jul 2014 18:02:31 +0000 (11:02 -0700)]
Merge pull request #281 from dachary/wip-lost-unfound
fix create_pool_with_unique_name call to use profile name
Reviewed-by: Sage Weil <sage@redhat.com>
Zack Cerza [Thu, 3 Jul 2014 16:18:01 +0000 (10:18 -0600)]
Don't mess with ~/src/teuthology by default
Setting 'automated_scheduling: True' in ~/.teuthology.yaml enables it.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 3 Jul 2014 16:12:41 +0000 (10:12 -0600)]
Relocate teuthology checkouts to ~/src/
Also use an underscore instead of a dash between 'teuthology' and the
branch name.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
John Spray [Thu, 3 Jul 2014 11:08:58 +0000 (12:08 +0100)]
task/ceph: add option to avoid doing scrub
When iterating on test in development, it's useful
to be able to skip this step.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 3 Jul 2014 13:05:34 +0000 (14:05 +0100)]
nuke: fix unmounted multiple fuse mount points
It was trying to pass multiple paths to fusermount, but
it should instead invoke fusermount for each path.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 2 Jul 2014 18:09:03 +0000 (19:09 +0100)]
run_tasks: catch malformed task case
If you do something like this:
- foo:
- bar:
- baz
Then catching AttributeError is necessary for giving a somewhat
friendlier error on the 'baz' where we have a string instead
of a dict.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 2 Jul 2014 16:11:02 +0000 (17:11 +0100)]
task/ceph_manager: generalize admin_socket calls
This is so that tasks can access the admin sockets
of other service types such as the MDS.
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Thu, 3 Jul 2014 00:42:11 +0000 (18:42 -0600)]
Remove default results_server
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 3 Jul 2014 00:39:47 +0000 (18:39 -0600)]
Allow setting results_email in teuthology.yaml
(Instead of passing --email to teuthology-suite)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 3 Jul 2014 00:27:09 +0000 (18:27 -0600)]
Don't remove the teuthology repo if errors occur
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 3 Jul 2014 00:26:52 +0000 (18:26 -0600)]
Optionally, don't remove a repo when errors occur
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 3 Jul 2014 00:17:37 +0000 (18:17 -0600)]
Add another unit test
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Loic Dachary [Wed, 2 Jul 2014 17:51:00 +0000 (19:51 +0200)]
fix create_pool_with_unique_name call to use profile name
The hardcoded arguments are deprecated for the profile name. Create a
profile that matches the previous default arguments. Read the config to
allow the caller to override the defaults from the yaml file.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Wed, 2 Jul 2014 17:50:17 +0000 (19:50 +0200)]
document create_pool erasure_code_profile_name argument
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Wed, 2 Jul 2014 16:19:25 +0000 (10:19 -0600)]
Allow testing with online repos
It is not the default.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Jul 2014 16:08:48 +0000 (10:08 -0600)]
Add a unit test simulating simultaneous checkouts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
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>
Sage Weil [Tue, 1 Jul 2014 22:39:57 +0000 (15:39 -0700)]
ls: make --archive-dir default to .
This is how I use it 99% of the time.
Signed-off-by: Sage Weil <sage@inktank.com>
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 [Mon, 30 Jun 2014 21:29:48 +0000 (23:29 +0200)]
documentation typo
Signed-off-by: Loic Dachary <loic@dachary.org>
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>