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
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
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
Kefu Chai
f91fa5ae96
Merge pull request #13406 from vumrao/wip-vumrao-18486
...
osd/Pool: Disallow enabling 'hashpspool' option to a pool without '--yes-i-really-mean-it'
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-16 12:48:20 +08:00
Sage Weil
eb491a13dc
Merge pull request #13235 from liewegas/wip-pg-split-interval
...
osd: have clients resend ops on pg split
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2017-02-15 16:20:18 -06:00
Sage Weil
f5cfba602b
qa/suites/rgw/thrash: add rgw with osd trashing test
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-15 12:07:20 -05:00
Sage Weil
967b3cbcb7
qa/suites/rgw/multifs: drop redundant civetweb override
...
This probably breaks the frontend/apache.yaml case.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-15 12:00:13 -05:00
Mykola Golub
22c2614195
Merge pull request #13421 from dillaman/wip-18935
...
qa/workunits/rbd: resolve potential rbd-mirror race conditions
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-02-15 16:00:45 +02:00
John Spray
dfbc6757f8
Merge pull request #13089 from jcsp/wip-18600
...
#18600 : Clear out tasks that don't make sense from multimds suite
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-14 22:28:06 +00:00
Jason Dillaman
63eae97afc
qa/workunits/rbd: resolve potential rbd-mirror race conditions
...
Fixes: http://tracker.ceph.com/issues/18935
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 15:58:31 -05:00
Sage Weil
d708041adc
osd: rename backoff config options
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-13 23:03:52 -05:00
Vikhyat Umrao
3715362883
osd/Pool: Disallow enabling 'hashpspool' option to a pool without
...
'--yes-i-really-mean-it'
Fixes: http://tracker.ceph.com/issues/18468
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2017-02-14 04:09:32 +05:30
Kefu Chai
de59b5102c
test: Thrasher: restore changed options after done with thrash
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-13 09:25:51 +08:00
Kefu Chai
761a1dc391
tests: Thrasher: extract _set_config() method
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-13 09:25:50 +08:00
Kefu Chai
995e144e3e
tests: CephManager: add get_config() method
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-13 09:25:50 +08:00
Kefu Chai
136483a8f9
test: Thrasher: update pgp_num of all expanded pools if not yet
...
otherwise wait_until_healthy will fail after timeout as seeing warning
like:
HEALTH_WARN pool cephfs_data pg_num 182 > pgp_num 172
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-13 09:25:50 +08:00
Yuri Weinstein
05f1a1987e
Merge pull request #13378 from liewegas/wip-luminous
...
qa/rados/upgrade/jewel-x-singleton: run luminous.yaml at the end
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-02-12 08:13:26 -08:00
Sage Weil
6e998b2f8c
qa/rados/upgrade/jewel-x-singleton: run luminous.yaml at the end
...
renumber too
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-12 09:47:41 -05:00
Jason Dillaman
e95fe0dfad
Merge pull request #13229 from trociny/wip-18335
...
rbd-nbd: check /sys/block/nbdX/size to ensure kernel mapped correctly
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-11 09:29:23 -05:00
Sage Weil
105e9d4234
qa/suites/rados/thrash: vary backoff settings
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-10 18:55:58 -05:00
Kefu Chai
108f2e20a8
Merge pull request #13264 from tchaikov/wip-print-failed-test-name
...
qa/workunits/rados/test.sh: print test name when it fails
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-11 03:57:45 +08:00
John Spray
880cbf09aa
Merge pull request #13137 from jcsp/wip-18661
...
qa: fix race in Mount.open_background
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-10 17:48:05 +00:00
John Spray
a3fd3f225c
Merge pull request #13099 from jcsp/wip-18663
...
qa/tasks: force umount during kclient teardown
2017-02-10 17:42:37 +00:00
John Spray
6f9e11f03d
qa: handle SSHException in logrotate
...
Yet another different type of exception we may get when
orchestra.run can't talk to a remote host.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-02-10 17:16:24 +00:00
Kefu Chai
787f6ac699
qa/workunits/rados/test.sh: print test name when it fails
...
we have
2017-02-04T16:15:46.090 INFO:tasks.workunit.client.0.mira032.stdout:error in 22088
2017-02-04T16:15:46.092 INFO:tasks.workunit.client.0.mira032.stderr:bash: line 1: 22092 Alarm clock ceph_test_rados_api_aio 2>&1
2017-02-04T16:15:46.096 INFO:tasks.workunit.client.0.mira032.stderr: 22093 Done | tee ceph_test_rados_api_aio.log
2017-02-04T16:15:46.099 INFO:tasks.workunit.client.0.mira032.stderr: 22094 Done | sed "s/^/ api_aio: /"
2017-02-04T16:15:46.102 INFO:tasks.workunit.client.0.mira032.stderr:+
if a unittest in rados/test.sh fails in teuthology.log, but it would
be desirable to have the failed test name in the line of "error in
22088".
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-10 23:54:29 +08:00
Nathan Cutler
a605089522
Merge pull request #13313 from smithfarm/wip-18856
...
tests: update SUSE yaml facets in qa/distros/all
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-02-09 10:14:20 +01:00
Josh Durgin
d0792bc00f
Merge pull request #13278 from liewegas/wip-luminous
...
mon,osd: luminous feature bits, require flags, upgrade gates
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-08 16:18:36 -08:00
Yuri Weinstein
f15639b679
Merge pull request #13296 from liewegas/wip-kill-sortbitwise
...
osd: remove sortbitwise thrashing
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-08 16:12:10 -08:00