John Spray
d91f028e26
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>
2014-07-15 13:30:16 +01:00
John Spray
6cba4973c3
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>
2014-07-15 13:30:11 +01:00
John Spray
d81d77dcdf
kclient: remove kclient
workunit
...
This only contained the file_layout.sh workunit, which
is going away.
Fixes : #8773
Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-15 12:59:27 +01:00
Yuri Weinstein
7a1f589a0d
Trying without tunables again
...
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-07-14 15:00:47 -07:00
Sage Weil
0ee2d54533
Merge pull request #46 from ceph/wip-max-backfills
...
rados/thrash: set osd_max_backfill = 1 sometimes
2014-07-14 14:43:29 -07:00
Zack Cerza
657bd369d0
Fix the incomplete substitute_placeholders() fix
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-14 15:16:55 -06:00
Zack Cerza
f557ac5f8c
Add a debug statement to reset_repo()
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-14 14:48:31 -06:00
Zack Cerza
56ad957534
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>
2014-07-14 14:30:31 -06:00
Yuri Weinstein
fa42928d51
Changed restart sequence
...
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-07-14 10:46:31 -07:00
Yuri Weinstein
51a01c0def
Try diff restart
...
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-07-14 09:32:38 -07:00
John Spray
6c05747da7
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>
2014-07-14 16:37:41 +01:00
Zack Cerza
47087ff7fb
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>
2014-07-14 09:35:20 -06:00
Yuri Weinstein
18a3a09a3b
Added back tunables
...
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-07-14 08:24:23 -07:00
Yuri Weinstein
18900a15a4
Removed tunables temporarily for testing
...
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-07-12 16:54:37 -07:00
Gregory Farnum
7afd50fb98
Merge pull request #57 from ceph/wip-test-post-file
...
test ceph-post-file
Reviewed-by: Greg Farnum <greg@inktank.com>
2014-07-11 16:39:20 -07:00
Sage Weil
3150bba803
rados: test ceph-post-file
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-11 15:35:56 -07:00
Zack Cerza
c68b5fc9dd
Add a flag to dump the entire job body.
...
... with a warning.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 14:55:09 -06:00
Zack Cerza
4f61db90ec
Add missing placeholder
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 14:40:45 -06:00
Zack Cerza
dcd22a532f
Add a --dry-run flag to teuthology-schedule
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 14:18:03 -06:00
Zack Cerza
0ccee81915
Don't drop the rest of os.environ
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 13:44:32 -06:00
Zack Cerza
f8658deb5b
Use os.path.expanduser() instead of os.environ
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 13:20:29 -06:00
Zack Cerza
b6c7ba2977
Fix typo
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 13:15:47 -06:00
Zack Cerza
0ad105865a
Fix lock paths
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 13:14:23 -06:00
Zack Cerza
7418de9315
Use the ceph_branch if suite_branch isn't found
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 13:06:21 -06:00
Sage Weil
50dc8f0dda
Merge pull request #56 from ceph/wip-pjd
...
multimds: fix pjd fuse_default_permissions
Reviewed-by: Greg Farnum <greg@inktank.com>
2014-07-11 11:21:31 -07:00
Sage Weil
fe1d476a1f
marginal: fix pjd overrides for fuse_default_persmissions
...
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-11 11:21:02 -07:00
Sage Weil
bc1c12a460
multimds: fix pjd overrides for fuse_default_permissions
...
Set the default (off) in the ceph task directly, so that there is only a
single overrides field that reenables. Otherwise, the two overrides
fight each other with undefined precedence.
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-11 11:13:43 -07:00
Alfredo Deza
b693c40291
Merge pull request #289 from ceph/split_prep
...
Split prep
2014-07-11 13:59:15 -04:00
Zack Cerza
9547a7f398
Discourage modifying defaults in instances
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 10:41:16 -06:00
Zack Cerza
4a6352e372
Don't use double underscores
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 10:33:43 -06:00
Zack Cerza
a924606d26
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>
2014-07-11 09:55:34 -06:00
Yuri Weinstein
cdd4d04002
fix typos
...
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-07-10 17:30:39 -07:00
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