Commit Graph

748 Commits

Author SHA1 Message Date
John Spray
9263bef283 tasks/cephfs: update vstart_runner for cmake build changes
All binaries now go into bin/

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-29 12:13:37 +01:00
Loic Dachary
c6bf2cd4a2 Merge pull request #908 from dachary/wip-archs
archs: add files for each known architecture
2016-03-29 01:01:32 +02:00
Loic Dachary
b976563af2 buildpackages: do not try tcmalloc on arm64
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-28 21:58:42 +02:00
Loic Dachary
b9b00a5ddb buildpackages: desambiguate nic on server create
When there are more than one network, it is required to select the one
to be attached to the nic of the instance.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-28 19:52:00 +02:00
Sage Weil
826aaad0bd Merge remote-tracking branch 'gh/jewel' 2016-03-28 12:39:11 -04:00
Loic Dachary
a8f4321f5c buildpackages: build will work on a range of flavors
When selecting a flavor to build, we prefer the largest we can find and
fallback to smaller ones, down to the minimum acceptable flavor, if
there is no other available.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-28 18:15:12 +02:00
Loic Dachary
c5182f257c buildpackages: do not hardcode x86_64 in build scripts
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-28 18:15:12 +02:00
Loic Dachary
f9c4858a26 buildpackages: use architecture suffixed images
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-28 18:15:12 +02:00
Loic Dachary
40277ca6a9 archs: add files for each known architecture
So that they can be prepend to teuthology-suite to run a job on a
designated architecture.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-28 18:15:12 +02:00
Gregory Farnum
11963dcd3e Merge pull request #905 from ceph/wip-15065
tasks/cephfs: extend TestMultiFilesystems
2016-03-24 18:01:41 -07:00
Yan, Zheng
b977e86f5d tasks/cephfs: test for request caps during lookup/open
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-24 17:47:53 -07:00
Gregory Farnum
f5a1cab663 Merge pull request #874 from ceph/jewel-15008
Jewel 15008

Reviewed-by: John Spray <john.spray@redhat.com>
2016-03-23 17:09:02 -07:00
John Spray
41b27979f1 tasks/cephfs: extend TestMultiFilesystems
...with cases for standby_for_rank and standby_for_fscid.

Fixes: #15065
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:03:13 +00:00
John Spray
bea9b5bb2e tasks: fix ceph_deploy call to Filesystem()
Fixes: #15204
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-21 10:13:25 +00:00
Loic Dachary
1cc657798a buildpackages: provision a small build machine for tests
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-19 11:15:22 +01:00
Sage Weil
7567c80885 Merge remote-tracking branch 'gh/jewel' 2016-03-17 09:27:07 -04:00
Dan Mick
228f71e176 tasks/ceph.py: Remove *.pid at end of run
http://tracker.ceph.com/issues/15162
Fixes: #15162
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2016-03-16 15:50:30 -07:00
Loic Dachary
c9a1f767c2 Merge pull request #882 from dachary/wip-buildpackages
buildpackages: allow for packages to be re-used for releases
2016-03-16 14:40:03 +01:00
Loic Dachary
63c1a6f9ed buildpackages: ensure clone to a ceph directory
In case the repository from which the clone is not named ceph.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-16 14:36:52 +01:00
Loic Dachary
df3eba0f6b buildpackages: for source inclusion in debian
We do not build debian versions (i.e. -2 -3 etc). Even if the debian
detection logic infers that the previous debian version already had the
source package, it is incorrect.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-16 14:36:52 +01:00
Loic Dachary
33b4397da8 buildpackages: allow for more parallel builds
Builds are in parallel if the OS type / version and the SHA1 are
different. Having just one build at a time for a given SHA1 slows thing
down when there are more than a few supported OS.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-16 14:36:52 +01:00
Loic Dachary
c60ace31ea buildpackages: enable autoindex in the packages repository
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-16 14:36:52 +01:00
Loic Dachary
b30655eeb6 buildpackages: do not requires the long tag version
So that v10.1.0 is used instead of 10.1.0-0-g35ac827 when possible.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-16 14:36:52 +01:00
Loic Dachary
5e145c1a2f buildpackages: also pull tags from the user ceph fork
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-16 14:36:52 +01:00
Loic Dachary
d1f456850c workunit: git checkout sha1/branch/tag
git clone --branch refspec only accepts branches and tags but not a sha1
git reset --hard refspec only accepts tags and sha1 but not branches

