diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /qa/suites/rbd/iscsi | |
parent | Initial commit. (diff) | |
download | ceph-6d07fdb6bb33b1af39833b850bb6cf8af79fe293.tar.xz ceph-6d07fdb6bb33b1af39833b850bb6cf8af79fe293.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | qa/suites/rbd/iscsi/% | 0 | ||||
l--------- | qa/suites/rbd/iscsi/.qa | 1 | ||||
l--------- | qa/suites/rbd/iscsi/base/.qa | 1 | ||||
-rw-r--r-- | qa/suites/rbd/iscsi/base/install.yaml | 21 | ||||
-rw-r--r-- | qa/suites/rbd/iscsi/cluster/+ | 0 | ||||
l--------- | qa/suites/rbd/iscsi/cluster/.qa | 1 | ||||
-rw-r--r-- | qa/suites/rbd/iscsi/cluster/fixed-3.yaml | 4 | ||||
-rw-r--r-- | qa/suites/rbd/iscsi/cluster/openstack.yaml | 8 | ||||
l--------- | qa/suites/rbd/iscsi/pool/.qa | 1 | ||||
-rw-r--r-- | qa/suites/rbd/iscsi/pool/datapool.yaml | 12 | ||||
l--------- | qa/suites/rbd/iscsi/supported-random-distro$/centos_8.yaml | 1 | ||||
l--------- | qa/suites/rbd/iscsi/supported-random-distro$/rhel_8.yaml | 1 | ||||
l--------- | qa/suites/rbd/iscsi/workloads/.qa | 1 | ||||
-rw-r--r-- | qa/suites/rbd/iscsi/workloads/ceph_iscsi.yaml | 22 |
14 files changed, 74 insertions, 0 deletions
diff --git a/qa/suites/rbd/iscsi/% b/qa/suites/rbd/iscsi/% new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/qa/suites/rbd/iscsi/% diff --git a/qa/suites/rbd/iscsi/.qa b/qa/suites/rbd/iscsi/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/rbd/iscsi/.qa @@ -0,0 +1 @@ +../.qa/
\ No newline at end of file diff --git a/qa/suites/rbd/iscsi/base/.qa b/qa/suites/rbd/iscsi/base/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/rbd/iscsi/base/.qa @@ -0,0 +1 @@ +../.qa/
\ No newline at end of file diff --git a/qa/suites/rbd/iscsi/base/install.yaml b/qa/suites/rbd/iscsi/base/install.yaml new file mode 100644 index 000000000..e35affe7e --- /dev/null +++ b/qa/suites/rbd/iscsi/base/install.yaml @@ -0,0 +1,21 @@ +use_shaman: True +tasks: +- install: + extra_packages: + - iscsi-initiator-utils + - device-mapper-multipath +- ceph: +- install: + packages: + rpm: + - tcmu-runner + project: tcmu-runner + sha1: latest +- install: + packages: + rpm: + - ceph-iscsi + shaman: + force_noarch: True + project: ceph-iscsi + sha1: latest diff --git a/qa/suites/rbd/iscsi/cluster/+ b/qa/suites/rbd/iscsi/cluster/+ new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/qa/suites/rbd/iscsi/cluster/+ diff --git a/qa/suites/rbd/iscsi/cluster/.qa b/qa/suites/rbd/iscsi/cluster/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/rbd/iscsi/cluster/.qa @@ -0,0 +1 @@ +../.qa/
\ No newline at end of file diff --git a/qa/suites/rbd/iscsi/cluster/fixed-3.yaml b/qa/suites/rbd/iscsi/cluster/fixed-3.yaml new file mode 100644 index 000000000..bf1eb6018 --- /dev/null +++ b/qa/suites/rbd/iscsi/cluster/fixed-3.yaml @@ -0,0 +1,4 @@ +roles: +- [mon.a, osd.0, osd.1, osd.2, a_gateway.0] +- [mon.b, osd.3, osd.4, osd.5, b_client.0] +- [mon.c, mgr.x, osd.6, osd.7, c_gateway.1] diff --git a/qa/suites/rbd/iscsi/cluster/openstack.yaml b/qa/suites/rbd/iscsi/cluster/openstack.yaml new file mode 100644 index 000000000..40fef4770 --- /dev/null +++ b/qa/suites/rbd/iscsi/cluster/openstack.yaml @@ -0,0 +1,8 @@ +openstack: + - machine: + disk: 40 # GB + ram: 8000 # MB + cpus: 1 + volumes: # attached to each instance + count: 4 + size: 30 # GB diff --git a/qa/suites/rbd/iscsi/pool/.qa b/qa/suites/rbd/iscsi/pool/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/rbd/iscsi/pool/.qa @@ -0,0 +1 @@ +../.qa/
\ No newline at end of file diff --git a/qa/suites/rbd/iscsi/pool/datapool.yaml b/qa/suites/rbd/iscsi/pool/datapool.yaml new file mode 100644 index 000000000..45b00378b --- /dev/null +++ b/qa/suites/rbd/iscsi/pool/datapool.yaml @@ -0,0 +1,12 @@ +overrides: + ceph: + log-ignorelist: + - overall HEALTH_ + - \(CACHE_POOL_NEAR_FULL\) + - \(CACHE_POOL_NO_HIT_SET\) +tasks: +- exec: + a_gateway.0: + - sudo ceph osd pool create rbd 4 + - sudo ceph osd pool create datapool 4 + - sudo ceph osd pool application enable datapool rbd diff --git a/qa/suites/rbd/iscsi/supported-random-distro$/centos_8.yaml b/qa/suites/rbd/iscsi/supported-random-distro$/centos_8.yaml new file mode 120000 index 000000000..750bfb490 --- /dev/null +++ b/qa/suites/rbd/iscsi/supported-random-distro$/centos_8.yaml @@ -0,0 +1 @@ +../../../../distros/supported-all-distro/centos_8.yaml
\ No newline at end of file diff --git a/qa/suites/rbd/iscsi/supported-random-distro$/rhel_8.yaml b/qa/suites/rbd/iscsi/supported-random-distro$/rhel_8.yaml new file mode 120000 index 000000000..046a2f699 --- /dev/null +++ b/qa/suites/rbd/iscsi/supported-random-distro$/rhel_8.yaml @@ -0,0 +1 @@ +../../../../distros/supported-all-distro/rhel_8.yaml
\ No newline at end of file diff --git a/qa/suites/rbd/iscsi/workloads/.qa b/qa/suites/rbd/iscsi/workloads/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/rbd/iscsi/workloads/.qa @@ -0,0 +1 @@ +../.qa/
\ No newline at end of file diff --git a/qa/suites/rbd/iscsi/workloads/ceph_iscsi.yaml b/qa/suites/rbd/iscsi/workloads/ceph_iscsi.yaml new file mode 100644 index 000000000..f91a35eaf --- /dev/null +++ b/qa/suites/rbd/iscsi/workloads/ceph_iscsi.yaml @@ -0,0 +1,22 @@ +tasks: +- ceph_iscsi: + gateways: [a_gateway.0, c_gateway.1] + clients: [b_client.0] +- cram: + parallel: False + clients: + a_gateway.0: + - src/test/cli-integration/rbd/gwcli_create.t + b_client.0: + - src/test/cli-integration/rbd/iscsi_client.t + c_gateway.1: + - src/test/cli-integration/rbd/gwcli_delete.t +- cram: + parallel: False + clients: + a_gateway.0: + - src/test/cli-integration/rbd/rest_api_create.t + b_client.0: + - src/test/cli-integration/rbd/iscsi_client.t + c_gateway.1: + - src/test/cli-integration/rbd/rest_api_delete.t |