]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agoDon't drop the rest of os.environ
Zack Cerza [Fri, 11 Jul 2014 19:34:44 +0000 (13:34 -0600)]
Don't drop the rest of os.environ

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse os.path.expanduser() instead of os.environ
Zack Cerza [Fri, 11 Jul 2014 19:20:29 +0000 (13:20 -0600)]
Use os.path.expanduser() instead of os.environ

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix typo
Zack Cerza [Fri, 11 Jul 2014 19:15:47 +0000 (13:15 -0600)]
Fix typo

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix lock paths
Zack Cerza [Fri, 11 Jul 2014 19:14:23 +0000 (13:14 -0600)]
Fix lock paths

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse the ceph_branch if suite_branch isn't found
Zack Cerza [Fri, 11 Jul 2014 19:06:21 +0000 (13:06 -0600)]
Use the ceph_branch if suite_branch isn't found

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #289 from ceph/split_prep
Alfredo Deza [Fri, 11 Jul 2014 17:59:15 +0000 (13:59 -0400)]
Merge pull request #289 from ceph/split_prep

Split prep

11 years agoDiscourage modifying defaults in instances
Zack Cerza [Fri, 11 Jul 2014 16:41:16 +0000 (10:41 -0600)]
Discourage modifying defaults in instances

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't use double underscores
Zack Cerza [Fri, 11 Jul 2014 16:33:43 +0000 (10:33 -0600)]
Don't use double underscores

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRun tests for base class in subclass tests
Zack Cerza [Fri, 11 Jul 2014 15:55:34 +0000 (09:55 -0600)]
Run tests for base class in subclass tests

Also remove test_defaults() since it was a bad idea.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoTweak fetch_teuthology_branch()
Zack Cerza [Thu, 10 Jul 2014 07:29:45 +0000 (01:29 -0600)]
Tweak fetch_teuthology_branch()

Specifically, make it match fetch_qa_suite()'s behavior.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoClone ceph-qa-suite and add it to PYTHONPATH
Zack Cerza [Thu, 10 Jul 2014 07:20:12 +0000 (01:20 -0600)]
Clone ceph-qa-suite and add it to PYTHONPATH

So that teuthology runs can find their tasks

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse config.src_base_path
Zack Cerza [Thu, 10 Jul 2014 07:19:48 +0000 (01:19 -0600)]
Use config.src_base_path

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd src_base_path to defaults.
Zack Cerza [Thu, 10 Jul 2014 07:12:33 +0000 (01:12 -0600)]
Add src_base_path to defaults.

Defaults to ~/src

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoStore the suite_branch in the job config
Zack Cerza [Thu, 10 Jul 2014 01:05:51 +0000 (19:05 -0600)]
Store the suite_branch in the job config

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse the new JobConfig object
Zack Cerza [Thu, 10 Jul 2014 01:02:47 +0000 (19:02 -0600)]
Use the new JobConfig object

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake teuthology.config *far* more robust
Zack Cerza [Wed, 9 Jul 2014 20:28:24 +0000 (14:28 -0600)]
Make teuthology.config *far* more robust

In addition to parsing its configuration from a yaml file, it can now be
created from a dict. It can also be dumped as a dict, or as a yaml
stream. It is also now split into multiple classes so that the same
implementation can be used for job configs, and not just as a proxy for
~/.teuthology.yaml.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUpdate existing unit test, and add another.
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>
11 years agoUse a dict for a job template instead of a string.
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>
11 years agoAdd test for config substitution
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>
11 years agoRemove unused import
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>
11 years agoFix install_except_hook()
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>
11 years agoDon't execute network-using tests by default
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>
11 years agoDon't use master as the default teuthology branch
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>
11 years agowatch-suite.sh: new syntax
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>
11 years agoMerge pull request #276 from dachary/wip-typo
Zack Cerza [Mon, 7 Jul 2014 21:35:45 +0000 (15:35 -0600)]
Merge pull request #276 from dachary/wip-typo

documentation typo

11 years agoMerge pull request #282 from ceph/wip-jcsp-misc
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

11 years agoMerge pull request #285 from ceph/wip-8750-jcsp
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>
11 years agoMake the archive dir a positional argument
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>
11 years agoMerge pull request #279 from ceph/wip-ls
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 .

