Commit Graph

3484 Commits

Author SHA1 Message Date
Yuri Weinstein
caa65c3958 Added steps to cover for 'ceph osd crush tunables firefly'
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-07-10 15:56:33 -07:00
Zack Cerza
8b6e82437c Tweak fetch_teuthology_branch()
Specifically, make it match fetch_qa_suite()'s behavior.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:37 -06:00
Zack Cerza
24b44cbe28 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>
2014-07-10 16:35:37 -06:00
Zack Cerza
9257b8706f Use config.src_base_path
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:37 -06:00
Zack Cerza
49725e08e4 Add src_base_path to defaults.
Defaults to ~/src

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:37 -06:00
Zack Cerza
c105827d5e Store the suite_branch in the job config
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:36 -06:00
Zack Cerza
fb97e85aec Use the new JobConfig object
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:36 -06:00
Zack Cerza
c886a93688 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>
2014-07-10 16:35:36 -06:00
Zack Cerza
70d87bda25 Update existing unit test, and add another.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:36 -06:00
Zack Cerza
0f69e3d4c6 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>
2014-07-10 16:35:36 -06:00
Zack Cerza
9e5338f887 Add test for config substitution
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:36 -06:00
Zack Cerza
46b48c9b7a Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:18 -06:00
Zack Cerza
1a4bde2b40 Fix install_except_hook()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:17:25 -06:00
Yuri Weinstein
277cc10e14 Added dumpling-firefly-x upgrade suite per http://tracker.ceph.com/issues/8796
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-07-10 14:53:59 -07:00
Zack Cerza
3c3cdcb200 Don't execute network-using tests by default
Set TEST_ONLINE to use them.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 12:32:02 -06:00
Zack Cerza
1d48f66add Don't use master as the default teuthology branch
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 12:06:55 -06:00
John Spray
cbc73f710f task/ceph: Make cephfs_setup cuttlefish-compatible
Signed-off-by: John Spray <john.spray@redhat.com>

Fixes: #8711
2014-07-10 16:50:52 +01:00
Greg Farnum
6a231eca6b Revert "enable kernel debugging on kclient fsx runs"
This reverts commit c883e310f32509579e827ed03c4ee28b491e5140.
We don't want the extra debugging any more.

Signed-off-by: Greg Farnum <greg@inktank.com>
2014-07-09 10:53:22 -07:00
Sage Weil
7262d29f5b watch-suite.sh: new syntax
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-07 15:08:55 -07:00
Zack Cerza
b82c9e156e Merge pull request #276 from dachary/wip-typo
documentation typo
2014-07-07 15:35:45 -06:00
Zack Cerza
62f82c3db0 Merge pull request #282 from ceph/wip-jcsp-misc
Wip jcsp misc
2014-07-07 15:35:21 -06:00
Sage Weil
469c003e22 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>
2014-07-07 13:24:53 -07:00
Zack Cerza
5d192ed46c Make the archive dir a positional argument
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-07 14:12:38 -06:00
Zack Cerza
0fa0e2ecb4 Merge pull request #279 from ceph/wip-ls
ls: make --archive-dir default to .
2014-07-07 14:02:46 -06:00
Josh Durgin
bc1550ad9b 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>
2014-07-07 12:06:51 -07:00
Sage Weil
4d7c09ee46 suite: default to 9h results_timeout
6h isn't enough for xfstests.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-07 11:20:39 -07:00
John Spray
18e556b03e 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>
2014-07-07 13:44:05 +01:00
Sage Weil
f3145e98e4 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>
2014-07-06 11:13:58 -07:00
Sage Weil
5860c3f978 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>
2014-07-06 11:02:31 -07:00
Sage Weil
62ead22323 remove stray dirs
These appear to be copies of samba/*

Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-05 18:01:54 -07:00
Sage Weil
8920c4ba79 remove stray workload dir 2014-07-05 17:59:38 -07:00
Zack Cerza
b7eecd446d 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>
2014-07-03 10:18:01 -06:00
Zack Cerza
4881b2ed2b 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>
2014-07-03 10:12:41 -06:00
John Spray
6e19ba41ff 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>
2014-07-03 16:09:29 +01:00
John Spray
f6ec958986 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>
2014-07-03 16:09:29 +01:00
John Spray
87383048d6 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>
2014-07-03 16:09:29 +01:00
John Spray
6934bbe1f8 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>
2014-07-03 16:09:29 +01:00
Zack Cerza
3428b090b4 Remove default results_server
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 18:42:11 -06:00
Zack Cerza
dbadcd0d56 Allow setting results_email in teuthology.yaml
(Instead of passing --email to teuthology-suite)

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 18:39:47 -06:00
Zack Cerza
34a7b31823 Don't remove the teuthology repo if errors occur
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 18:27:09 -06:00
Zack Cerza
97bf86c535 Optionally, don't remove a repo when errors occur
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 18:26:52 -06:00
Zack Cerza
63fd33e4c1 Add another unit test
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 18:17:37 -06:00
Zack Cerza
2d083a791f Merge pull request #45 from dachary/wip-ec-readwrite-firefly-x
add erasure code workload to upgrade/firefly-x
2014-07-02 16:18:19 -06:00
Loic Dachary
5f2aa569da 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>
2014-07-02 19:51:00 +02:00
Loic Dachary
7cdfb05e25 document create_pool erasure_code_profile_name argument
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-07-02 19:50:17 +02:00
Zack Cerza
71182fd86b Allow testing with online repos
It is not the default.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 10:19:25 -06:00
Zack Cerza
cb7fdfb73f Add a unit test simulating simultaneous checkouts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 10:08:48 -06:00
Zack Cerza
43c4595ae2 Add a couple unit tests for teuthology.parallel
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-02 10:08:11 -06:00
Sage Weil
0d1886cc99 Merge pull request #47 from ceph/wip-multimds-pjd
marginal/multimds: fuse_default_permissions = 1 for pjd
2014-07-02 06:50:50 -07:00
Yan, Zheng
88cc7c0e2d marginal/multimds: fuse_default_permissions = 1 for pjd
pjd contains lots of test cases for file permission.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
2014-07-02 11:03:22 +08:00