diff options
Diffstat (limited to 'qa/suites/krbd')
-rw-r--r-- | qa/suites/krbd/mirror/% | 0 | ||||
l--------- | qa/suites/krbd/mirror/.qa | 1 | ||||
l--------- | qa/suites/krbd/mirror/bluestore-bitmap.yaml | 1 | ||||
l--------- | qa/suites/krbd/mirror/clusters/.qa | 1 | ||||
-rw-r--r-- | qa/suites/krbd/mirror/clusters/2-node.yaml | 17 | ||||
-rw-r--r-- | qa/suites/krbd/mirror/conf.yaml | 6 | ||||
l--------- | qa/suites/krbd/mirror/install/.qa | 1 | ||||
-rw-r--r-- | qa/suites/krbd/mirror/install/ceph.yaml | 14 | ||||
l--------- | qa/suites/krbd/mirror/ms_mode$/.qa | 1 | ||||
-rw-r--r-- | qa/suites/krbd/mirror/ms_mode$/crc-rxbounce.yaml | 5 | ||||
-rw-r--r-- | qa/suites/krbd/mirror/ms_mode$/crc.yaml | 5 | ||||
-rw-r--r-- | qa/suites/krbd/mirror/ms_mode$/legacy-rxbounce.yaml | 5 | ||||
-rw-r--r-- | qa/suites/krbd/mirror/ms_mode$/legacy.yaml | 5 | ||||
-rw-r--r-- | qa/suites/krbd/mirror/ms_mode$/secure.yaml | 5 | ||||
l--------- | qa/suites/krbd/mirror/tasks/.qa | 1 | ||||
-rw-r--r-- | qa/suites/krbd/mirror/tasks/compare-mirror-image-alternate-primary.yaml | 14 | ||||
-rw-r--r-- | qa/suites/krbd/mirror/tasks/compare-mirror-images.yaml | 14 |
17 files changed, 96 insertions, 0 deletions
diff --git a/qa/suites/krbd/mirror/% b/qa/suites/krbd/mirror/% new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/qa/suites/krbd/mirror/% diff --git a/qa/suites/krbd/mirror/.qa b/qa/suites/krbd/mirror/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/krbd/mirror/.qa @@ -0,0 +1 @@ +../.qa/
\ No newline at end of file diff --git a/qa/suites/krbd/mirror/bluestore-bitmap.yaml b/qa/suites/krbd/mirror/bluestore-bitmap.yaml new file mode 120000 index 000000000..a59cf5175 --- /dev/null +++ b/qa/suites/krbd/mirror/bluestore-bitmap.yaml @@ -0,0 +1 @@ +.qa/objectstore/bluestore-bitmap.yaml
\ No newline at end of file diff --git a/qa/suites/krbd/mirror/clusters/.qa b/qa/suites/krbd/mirror/clusters/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/krbd/mirror/clusters/.qa @@ -0,0 +1 @@ +../.qa/
\ No newline at end of file diff --git a/qa/suites/krbd/mirror/clusters/2-node.yaml b/qa/suites/krbd/mirror/clusters/2-node.yaml new file mode 100644 index 000000000..e5036ea72 --- /dev/null +++ b/qa/suites/krbd/mirror/clusters/2-node.yaml @@ -0,0 +1,17 @@ +meta: +- desc: 2 ceph clusters with 1 mon, 1 mgr and 3 osd each +roles: +- - cluster1.mon.a + - cluster1.mgr.x + - cluster1.osd.0 + - cluster1.osd.1 + - cluster1.osd.2 +- - cluster2.mon.a + - cluster2.mgr.x + - cluster2.osd.0 + - cluster2.osd.1 + - cluster2.osd.2 + - cluster1.client.mirror + - cluster1.client.mirror.0 + - cluster2.client.mirror + - cluster2.client.mirror.0 diff --git a/qa/suites/krbd/mirror/conf.yaml b/qa/suites/krbd/mirror/conf.yaml new file mode 100644 index 000000000..eb6d72a80 --- /dev/null +++ b/qa/suites/krbd/mirror/conf.yaml @@ -0,0 +1,6 @@ +overrides: + ceph: + conf: + global: + mon warn on pool no app: false + ms die on skipped message: false diff --git a/qa/suites/krbd/mirror/install/.qa b/qa/suites/krbd/mirror/install/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/krbd/mirror/install/.qa @@ -0,0 +1 @@ +../.qa/
\ No newline at end of file diff --git a/qa/suites/krbd/mirror/install/ceph.yaml b/qa/suites/krbd/mirror/install/ceph.yaml new file mode 100644 index 000000000..08bb1faa6 --- /dev/null +++ b/qa/suites/krbd/mirror/install/ceph.yaml @@ -0,0 +1,14 @@ +tasks: +- install: + extra_packages: + - rbd-mirror +- ceph: + cluster: cluster1 +- ceph: + cluster: cluster2 +- rbd-mirror: + client: cluster1.client.mirror.0 + thrash: False +- rbd-mirror: + client: cluster2.client.mirror.0 + thrash: False diff --git a/qa/suites/krbd/mirror/ms_mode$/.qa b/qa/suites/krbd/mirror/ms_mode$/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/krbd/mirror/ms_mode$/.qa @@ -0,0 +1 @@ +../.qa/
\ No newline at end of file diff --git a/qa/suites/krbd/mirror/ms_mode$/crc-rxbounce.yaml b/qa/suites/krbd/mirror/ms_mode$/crc-rxbounce.yaml new file mode 100644 index 000000000..4d27d0113 --- /dev/null +++ b/qa/suites/krbd/mirror/ms_mode$/crc-rxbounce.yaml @@ -0,0 +1,5 @@ +overrides: + ceph: + conf: + client: + rbd default map options: ms_mode=crc,rxbounce diff --git a/qa/suites/krbd/mirror/ms_mode$/crc.yaml b/qa/suites/krbd/mirror/ms_mode$/crc.yaml new file mode 100644 index 000000000..3b072578f --- /dev/null +++ b/qa/suites/krbd/mirror/ms_mode$/crc.yaml @@ -0,0 +1,5 @@ +overrides: + ceph: + conf: + client: + rbd default map options: ms_mode=crc diff --git a/qa/suites/krbd/mirror/ms_mode$/legacy-rxbounce.yaml b/qa/suites/krbd/mirror/ms_mode$/legacy-rxbounce.yaml new file mode 100644 index 000000000..244e45cbc --- /dev/null +++ b/qa/suites/krbd/mirror/ms_mode$/legacy-rxbounce.yaml @@ -0,0 +1,5 @@ +overrides: + ceph: + conf: + client: + rbd default map options: ms_mode=legacy,rxbounce diff --git a/qa/suites/krbd/mirror/ms_mode$/legacy.yaml b/qa/suites/krbd/mirror/ms_mode$/legacy.yaml new file mode 100644 index 000000000..0048dcb0c --- /dev/null +++ b/qa/suites/krbd/mirror/ms_mode$/legacy.yaml @@ -0,0 +1,5 @@ +overrides: + ceph: + conf: + client: + rbd default map options: ms_mode=legacy diff --git a/qa/suites/krbd/mirror/ms_mode$/secure.yaml b/qa/suites/krbd/mirror/ms_mode$/secure.yaml new file mode 100644 index 000000000..a735db18d --- /dev/null +++ b/qa/suites/krbd/mirror/ms_mode$/secure.yaml @@ -0,0 +1,5 @@ +overrides: + ceph: + conf: + client: + rbd default map options: ms_mode=secure diff --git a/qa/suites/krbd/mirror/tasks/.qa b/qa/suites/krbd/mirror/tasks/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/krbd/mirror/tasks/.qa @@ -0,0 +1 @@ +../.qa/
\ No newline at end of file diff --git a/qa/suites/krbd/mirror/tasks/compare-mirror-image-alternate-primary.yaml b/qa/suites/krbd/mirror/tasks/compare-mirror-image-alternate-primary.yaml new file mode 100644 index 000000000..42ee5a274 --- /dev/null +++ b/qa/suites/krbd/mirror/tasks/compare-mirror-image-alternate-primary.yaml @@ -0,0 +1,14 @@ +overrides: + install: + ceph: + extra_system_packages: + - pv +tasks: +- workunit: + clients: + cluster1.client.mirror: + - rbd/compare_mirror_image_alternate_primary.sh + env: + RBD_DEVICE_TYPE: 'krbd' + RBD_MIRROR_USE_RBD_MIRROR: '1' + timeout: 3h diff --git a/qa/suites/krbd/mirror/tasks/compare-mirror-images.yaml b/qa/suites/krbd/mirror/tasks/compare-mirror-images.yaml new file mode 100644 index 000000000..30d147de9 --- /dev/null +++ b/qa/suites/krbd/mirror/tasks/compare-mirror-images.yaml @@ -0,0 +1,14 @@ +overrides: + install: + ceph: + extra_system_packages: + - pv +tasks: +- workunit: + clients: + cluster1.client.mirror: + - rbd/compare_mirror_images.sh + env: + RBD_DEVICE_TYPE: 'krbd' + RBD_MIRROR_USE_RBD_MIRROR: '1' + timeout: 3h |