11 years agoMerge pull request #286 from ceph/wip-results-timeout
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>
11 years agosuite: default to 9h results_timeout
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>
11 years agotask/ceph: move set_max_mds into cephfs_setup
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>
11 years agoceph.conf: drop min pg per osd warning
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>
11 years agoMerge pull request #281 from dachary/wip-lost-unfound
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>
11 years agoDon't mess with ~/src/teuthology by default
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>
11 years agoRelocate teuthology checkouts to ~/src/
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>
11 years agotask/ceph: add option to avoid doing scrub
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>
11 years agonuke: fix unmounted multiple fuse mount points
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>
11 years agorun_tasks: catch malformed task case
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>
11 years agotask/ceph_manager: generalize admin_socket calls
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>
11 years agoRemove default results_server
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>
11 years agoAllow setting results_email in teuthology.yaml
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>
11 years agoDon't remove the teuthology repo if errors occur
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>
11 years agoOptionally, don't remove a repo when errors occur
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>
11 years agoAdd another unit test
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>
11 years agofix create_pool_with_unique_name call to use profile name
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>
11 years agodocument create_pool erasure_code_profile_name argument
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>
11 years agoAllow testing with online repos
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>
11 years agoAdd a unit test simulating simultaneous checkouts
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>
11 years agoAdd a couple unit tests for teuthology.parallel
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>
11 years agoMerge pull request #280 from dachary/wip-erasure-code-profile
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

11 years agoadd 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>
11 years agols: make --archive-dir default to .
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>
11 years agoMerge pull request #275 from ceph/wip-replace-update-sh
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

11 years agoRename suite_base to suite_dir
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>
11 years agoAdd --suite-branch and --suite-base
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>
11 years agoUse a test-specific name/email for the git calls
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>
11 years agoAdd more unit tests
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>
11 years agoMerge pull request #277 from dachary/wip-erasure-code-profile
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

11 years agoMerge pull request #278 from ceph/wip-nullfs
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>
11 years agoerasure-code: fix typo in create_pool argument name
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>
11 years agoerasure-code: do not prepend 'ceph' to the erasure-code-profile command
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>
11 years agoerasure-code: str() to avoid + conversion errors
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>
11 years agoMerge pull request #271 from dachary/wip-erasure-code-profile
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

11 years agoFix linter errors
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>
11 years agoAdd a basic validation of the branch value
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>
11 years agoRun unit tests offline
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>
11 years agodocumentation typo
Loic Dachary [Mon, 30 Jun 2014 21:29:48 +0000 (23:29 +0200)]
documentation typo

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoerasure-code: separate profile from pool creation
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>
11 years agoMerge pull request #233 from ceph/wip-background
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

11 years agobackground_exec: 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>
11 years agodaemon-helper: optional kill an entire process group
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>
11 years agoSplit up repo helper into separate functions
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>
11 years agotask: update 'newfs' users to 'fs new'
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>
11 years agotask/ceph: Invoke newfs for CephFS as needed
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>
11 years agoUse corrected tube_name
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>
11 years agoReturn corrected tube_name
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>
11 years agoUse teuthology.beanstalk
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>
11 years agoDocument checkout_repo()
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>
11 years agoDrop a "fix" for a bug that probably never existed
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>
11 years agoAdd a note about teuthology scheduling
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>
11 years agoImprove missing branch detection and logging
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>
11 years agoAdd unit tests for repo_utils
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>
11 years agoUse 'ceph-qa-suite.git' for the repo name
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>
11 years agoAlso handle teuthology repo checkouts
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>
11 years agoHandle ceph-qa-suite checkouts
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>
11 years agoGeneralize error message
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>
11 years agoFix linter errors
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>
11 years agoMove repo checkout code to new module repo_utils
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>
11 years agoUse a more informative variable name for dest_path
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>
11 years agoMerge pull request #274 from dachary/wip-facet
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

11 years agodocument 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>
11 years agoOnly delete jobs that match the pattern
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>
11 years agoSwap order of job_id and run_name when deleting
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>
11 years agoSkip the kernel stanza if the branch passed is '-'
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>
11 years agoAdd more docstrings
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>
11 years agoNo need to explicitly return None here
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>
11 years agoUpdate unit tests to reflect renamed function
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>
11 years agoAdd a few more docstrings and a debug statement
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>
11 years agoFix a couple linter errors
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>