Commit Graph

126 Commits

Author SHA1 Message Date
Jason Dillaman
5c991fed21
Merge pull request #38921 from lixiaoy1/pwl_teuthology
qa: add tests for persistent writeback cache

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-24 16:31:20 -05:00
Sage Weil
dc64ccf063 qa/suites: do not use notcmalloc flavor
teuthology now knows how to run valgrind against a tcmalloc binary

Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-18 10:26:28 -06:00
Mykola Golub
b4d9cc45d6
Merge pull request #39155 from dillaman/wip-49037
librbd: correct incremental deep-copy object-map inconsistencies

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-02-10 18:37:34 +02:00
lixiaoy1
86ae486cb1 qa: add tests for persistent writeback cache
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2021-02-09 23:41:18 +08:00
Jason Dillaman
094bfeaf8e qa/suites/rbd: add snapshot-based mirroring stress test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-02-08 09:23:35 -05:00
Jason Dillaman
d652cd7a5c
Merge pull request #39298 from dillaman/wip-rbd-suite-readahead
qa/suites/rbd: drop require-osd-release command

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-02-04 14:17:07 -05:00
Jason Dillaman
e14f90eea7 qa/suites/rbd: drop require-osd-release command
Teuthology already defaults to quincy now and results in a failure
when trying to set to pacific. Additionally, drop the LUKS readbalance
test since it's unnecessary to duplicate that test.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-02-04 11:44:15 -05:00
Jason Dillaman
28ebc6086d
Merge pull request #38715 from lxbsz/rest_api
qa: add REST API method support for ceph-iscsi

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-04 11:38:16 -05:00
Xiubo Li
6d0d1d96c2 qa: add REST API method support for ceph-iscsi
Fixes: https://tracker.ceph.com/issues/48529
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2021-02-02 11:06:07 +08:00
Xiubo Li
a18c1e6658 qa: rename gwcli_client to iscsi_client
This could be used for both gwcli and REST API methods.

Fixes: https://tracker.ceph.com/issues/48529
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2021-02-02 08:10:41 +08:00
Or Ozeri
4f438f0dc3 test/librbd: add luks encryption cli test
This commit adds a cli test for rbd encryption verifying LUKS compatbility with cryptsetup

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2021-01-24 09:11:50 +02:00
Or Ozeri
3754c665a1 :qa/tasks/rbd: test qemu on top of rbd encryption
This commit adds new qemu xfstests workloads that run on top of librbd luks1/luks2 encryption.
This is currently done via nbd, instead of the qemu rbd driver.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2021-01-19 19:59:22 +00:00
Jason Dillaman
652963e7df librbd/migration: address code review comments
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-01-15 09:33:40 -05:00
Xiubo Li
62426772f5 qa: add ceph iscsi test suite support
Currently this only supports the gwcli tests on CentOS/RHEL 8 with
2 ceph iscsi gateways.

Fixes: https://tracker.ceph.com/issues/47439
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-12-17 20:49:21 +08:00
Jason Dillaman
80fe5a8735 qa/suites/rbd: new basic migration CLI test case
Pending a larger suite of tests for instant-restore image migration,
this test provides a basic sanity check for both the native and
raw image formats -- including basic snapshot tests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-12-03 08:30:52 -05:00
Jason Dillaman
9ca496a7d1 qa/suite/rbd: simple migration import test case
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-11-02 19:58:55 -05:00
Sage Weil
2ee9365d0b qa: log-whitelist -> log-ignorelist
Signed-off-by: Sage Weil <sage@newdream.net>
2020-08-24 19:53:08 +00:00
Mykola Golub
55024dcb74 qa/suites/rbd: run c api tests on immutable object cache
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-07-23 15:54:18 +01:00
Yin Congmin
1af4ed0a76 librbd/image: fix immutable object cache read failed bug when daemon down
Fix bug: read child image failed when enabling immutable object cache and daemon down

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
2020-07-01 14:19:59 -04:00
Yin Congmin
25f1f62cba qa: add tests for immutable object cache
based on qemu task, use immutable_object_cache task to test parent cache
based on rbd_fio task, use immutable_object_cache task to test parent cache

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
Signed-off-by: Feng Hualong <hualong.feng@intel.com>
2020-07-01 14:19:59 -04:00
Mykola Golub
a834e7115e qa/suites/rbd: enable random distro for nbd tests
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-05-09 16:36:49 +01:00
Jason Dillaman
267af5fcae qa/suites/rbd: tweak 'require_osd_release' to 'pacific'
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-04-14 08:43:29 -04:00
Jason Dillaman
5cf9cd5d1c
Merge pull request #33900 from dillaman/wip-44459
qa/suites/rbd: removed OpenStack tempest test cases

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-03-12 19:22:22 -04:00
Jason Dillaman
232d48f511 qa/suites/rbd: removed OpenStack tempest test cases
The OpenStack tempests tests do not stay stable and break approximately
every six months. Remove the test suite for now.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-11 15:36:22 -04:00
Jason Dillaman
606d866393 qa/suites/rbd: exercise different snapshot-based mirroring image features
Ensure that snapshot-based mirroring is tested in different RBD image
feature combinations.

