From 300675e4aa510cf8e831817a4caf5fa2de6f3c97 Mon Sep 17 00:00:00 2001 From: Sunil Kumar Nagaraju Date: Mon, 3 Feb 2025 20:45:49 +0530 Subject: [PATCH] iscsi sanity on common sanity pipeline Signed-off-by: Sunil Kumar Nagaraju --- conf/squid/common/5node-2client-rh.yaml | 2 ++ suites/squid/common/sanity/iscsi.yaml | 37 +++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 suites/squid/common/sanity/iscsi.yaml diff --git a/conf/squid/common/5node-2client-rh.yaml b/conf/squid/common/5node-2client-rh.yaml index 4b0d485b741..f4f42ecf2b3 100644 --- a/conf/squid/common/5node-2client-rh.yaml +++ b/conf/squid/common/5node-2client-rh.yaml @@ -35,6 +35,7 @@ globals: - grafana - mds - osd + - iscsi-gw no-of-volumes: 6 disk-size: 40 node5: @@ -44,6 +45,7 @@ globals: - prometheus - mds - osd + - iscsi-gw no-of-volumes: 6 disk-size: 40 node6: diff --git a/suites/squid/common/sanity/iscsi.yaml b/suites/squid/common/sanity/iscsi.yaml new file mode 100644 index 00000000000..a78e10f2588 --- /dev/null +++ b/suites/squid/common/sanity/iscsi.yaml @@ -0,0 +1,37 @@ +# Cluster config file: conf/squid/common/5node-2client-rh.yaml +tests: + - test: + name: Ceph iSCSI Sanity e2e test + desc: Configure iSCSI gateways, initiators and run IO + module: iscsi_test.py + polarion-id: CEPH-83605167 + destroy-clster: false + config: + gw_nodes: + - node4 + - node5 + rbd_pool: rbd + do_not_create_image: true + rep-pool-only: true + rep_pool_config: + pool: rbd + install: true + cleanup: + - initiators + - gateway + - pool + targets: + - iqn: iscsi-target1 + gateways: + - node4 + - node5 + hosts: + - client_iqn: iqn.2025-01.com.redhat.iscsi-gw:rh-client + disks: + - count: 5 + size: 1G + initiators: + - iqn: iqn.2025-01.com.redhat.iscsi-gw:rh-client + node: node7 + type: linux + target: all