Commit Graph

4847 Commits

Author SHA1 Message Date
Loic Dachary
ab9a3d5a88 buildpackages: create the image if it does not exist
Since buildpackages runs before target provisioning, it is possible that
the desired image does not yet exist on a newly provisionned tenant (or
region).

http://tracker.ceph.com/issues/13910 Fixes: #13910

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-30 16:55:38 +01:00
John Spray
4f29d92f7a suites: yaml for TestDataScan
This was an oversight.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-11-30 14:20:23 +00:00
Loic Dachary
ca64229481 Merge pull request #679 from ceph/wip-ceph-whitespace
tasks/ceph: fix up whitespace

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-27 18:58:10 +01:00
John Spray
b3da9d7e7c tasks/cephfs: add TestJournalRepair.test_table_tool_take_inos
Signed-off-by: John Spray <john.spray@redhat.com>
2015-11-27 17:43:28 +00:00
Loic Dachary
9ea3b26b91 Merge pull request #740 from dachary/wip-13899-rbd-fio
task/rbd_fio: allow for unsigned packages

Reviewed-by: Abhishek Varshney <abhishek.varshney@flipkart.com>
2015-11-27 17:21:13 +01:00
Loic Dachary
77e75c0377 Merge pull request #742 from dachary/wip-openstack-morepggrow
openstack: rados/.../morepggrow.yaml may need more disk

Reviewed-by: Abhishek Varshney <abhishek.varshney@flipkart.com>
2015-11-27 15:12:12 +01:00
Loic Dachary
a6de4a0181 openstack: rados/.../morepggrow.yaml may need more disk
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-27 15:11:05 +01:00
Loic Dachary
d14f2da437 task/rbd_fio: allow for unsigned packages
Similar to what the teuthology install.py task does, add --force-yes to
the apt-get install so that unsigned packages are successfully
installed. It is needed when the buildpackages task is used to create
packages on the fly.

There is no need to do the same for rpm packages because the
verification is controlled from the ceph-release package instead of from
the command line.

http://tracker.ceph.com/issues/13899 Fixes: #13899

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-27 14:20:07 +01:00
Loic Dachary
50e83e32cb Merge pull request #736 from dachary/wip-buildpackage-delete-wait
buildpackages: wait for the build machine deletion
2015-11-27 12:58:08 +01:00
Loic Dachary
63d3569d93 Merge pull request #738 from dachary/wip-openstack-debug
openstack: add 15GB for debugging purposes

Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
2015-11-26 22:19:52 +01:00
Loic Dachary
a25638c585 openstack: add 15GB for debugging purposes
So that it can be used as follows:

   teuthology-openstack ... --suite mysuite ... debug/openstack-15G.yaml

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-26 22:10:24 +01:00
Loic Dachary
8088d60524 buildpackages: wait for the build machine deletion
When the quotas are low, it matters to block until the build machine is
actually deleted. Otherwise target provisionning may fail because the
they exceed the quota. For instance the default on OVH is to have 32
cores and the build machine uses 16. The packages-repository machine
uses two, the teuthology cluster uses one and that leaves only 13 cores
for the targets which may be too low when running jobs that require
large instances.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-26 13:13:36 +01:00
Sage Weil
30b64fd739 rados/thrash/workloads/admin-socket: 60s -> 180s
Provide more time for the asok workload to run.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-25 20:08:02 -05:00
Sage Weil
5c232b4ed5 Merge remote-tracking branch 'gh/jewel' 2015-11-25 20:07:38 -05:00
Gregory Farnum
bb5aaac923 Merge pull request #729 from ceph/wip-scrub-tidy
tasks/cephfs: tidy test_scrub_checks

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-11-25 17:13:52 -05:00
Gregory Farnum
3ba38a4c29 Merge pull request #674 from ceph/wip-13698
tasks/cephfs: fix race in test_sessionmap

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-11-25 17:12:36 -05:00
Gregory Farnum
e774886a3c Merge pull request #663 from ceph/wip-client-mark-down
tasks/cephfs: quick test for `tell`...

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-11-25 17:08:58 -05:00
Gregory Farnum
079ba9ef52 Merge pull request #647 from ceph/wip-repair-dir
tasks/cephfs: include an empty dir in journal repair

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-11-25 17:04:59 -05:00
Gregory Farnum
d5934fc96d Merge pull request #633 from ceph/wip-test-failover
tasks/cephfs/test_failover

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-11-25 17:00:29 -05:00
Loic Dachary
6e184ad0e8 Merge pull request #732 from dachary/wip-openstack-debug
openstack: add 30GB for debugging purposes
2015-11-25 19:25:19 +01:00
Loic Dachary
abc07e2570 openstack: add 30GB for debugging purposes
So that it can be used as follows:

   teuthology-openstack ... --suite mysuite ... debug/openstack-30G.yaml

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-25 19:20:55 +01:00
Loic Dachary
5c8f349919 Merge pull request #718 from ceph/wip-fast-read
rados: add test for ec fast_read

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-24 00:38:22 +01:00
Loic Dachary
af95065c9b Merge pull request #730 from ceph/wip-repair
ceph_manager: do_pg_scrub: keep scrubbing until it's done

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-11-24 00:37:31 +01:00
John Spray
69560a8d65 tasks/cephfs: tidy test_scrub_checks
Use named error codes instead of numbers, and
use the helper fn for getting inode number
instead of doing it by hand.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-11-23 17:47:02 +00:00
Loic Dachary
a1cf4d2561 Merge pull request #725 from dachary/wip-openstack-rbd
openstack: rbd/thrash and rbd/qemu resources
2015-11-22 18:39:03 +01:00
Loic Dachary
29973822f8 openstack: rbd/{thrash,qemu}: allocate three disks, always
The thrasher and qemu need disk attached to run against xfs or btrfs,
otherwise it will use the local file system which is always ext4. It
will succeed but this is a kind of false positive since no xfs or btrfs
related tests were run.