Fixes: https://tracker.ceph.com/issues/44396
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-10 19:23:02 -04:00
Kefu Chai
63f5528930
Merge pull request #33584 from liewegas/fix-39525
compressor/lz4: work around bug in liblz4 versions <1.8.2

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-03-04 12:44:38 +08:00
Sage Weil
8c8fb59dcf qa/objectstore: test all bluestore compression algorithms
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 13:01:22 -06:00
Jason Dillaman
d6f4ce2a38 qa: test cases for snapshot-based mirroring
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-02 10:53:44 -05:00
Jason Dillaman
1e7e13036b
Merge pull request #33493 from zhengchengyao/read
librbd: improved support for balanced and localized reads

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 16:18:20 -05:00
zhengyin
18e683932e test: add read balance mode test case
Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
2020-02-26 21:33:27 +08:00
Sridhar Seshasayee
e527067666 qa: Whitelist 'slow request' within a bunch of tests
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
2020-02-24 19:59:56 +05:30
Jason Dillaman
ffa791f540 qa: move existing rbd-mirror functional test to journal-specific test
A new functional test for snapshot-based mirroring will be created and
the other stress-tests should eventually be applied to both snapshot-
and journal-based mirroring.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-01-30 10:26:36 -05:00
Patrick Donnelly
02b3883dd0
Merge PR #32363 into master
* refs/pull/32363/head:
	qa: add .qa link

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-06 12:18:12 -08:00
Jason Dillaman
e9daf2d034 qa/suites/rbd: fixed download path for Ubuntu Bionic
The OS image was changed in a9ee4bcf24 from Xenial to Bionic,
but the Bionic image path is incorrect.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-23 15:20:35 -05:00
Patrick Donnelly
4562823a19
qa: add .qa link
Continuation of 716db6e2fd.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-19 14:31:09 -08:00
Sage Weil
a9ee4bcf24 qa/suites/rbd/openstack: use 18.04, not 16.04
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-16 17:11:47 -06:00
Jason Dillaman
a6bf714a16 qa/suites/rbd: fix errant tab in yaml which is causing parsing failures
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-10-15 13:51:58 -04:00
Mykola Golub
a3b1373535
Merge pull request #30558 from dillaman/wip-41555
rbd-mirror: image status should report remote status

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-10-15 14:20:12 +03:00
Sage Weil
71d74aa8c6 qa: more tries for mon tell when injecting msgr failures
With failure injection the default 2 tries isn't quite enough

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-11 14:16:42 -05:00
Jason Dillaman
eaec1786ee qa/workunits/rbd: tweak mirror test case to handle peer status
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-10-08 11:17:15 -04:00
David Zafman
ded58ef91d test: Ignore OSD_SLOW_PING_TIME* if injecting socket failures
Fixes: https://tracker.ceph.com/issues/41743

Signed-off-by: David Zafman <dzafman@redhat.com>
2019-10-03 09:09:10 -07:00
Jason Dillaman
85f98c01c0 qa/suites/rbd: test case for rbd-mirror bootstrap
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-09-20 08:09:21 -04:00
Jason Dillaman
63a8f6c2c3 qa: test case for new rbd background tasks
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-07-25 08:58:37 -04:00
Mykola Golub
11e2951243 qa/suites/rbd: allow to test with require-min-compat-client octopus
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-06-23 10:06:45 +01:00
Nathan Cutler
47645be3bb qa/rbd: add cram-based snap diff test
Fixes: http://tracker.ceph.com/issues/39447
Signed-off-by: Shyukri Shyukriev <shshyukriev@suse.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-06-14 09:42:23 +02:00
Mykola Golub
34112907a7
Merge pull request #27694 from dillaman/wip-39386
qa/suites/rbd: added writearound cache test permutations

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-04-22 18:13:02 +03:00
Jason Dillaman
ead16e9ad7 qa/suites/rbd: added writearound cache test permutations
Also tweaked the existing writeback cache test permutations to
specify the use of the writeback cache policy.

Fixes:  http://tracker.ceph.com/issues/39386
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-04-19 14:11:43 -04:00
Jason Dillaman
d83d598c12 qa/suites/rbd: add random distro selection to librbd tests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-04-18 08:57:04 -04:00
Mykola Golub
1a2243403d qa/suites/rbd: enable QOS functional test
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-03-22 14:59:01 +00:00
Jason Dillaman
8410cb05bd qa/suites/rbd: enable partial discard test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-02-26 07:42:36 -05:00