]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agoRemove oddly-placed, broken import
Zack Cerza [Thu, 24 Jul 2014 16:03:38 +0000 (10:03 -0600)]
Remove oddly-placed, broken import

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRename CephState to DaemonGroup and move to orchestra
Zack Cerza [Thu, 24 Jul 2014 01:58:55 +0000 (19:58 -0600)]
Rename CephState to DaemonGroup and move to orchestra

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove DaemonState to teuthology.orchestra
Zack Cerza [Thu, 24 Jul 2014 01:21:57 +0000 (19:21 -0600)]
Move DaemonState to teuthology.orchestra

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFail sooner if an invalid config_yaml is passed
Zack Cerza [Tue, 22 Jul 2014 21:47:53 +0000 (15:47 -0600)]
Fail sooner if an invalid config_yaml is passed

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRemove kcon_most
Zack Cerza [Tue, 22 Jul 2014 19:57:40 +0000 (13:57 -0600)]
Remove kcon_most

It was unused.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #293 from ceph/wip-ship-utilities
Zack Cerza [Tue, 22 Jul 2014 19:49:57 +0000 (13:49 -0600)]
Merge pull request #293 from ceph/wip-ship-utilities

move ship_utilities to install task (from ceph test)

11 years agoceph_deploy: use new ship_utilities location
Sage Weil [Tue, 22 Jul 2014 17:55:10 +0000 (10:55 -0700)]
ceph_deploy: use new ship_utilities location

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agomove ship_utilities to install task (from ceph test)
Sage Weil [Sat, 19 Jul 2014 16:22:27 +0000 (09:22 -0700)]
move ship_utilities to install task (from ceph test)

No need to install ceph just to get daemon-helper, adjust-ulimits, etc..
These utilities are used by lots of tasks, not just ceph.

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoFix get_hash() arg ordering
Zack Cerza [Wed, 16 Jul 2014 18:07:55 +0000 (12:07 -0600)]
Fix get_hash() arg ordering

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #287 from ceph/wip-mds-sessions
Zack Cerza [Tue, 15 Jul 2014 22:27:56 +0000 (16:27 -0600)]
Merge pull request #287 from ceph/wip-mds-sessions

Wip mds sessions

11 years agoMerge pull request #288 from ceph/wip-upgrade-fix
Zack Cerza [Tue, 15 Jul 2014 22:22:29 +0000 (16:22 -0600)]
Merge pull request #288 from ceph/wip-upgrade-fix

task/ceph: Make cephfs_setup cuttlefish-compatible

11 years agoMerge pull request #291 from ceph/wip-rgw-pools
Sage Weil [Tue, 15 Jul 2014 21:57:49 +0000 (14:57 -0700)]
Merge pull request #291 from ceph/wip-rgw-pools

rgw: set data extra pool correctly

Backport: next, firefly
Reviewed-by: Sage Weil <sage@redhat.com>
11 years agorgw: set data extra pool correctly
Yehuda Sadeh [Tue, 15 Jul 2014 19:43:15 +0000 (12:43 -0700)]
rgw: set data extra pool correctly

When configuring multiregion zone, set the data extra pool

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agoAdd and use new fetch() method
Zack Cerza [Tue, 15 Jul 2014 17:55:27 +0000 (11:55 -0600)]
Add and use new fetch() method

The old fetch_branch() wasn't behaving properly with the ceph.com git
mirror. This method works with github.com and ceph.com. Add a couple
unit tests, and leave the old fetch_branch() in place for now, even
though nothing uses it.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #290 from ceph/wip-deep-scrub
Sage Weil [Tue, 15 Jul 2014 17:31:46 +0000 (10:31 -0700)]
Merge pull request #290 from ceph/wip-deep-scrub

task/ceph.py: deep-scrub instead of scrub

11 years agoFix a bug where results_email was being ignored
Zack Cerza [Tue, 15 Jul 2014 17:28:07 +0000 (11:28 -0600)]
Fix a bug where results_email was being ignored