http://tracker.ceph.com/issues/13270 Refs: #13270

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-22 10:23:44 +01:00
Loic Dachary
dfdcb7649b Merge pull request #721 from dachary/wip-13581-openstack-hints
openstack: convert to array hints
2015-11-21 11:33:05 +01:00
Loic Dachary
8f2af5949c openstack: convert to array hints
So that it is more flexible.

http://tracker.ceph.com/issues/13581 Fixes: #13581

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-21 11:08:37 +01:00
Loic Dachary
3598da4414 Merge pull request #719 from dachary/wip-dumpling-parallel
buildpackages: do not -jX on dumpling
2015-11-21 00:04:07 +01:00
Loic Dachary
f398b71e33 buildpackages: do not -jX on dumpling
http://tracker.ceph.com/issues/13845 Refs: #13845

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-20 13:46:28 +01:00
Samuel Just
89dcc0daf3 ceph_manager: do_pg_scrub: keep scrubbing until it's done
The ceph pg scrub ... command isn't really guarranteed to
start a scrub, keep reissuing it until the scrub actually
happens.

Related: #12746
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-11-19 15:07:38 -08:00
Samuel Just
5f90c35f70 rados: add test for ec fast_read
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-11-19 14:44:45 -08:00
Jason Dillaman
2fab020a13 Merge pull request #707 from ceph/wip-13774-jewel
Added infernalis-client-x

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-11-19 13:13:04 -05:00
Yuri Weinstein
f8fcb67e1f Added infernalis-client-x - fixes #13774
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-11-19 09:36:33 -08:00
Loic Dachary
762af15889 Merge pull request #712 from dachary/wip-buildpackages-refactor
buildpackages: implement get_pkg_type & avoid duplicate packages-repository
2015-11-19 09:11:27 +01:00
Loic Dachary
87e50d394a buildpackages: avoid duplicate packages-repository
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-19 09:08:35 +01:00
Loic Dachary
13fb23ed69 buildpackages: implement get_pkg_type
It can be deprectated when it is implemented in teuthology.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-19 00:36:18 +01:00
Loic Dachary
a5133decf6 Merge pull request #710 from dachary/wip-buildpackages-refactor
buildpackages: refactor to not require remote
2015-11-18 23:01:20 +01:00
Loic Dachary
69e9b22e4b buildpackages: refactor to not require remote
Most of the flavor, sha1, tag etc. selection logic as implemented in the
packaging module of teuthology relies on remote hosts. This is complex
to tests and inconvenient because hosts must be provisionned even before
trying to figure out which packages need to be installed.

Using remote hosts is necessary when bare metal targets are used because
teuthology must adapt to the operating system already installed. The
selection logic in the context of dynamically provisionned targets is
simpler because it is defined by the job being run.

The buildpackages is refactored to use only the job configuration to
figure out which packages must be built. It makes it specific to targets
that are dynamically provisionned. It would have to be modified to query
the remote host in the case of bare metal targets.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-18 22:49:59 +01:00
Loic Dachary
1877b818f6 Merge pull request #704 from dachary/wip-buildpackages-packaging
buildpackages: protect packages-repository
2015-11-14 10:27:03 +01:00
Loic Dachary
4825f64a7c buildpackages: protect packages-repository
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-14 09:31:41 +01:00
John Spray
95538f2c06 tasks/cephfs: test for auth caps pool-setting restriction
Signed-off-by: John Spray <john.spray@redhat.com>
2015-11-13 14:16:38 +00:00
Loic Dachary
58eabaae23 Merge pull request #701 from dachary/wip-buildpackages-giant
buildpackages: do not fails for unpackaged files
2015-11-12 20:18:40 +01:00
Loic Dachary
8d798c4eec buildpackages: do not fails for unpackaged files
Older versions of Ceph have that problem failing would break all upgrade suites.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-12 20:17:53 +01:00
Yuri Weinstein
6755ada9ad Merge pull request #700 from ceph/yuriw-patch-1
Update schedule_rados.sh
2015-11-12 10:12:30 -08:00
Yuri Weinstein
cebabdf371 Update schedule_rados.sh
Fixed the args order
2015-11-12 10:12:05 -08:00
Yuri Weinstein
49f5a9e87a Merge pull request #699 from ceph/wip_rados_subset
Require -e arg for email address
2015-11-12 09:55:05 -08:00
Yuri Weinstein
4a78df07e1 Require -e arg for email address
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-11-12 09:53:18 -08:00
Yuri Weinstein
cbdabae72e Merge pull request #698 from ceph/wip_wip_fix_f-h-x-offline-jewel
Added %
2015-11-12 08:07:35 -08:00
Yuri Weinstein
12ba21d0f8 Added %
Fixed intall.upgrade syntax
Whitelisted 'reached quota'

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-11-12 08:05:03 -08:00