Ilya Dryomov
4ed1e74d83
qa/suites/rbd: add cram-based mon command API test
...
With mon (rbd_support mgr module in this case) command definitions
generated automatically by @CLI{Read,Write}Command decorator, it's
very easy to accidentally break the external facing API.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-01-30 14:22:35 +01:00
Deepika Upadhyay
9b306af421
qa/rbd: update the cephadm required distro
...
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2021-12-06 23:00:16 +05:30
Yin Congmin
3da4a9401c
qa/suites/rbd/persistent-writeback-cache: add test case
...
Add the test case which size is 8GB, So that some problems that occur
only in test scenarios above 4GB may be found in this test. For example,
the variables of 32-bit may be unexpected value when it operates with
a 64 bit value.
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
2021-11-12 17:31:00 +08:00
Ilya Dryomov
6278a04ac2
qa/suites/rbd: whitelist POOL_FULL due to quota for test_librbd.sh
...
RemoveFullTry tests fill up the pool and expect EDQUOT.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-10-23 22:04:58 +05:30
Deepika Upadhyay
a7952949a8
qa/suites/rbd: remove baremetal based setup needed for iscsi testing
...
* replace ceph baremetal deployment with cephadm based deployment
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2021-10-18 13:21:50 +05:30
Ilya Dryomov
366e9c51a8
qa/suites/rbd: test case for one-way snapshot-based mirroring
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-09-24 12:30:14 +02:00
Jason Dillaman
e2c9c5cd41
qa/suites/rbd: added SSD PWL cache mode to tests
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2021-03-10 11:30:47 -05:00
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 a9ee4bcf241 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 716db6e2fd19fde5a6fbe7e8e69734e0883b9a0c.
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