Referring to the setting in ~/.teuthology.yaml

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agotask/ceph.py: deep-scrub instead of scrub
Samuel Just [Tue, 15 Jul 2014 17:28:11 +0000 (10:28 -0700)]
task/ceph.py: deep-scrub instead of scrub

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoREADME: teuthology-suite
Sage Weil [Tue, 15 Jul 2014 17:08:09 +0000 (10:08 -0700)]
README: teuthology-suite

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agotask/kclient: remove redundant double loop
John Spray [Mon, 14 Jul 2014 12:36:21 +0000 (13:36 +0100)]
task/kclient: remove redundant double loop

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agotask/cephfs: use dedent for embedded python
John Spray [Mon, 14 Jul 2014 12:02:58 +0000 (13:02 +0100)]
task/cephfs: use dedent for embedded python

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agotask: fix admin_socket for non-int ids
John Spray [Tue, 8 Jul 2014 11:44:40 +0000 (12:44 +0100)]
task: fix admin_socket for non-int ids

This was working for OSDs and for my config
where MDS happened to have numeric ID, but
in general service IDs are strings, not ints.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agotask: add mds_client_recovery
John Spray [Wed, 2 Jul 2014 18:25:14 +0000 (19:25 +0100)]
task: add mds_client_recovery

This task exercises the CephFS session recovery
behavior.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agotask/mds_journal_migration: only mount my client
John Spray [Wed, 2 Jul 2014 16:17:19 +0000 (17:17 +0100)]
task/mds_journal_migration: only mount my client

Pass explicit client ID list to ceph_fuse context so
that it doesn't try to mount all clients in the config,
in case there are other clients.

Also allow configuration to specify which client
this task should use.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agotask: refactor kclient into KernelMount
John Spray [Wed, 2 Jul 2014 15:43:16 +0000 (16:43 +0100)]
task: refactor kclient into KernelMount

Additionally make both kclient and ceph_fuse
tasks yield a collection of CephFSMount
objects so that subsequent tasks can
retrieve them.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agotask: create FuseMount class from ceph_fuse
John Spray [Wed, 2 Jul 2014 14:38:47 +0000 (15:38 +0100)]
task: create FuseMount class from ceph_fuse

This is for use by other tasks that need filesystem
mounts under their own control.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agoFix the incomplete substitute_placeholders() fix
Zack Cerza [Mon, 14 Jul 2014 21:16:55 +0000 (15:16 -0600)]
Fix the incomplete substitute_placeholders() fix

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd a debug statement to reset_repo()
Zack Cerza [Mon, 14 Jul 2014 20:48:31 +0000 (14:48 -0600)]
Add a debug statement to reset_repo()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoBe smarter about choosing branches
Zack Cerza [Mon, 14 Jul 2014 20:30:31 +0000 (14:30 -0600)]
Be smarter about choosing branches

Part of this is also about failing sooner, and not allowing invalid
configurations to enter the queue. This commit also fixes an obscure bug
in substitute_placeholders(). Finally, it adds unit tests for all bugs
fixed.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agotask: move Filesystem class to shared location
John Spray [Wed, 2 Jul 2014 11:54:05 +0000 (12:54 +0100)]
task: move Filesystem class to shared location

...in preparation for tests other than mds_journal_migration
to use it.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agoFall back to master for suite_branch
Zack Cerza [Mon, 14 Jul 2014 15:35:20 +0000 (09:35 -0600)]
Fall back to master for suite_branch

The reason for this is that last-in-suite jobs don't have suite_branch
or branch set. We just want to use master for those.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd a flag to dump the entire job body.
Zack Cerza [Fri, 11 Jul 2014 20:55:09 +0000 (14:55 -0600)]
Add a flag to dump the entire job body.

... with a warning.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd missing placeholder
Zack Cerza [Fri, 11 Jul 2014 20:40:45 +0000 (14:40 -0600)]
Add missing placeholder

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd a --dry-run flag to teuthology-schedule
Zack Cerza [Fri, 11 Jul 2014 20:18:03 +0000 (14:18 -0600)]
Add a --dry-run flag to teuthology-schedule

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
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 agotask/ceph: Make cephfs_setup cuttlefish-compatible
John Spray [Thu, 10 Jul 2014 15:28:29 +0000 (16:28 +0100)]
task/ceph: Make cephfs_setup cuttlefish-compatible

Signed-off-by: John Spray <john.spray@redhat.com>
Fixes: #8711
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>