Mykola Golub
93f7b5ef3f
Merge pull request #13158 from dillaman/wip-18594
...
qa: integrate OpenStack 'gate-tempest-dsvm-full-devstack-plugin-ceph'
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-02-02 08:27:49 +02:00
John Spray
a027dba78f
tasks/cephfs: switch open vs. write in test_open_inode
...
Do the write after opening the file, so that we get good
behaviour wrt the change in Mount.open_background that uses
file existence to confirm that the open happened.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-02-01 00:38:08 +00:00
John Spray
7f7f44ea5c
qa/tasks: force umount during kclient teardown
...
Previously we could readily end up hanging on teardown
when something had gone wrong with umount. Forcing
is a big hammer (umount_wait will power cycle the node
if umount isn't working), so if we had to do that
then raise an exception to indicate that something
was wrong with the test.
Fixes: http://tracker.ceph.com/issues/18663
Signed-off-by: John Spray <john.spray@redhat.com>
2017-02-01 00:26:59 +00:00
John Spray
d4f6385b85
Merge pull request #12800 from jcsp/wip-vstart-qasuite
...
Improve vstart_runner to (optionally) create its own cluster
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-01-31 02:02:49 +01:00
Nathan Cutler
046e873026
tests: ignore bogus ceph-objectstore-tool error in ceph_manager
...
Fixes: http://tracker.ceph.com/issues/16263
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-31 00:49:05 +01:00
Jason Dillaman
ce675383b3
qa/tasks/qemu: allow tests to customize the number of CPUs
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-26 14:18:48 -05:00
Jason Dillaman
42e967f0bb
qa/tasks/qemu: copy ceph configuration to VM image
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-26 14:17:43 -05:00
Jason Dillaman
d98aa1a39a
qa/tasks/qemu: attach all disks as rbd block devices
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-26 14:17:30 -05:00
Jason Dillaman
67a4a6c519
qa/tasks/qemu: support overriding the cloud image
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-26 14:16:16 -05:00
Jason Dillaman
454348004b
qa/tasks/qemu: support arbitrary additions to cloud-init-archive
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-26 14:16:10 -05:00
John Spray
c6d91dd912
qa: fix race in Mount.open_background
...
Previously a later remote call could end up executing
before the remote python program in open_background
had actually got as far as opening the file.
Fixes: http://tracker.ceph.com/issues/18661
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-26 16:48:58 +00:00
Michal Jarzabek
052c3d3f68
mon/MDSMonitor.cc:refuse fs new on pools with obj
...
Fixes: http://tracker.ceph.com/issues/11124
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2017-01-23 19:48:53 +00:00
John Spray
fe219df2a2
qa: update vstart_runner docstring
...
...to use paths pointing to ceph tree, not
ceph-qa-suite tree.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-19 06:30:20 +01:00
John Spray
549d993d3f
qa: update remaining ceph.com to download.ceph.com
...
Fixes: http://tracker.ceph.com/issues/18574
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-17 17:14:50 +01:00
Jason Dillaman
6d17befb3b
qa/tasks/qemu: update default image url after ceph.com redesign
...
Fixes: http://tracker.ceph.com/issues/18542
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-16 22:12:51 -05:00
Alfredo Deza
7172b55ad9
Merge pull request #12892 from ceph/wip-cd-fs-fix
...
qa/tasks/ceph-deploy: use the new create option during instantiation
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-01-13 16:06:24 -05:00
John Spray
1e62467d09
Merge pull request #12833 from ukernel/wip-18396
...
tasks/cephfs: fix kernel force umount
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-13 11:20:00 +00:00
John Spray
2076cda04a
Merge pull request #12749 from ukernel/wip-18179
...
mds: propagate error encountered during opening inode by number
Reviewed-by: John Spray <john.spray@redhat.com>
2017-01-13 11:18:59 +00:00
Yan, Zheng
6526ecc084
qa/tasks: add test_open_ino_errors
...
Validate that errors encountered during opening inos are properly
propagated
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-12 20:15:53 +08:00
Vasu Kulkarni
2d4ed95f2b
use the create option during instantiation
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-01-10 15:43:12 -08:00
Alfredo Deza
ebb02c8ef5
Merge pull request #12867 from ceph/wip-ceph-deploy-workaround
...
qa/tasks/ceph-deploy: create-keys explicitly
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-01-10 15:47:26 -05:00
Vasu Kulkarni
2d6c3fa8b2
Add ceph-create-keys to explicitly create admin/bootstrap keys
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-01-09 17:14:33 -08:00
Yan, Zheng
4cdeeaac10
qa/tasks/cephfs: fix kernel force umount
...
Fixes: http://tracker.ceph.com/issues/18396
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2017-01-10 08:31:25 +08:00
John Spray
6542a2e0d0
Merge pull request #12588 from jcsp/wip-18311
...
mds: check for errors decoding backtraces
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-09 11:02:32 +00:00
Nathan Cutler
74689df754
tests: subst branch and repo in qa/tasks/qemu.py
...
References: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 22:49:54 +01:00
Nathan Cutler
56e37e41f4
tests: subst repo name in qa/tasks/cram.py
...
Inspired by bcbe45d948
Fixes: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 13:40:06 +01:00
John Spray
aa01f44022
qa: enable cluster creation in vstart_runner
...
Convenient when you want to create a fresh cluster
each test run: just pass --create and you'll get
a cluster with the right number of daemons for
the tests you're running.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-05 13:43:40 +00:00
John Spray
5d945fb71e
qa/vstart_runner: more robust stop() on daemons
...
Previously this could get hung up if we killed one
PID and then the daemon reappears with a different
one (perhaps because we caught it during
daemonization?)
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-05 13:43:39 +00:00
John Spray
081038ef53
qa: fix vstart_runner tasks import
...
Instead of hunting around the filesystem for
ceph-qa-suite, get it from our own location.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-05 13:43:39 +00:00
John Spray
5f6cdab80f
qa/tasks: add test_corrupt_backtrace
...
Validate that we get EIO and a damage table entry
when seeing a decode error on a backtrace.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-05 13:41:59 +00:00
Sage Weil
2861a2188a
Merge pull request #12630 from liewegas/wip-workunit-retry
...
qa/tasks/workunit: clear clone dir before retrying checkout
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-12-23 08:12:35 -06:00
Sage Weil
2a7013cd5a
qa/tasks/workunit: clear clone dir before retrying checkout
...
If we checkout ceph-ci.git, and don't find a branch,
we'll try again from ceph.git. But the checkout will
already exist and the clone will fail, so we'll still
fail to find the branch.
The same can happen if a previous workunit task already
checked out the repo.
Fix by removing the repo before checkout (the first and
second times). Note that this may break if there are
multiple workunit tasks running in parallel on the same
role. That is already racy, so if it's happening, we'll
want to switch to using a truly unique clonedir for each
instantiation.
Fixes: http://tracker.ceph.com/issues/18336
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-22 13:05:22 -05:00
Sage Weil
e1781dd573
qa/tasks/peer: update task based on current peering behavior
...
This changed in 0be3f5f72e
.
Fixes: http://tracker.ceph.com/issues/18330
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-22 08:40:45 -05:00
Sage Weil
c922404a03
qa/tasks/osd_backfill.py: wait for osd.[12] to start
...
...before sending a tell command. Otherwise osd.2 might
start without 1, the io unblocks, and the tell fails
because osd.1 is still down.
Fixes: http://tracker.ceph.com/issues/18303
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-19 21:56:11 -05:00
Sage Weil
72d73b8c88
qa/tasks/workunit: retry on ceph.git if checkout fails
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-16 15:06:16 -05:00
Vasu Kulkarni
9f04a7b32e
use dev option instead of dev-commit
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-12-15 14:11:00 -08:00
Sage Weil
6bb3a037e5
Merge pull request #12511 from liewegas/wip-workunits
...
qa/workunits/rbd: fix
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-12-15 14:15:31 -06:00
Sage Weil
c6698c95b8
Merge pull request #12508 from liewegas/wip-qa-admin-socket
...
qa/tasks/admin_socket: subst in repo name
2016-12-15 13:53:10 -06:00
Sage Weil
27b8eac249
qa/tasks/workunit.py: add CEPH_BASE env var
...
Root of git checkout
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-15 13:52:03 -05:00
Sage Weil
4602884ab8
qa/tasks/workunit: leave workunits inside git checkout
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-15 13:52:03 -05:00
Sage Weil
bcbe45d948
qa/tasks/admin_socket: subst in repo name
...
It is either ceph.git or ceph-ci.git.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-15 13:35:02 -05:00
Samuel Just
ae40602c14
Merge remote-tracking branch 'ceph-qa-suite/master' into wip-18113-qa
2016-12-14 16:05:35 -08:00
Sage Weil
c01f2ee0e2
move ceph-qa-suite dirs into qa/
2016-12-14 11:29:55 -06:00