Use git checkout because it interprets branches, tags and sha1 as
expected.

$ git checkout jewel
Branch jewel set up to track remote branch jewel from origin.
Switched to a new branch 'jewel'
$ git checkout v0.94.6
HEAD is now at e832001... 0.94.6
$ git checkout b2503b0e15
HEAD is now at 95cefea... 0.94.3

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-16 09:25:56 +01:00
Gregory Farnum
7413c38bdf Merge pull request #875 from ceph/wip-15124
tasks/cephfs: support old mdsmap command during setup
2016-03-15 22:33:29 -07:00
Dan Mick
3f54da5eb2 Merge pull request #836 from ceph/wip-fix_cdtest
fix ceph-deploy test

Reviewed-by: Dan Mick <dmick@redhat.com>
2016-03-15 12:58:18 -07:00
Gregory Farnum
6254215399 Merge pull request #861 from ceph/wip-vstart-fixes
tasks/cephfs: vstart & fuse improvements
2016-03-15 12:41:07 -07:00
Gregory Farnum
5116fb07f0 Merge pull request #867 from ceph/jewel-15050
tasks/cephfs: cover fancy layout in test_strays
2016-03-15 12:27:47 -07:00
John Spray
9e202b44c8 tasks/cephfs: support old mdsmap command during setup
While Filesystem at large requires the new commands, for
use from the `ceph` task we must support old style commands,
as the ceph task is used to instantiate old clusters during
upgrade testing.

Fixes: #15124, #15049, #15106

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-15 16:52:49 +00:00
Loic Dachary
96ef6ab699 workunit: git-reset --hard does not accept a branch
Uses git clone --branch refspec because it agrees to use either a tag or
a branch.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-15 16:34:26 +01:00
Yan, Zheng
4a65da5962 cephfs/test_client_limits.py: trim cache when mounting into subdir
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-15 19:48:01 +08:00
Vasu Kulkarni
4e145658a7 Fix review comments
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-03-12 02:15:39 -05:00
Jason Dillaman
77ca8030cd Merge pull request #868 from ceph/wip-fio-ver
Update fio version to 2.7

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-03-11 18:36:57 -05:00
Vasu Kulkarni
e805ebc459 Update fio version to 2.7
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-03-11 12:36:33 -05:00
Yan, Zheng
a54bf91de6 tasks/cephfs: cover fancy layout in test_strays
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-11 20:15:56 +08:00
John Spray
9915752acd tasks/cephfs: enable multi fs flag
Cluster won't let you create more than without
setting this flag explicitly.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:40:12 +00:00
John Spray
e1634ed2ed tasks/cephfs: debug in wait_for_daemons
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:40:11 +00:00
John Spray
e666fddf51 tasks/cephfs: switch off extra daemons in TestStrays
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:39:37 +00:00
John Spray
53f4430d03 tasks/cephfs: further thrasher fixes
Move the thrasher-specific methods out of CephManager
into MDSThrasher and plumb them into MDSCluster.

Signed-off-by: John Spray <john.spray@redhat.com
2016-03-11 10:39:37 +00:00
John Spray
9ca3721d72 tasks/cephfs: simplify recreate()
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:39:36 +00:00
John Spray
09f239f262 tasks/cephfs: update test_journal_repair for multi fs
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
c94d50258d tasks/cephfs: add TestStandbyReplay
In addition to the multi-fs tests, more localised
standby-replay cases.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
212a507e04 tasks/cephfs: fix datascan for multiple filesystems
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
e2176667a0 tasks/cephfs: move the journaltool smoke test into python land
This is one of those things that had a convoluted .yaml file
because it predated the ability to write explicit procedural
python tests.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
951102df37 tasks/cephfs: rename Filesystem.reset to recreate
Name was ambiguous wrt "fs reset"

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
b02afb2a2a tasks: fix mds_thrash for multi filesystems
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
3c3804ec16 tasks/cephfs: update test_runner for mds_cluster
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
22b350de86 tasks: generalise cephfs classes for multi-fs
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
8528cccf63 tasks: add cephfs TestMultiFilesystems
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:42 +00:00