Josh Durgin
3580d224d7
Merge pull request #13755 from liewegas/wip-19131
...
osd/osd_internal_types: wake snaptrimmer on put_read lock, too
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-03-06 12:48:25 -08:00
Sage Weil
ef6da79502
Merge pull request #13379 from jecluis/wip-mon-luminous-features
...
mon: enable luminous monmap feature on full quorum
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-06 10:46:08 -06:00
Kefu Chai
f903f2f3fd
Merge pull request #13228 from trociny/wip-qa-rbd_mirror-opts
...
qa/workunits/rbd: tweak rbd-mirror config to spead up testing
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-03-06 12:07:23 +08:00
Sage Weil
8ef5c56ae5
qa/suites/rados/thrash: add no-thrash item to matrix
...
Run all of our cases with no thrashing. This would have uncovered
http://tracker.ceph.com/issues/19131 much sooner!
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-03 10:07:43 -06:00
Joao Eduardo Luis
23740119c6
mon: test 'mon feature' cli
...
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:35 +00:00
Joao Eduardo Luis
3cabcb7d51
qa/workunits/ceph-helpers: add wait_for_quorum()
...
Takes optional timeout and desired quorum size
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:34 +00:00
Zack Cerza
5fa96a60d7
qa/suites/ceph-deploy: Drop OpenStack volume count
...
Looks like we only need two per node, since there is only one OSD per
node, and ceph-deploy wants two disks per OSD to account for the
journal.
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-03-01 15:15:49 -07:00
John Spray
39204abeda
Merge pull request #13282 from jcsp/wip-fuse-mount-teardown
...
tasks/cephfs: tear down on mount() failure
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-28 15:04:59 +00:00
Kefu Chai
ae85309b8d
Merge pull request #13663 from tchaikov/wip-ceph-git-for-workunit
...
qa/tasks/workunit: use ceph.git as an alternative of ceph-ci.git for cloning workunit
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-28 10:32:00 +08:00
Zack Cerza
99d942145f
qa/suites/rest: Openstack volumes
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-27 09:14:41 -07:00
Zack Cerza
964b983bdb
qa/suites/ceph-ansible: Openstack volumes
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-27 09:06:26 -07:00
Kefu Chai
edceabbd47
qa/tasks/workunit: use ceph.git as an alternative of ceph-ci.git for workunit repo
...
if we run upgrade test, where, for example, "jewel" is not in
ceph-ci.git repo, we should check ceph.git to clone the workunits.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-27 17:36:05 +08:00
Sage Weil
af5dab0613
Merge pull request #13649 from liewegas/wip-ceph-scrub-debug
...
qa/tasks/ceph.py: debug which pgs aren't scrubbing
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-25 13:15:06 -06:00
Sage Weil
f777d849e7
qa/tasks/ceph.py: debug which pgs aren't scrubbing
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-24 23:07:34 -05:00
Zack Cerza
b076d89a3f
qa/suites/fs: Add openstack volume configuration
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-24 15:25:19 -07:00
Samuel Just
44b26f6ab4
Merge pull request #13594 from athanatos/wip-snap-trim-sleep
...
osd: add snap trim reservation and re-implement osd_snap_trim_sleep
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-24 14:09:17 -08:00
Zack Cerza
6f7f331ea8
Merge pull request #13637 from zmc/wip-openstack-volumes
...
qa/suites/{knfs,hadoop,samba}: OpenStack volume configuration
2017-02-24 14:43:56 -07:00
Zack Cerza
e0296d7064
qa/suites/samba: Openstack volume configuration
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-24 13:46:54 -07:00
Zack Cerza
3fef0a49da
qa/suites/hadoop: Openstack volume configuration
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-24 13:45:18 -07:00
Zack Cerza
62c6fd3371
qa/suites/knfs: Add openstack volume configuration
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-24 13:44:33 -07:00
Zack Cerza
ec6fb28eaf
qa/suites/kcephfs: Openstack volume configuration
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-24 13:37:23 -07:00
Zack Cerza
201b4d0d1e
qa/suites/krbd: Add openstack volume configuration
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-24 11:17:45 -07:00
Kefu Chai
8e36dadb71
Merge pull request #13625 from tchaikov/wip-suite-repo-for-workunit
...
qa/tasks/workunit: use the suite repo for cloning workunit
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-24 23:44:27 +08:00
Jason Dillaman
3cd180b28b
Merge pull request #12102 from yangdongsheng/async_remove
...
librbd: asynchronous image removal state machine
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-24 08:50:41 -05:00
Kefu Chai
4cf28de4c9
qa/tasks/workunit: use the suite repo for cloning workunit
...
as "workunits" reside in ceph/qa/workunits, it's more intuitive to
respect suite-repo option when cloning workunits.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-24 16:47:47 +08:00
Zack Cerza
8af4c35f95
qa/suites/rgw: Add openstack volume configuration
...
Without this, OSDs will fail to create on instances whose root fs isn't
xfs.
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-02-23 10:14:05 -07:00
Dongsheng Yang
064b23df85
qa: rbd: rename the copy.sh to generic.sh
...
The copy.sh is not only testing the rbd copy, but also
others such as rbd ls, rbd remove. Then rename it to generic.sh
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-23 11:10:59 +08:00
Dongsheng Yang
4447340e8d
qa: add a test for rbd rm NOT_EXIST
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-23 11:10:59 +08:00
John Spray
de5249436c
Merge pull request #13359 from jcsp/wip-logrotate-sshexception
...
qa: handle SSHException in logrotate
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-22 10:05:07 +00:00
Dongsheng Yang
3d26d932af
librbd: remove header when id missing
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-21 19:17:26 +08:00
Samuel Just
2ed7759cfe
PrimaryLogPG: reimplement osd_snap_trim_sleep within the state machine
...
Rather than blocking the main op queue, just pause for that amount of
time between state machine cycles.
Also, add osd_snap_trim_sleep to a few of the thrasher yamls.
Signed-off-by: Samuel Just <sjust@redhat.com>
2017-02-20 21:24:33 -08:00
Kefu Chai
b3e516fc38
Merge pull request #13518 from tchaikov/wip-fix-pgp-num
...
test: Thrasher: do not update pools_to_fix_pgp_num if nothing happens
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-21 00:46:26 +08:00
Sage Weil
d6950a413f
Merge pull request #13517 from liewegas/wip-kraken-x
...
qa/suites/upgrade/kraken-x
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-02-20 10:20:26 -06:00
Vikhyat Umrao
90144aa64c
auth: 'ceph auth import -i' overwrites caps, if caps are not specified
...
in given keyring file, should alert user and should not allow this import.
Because in 'ceph auth list' we keep all the keyrings with caps and importing
'client.admin' user keyring without caps locks the cluster with error[1]
because admin keyring caps are missing in 'ceph auth'.
[1] Error connecting to cluster: PermissionDeniedError
Fixes: http://tracker.ceph.com/issues/18932
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2017-02-20 03:48:31 +05:30
Dongsheng Yang
4ee764f9e1
qa/workunit/rbd: import_export.sh: add image priorities exporting and importing test cases.
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-19 20:42:03 +08:00
Dongsheng Yang
55edd81658
qa/workunit/rbd: add test case for --import/export-format in import_export.sh
...
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-19 20:42:03 +08:00
Kefu Chai
c0f0cde399
test: Thrasher: do not update pools_to_fix_pgp_num if nothing happens
...
we should not update pools_to_fix_pgp_num if the pool is not expanded or
the pg_num is not increased due to pgs being created. this prevent us
from fixing the pgp_num after done with thrashing if we actually did
nothing when fixing the pgp_num when thrashing, but we removed the pool
from pools_to_fix_pgp_num after set_pool_pgpnum() returns.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-19 13:10:46 +08:00
Sage Weil
3f9e6cfce4
qa/suites/upgrade/kraken-x: test bluestore and filestore
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-18 21:12:23 -05:00
Sage Weil
86c0d07e32
qa/tasks/ceph.py: fix timing of wait-for-* and osd markdown
...
Mark down osds, *then* wait for them to come up or for the cluster to be
healthy!
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-18 21:12:23 -05:00
Yuri Weinstein
ccc885ac59
qa/suites/upgrade/kraken-x: Initial checkin
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-02-18 21:12:23 -05:00
Jason Dillaman
2c2b7abf93
Merge pull request #13482 from idryomov/wip-qa-krbd-data-pool
...
qa: add workunit to test krbd data-pool support
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-18 09:00:59 -05:00
Sage Weil
96bc86b537
Revert "qa/tasks/workunit: use the suite repo for cloning workunit"
2017-02-17 11:54:27 -06:00
Kefu Chai
929c6a6af9
Merge pull request #13456 from tchaikov/wip-qa-objectstore
...
qa/suites/rados/objectstore: enable experimental features for testing bluestore
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-17 23:16:05 +08:00
Kefu Chai
8ae48637f7
qa/workunits/objectstore/test_fuse.sh: enable experimental features
...
so we can test bluestore
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-17 11:23:41 +08:00
Dan Mick
6582f42dfd
qa/workunits/objectstore/test_fuse.sh: use portable function decl
...
function f() is illegal in strict POSIX shells, like dash, which is
the default /bin/sh on Ubuntu
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-02-17 11:18:20 +08:00
Dan Mick
ce5d375e61
qa/workunits/objectstore/test_fuse.sh: allow failure
...
This script currently has a syntax error, but still exits with
success, which is hiding that failure. Expose it by allowing
the 'sudo' exit code to be the script's exit code.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-02-17 11:18:20 +08:00
Ilya Dryomov
4db31d53d9
qa: add workunit to test krbd data-pool support
...
This is based on a script that I've been using for a while for basic
smoke testing. The matrix has exploded with the addition of data-pool
and now it's primarily a data-pool test fixture that takes minutes to
run, so turning it into a workunit.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-02-16 22:42:46 +01:00
Nathan Cutler
a6ce4dbd12
Merge pull request #13200 from smithfarm/wip-17193-reenable-test
...
tests: re-enable cephfs python tests on kclient
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2017-02-16 17:22:50 +01:00
Kefu Chai
8f8c06096c
Merge pull request #13452 from tchaikov/wip-suite-repo-for-workunit
...
qa/tasks/workunit: use the suite repo for cloning workunit
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-16 23:40:15 +08:00
Kefu Chai
1f82b9b944
qa/tasks/workunit: use the suite repo for cloning workunit
...
as "workunits" reside in ceph/qa/workunits, it's more intuitive to
respect suite-repo option when cloning workunits.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-16 15:05:51 +08:00