]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rbd: remove baremetal based setup needed for iscsi testing
authorDeepika Upadhyay <dupadhya@redhat.com>
Wed, 13 Oct 2021 06:17:11 +0000 (11:47 +0530)
committerDeepika Upadhyay <dupadhya@redhat.com>
Mon, 18 Oct 2021 07:51:50 +0000 (13:21 +0530)
* replace ceph baremetal deployment with cephadm based deployment

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
qa/suites/rbd/iscsi/base/install.yaml
qa/suites/rbd/iscsi/cluster/fixed-3.yaml
qa/suites/rbd/iscsi/pool/.qa [deleted symlink]
qa/suites/rbd/iscsi/pool/datapool.yaml [deleted file]
qa/suites/rbd/iscsi/workloads/ceph_iscsi.yaml [deleted file]
qa/suites/rbd/iscsi/workloads/cephadm_iscsi.yaml [new file with mode: 0644]

index e35affe7e24f425b9639cdf68dfdd09a10ddde29..5c5a6c31f60b437f6feedc2aec90398918aa942a 100644 (file)
@@ -1,21 +1,14 @@
 use_shaman: True
 tasks:
+- cephadm:
+- cephadm.shell:
+    host.a:
+    - ceph orch status
+    - ceph orch ps
+    - ceph orch ls
+    - ceph orch host ls
+    - ceph orch device ls
 - 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
index bf1eb6018b40af2c4ddc26e8330edee8211c80b0..426ea32cf81f80acc4f89547e7bafe72d7328b0d 100644 (file)
@@ -1,4 +1,19 @@
 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]
+- - host.a
+  - mon.a
+  - mgr.x
+  - osd.0
+  - osd.1
+  - client.0
+  - ceph.iscsi.iscsi.a
+- - mon.b
+  - osd.2
+  - osd.3
+  - osd.4
+  - client.1
+- - mon.c
+  - osd.5
+  - osd.6
+  - osd.7
+  - client.2
+  - ceph.iscsi.iscsi.b
diff --git a/qa/suites/rbd/iscsi/pool/.qa b/qa/suites/rbd/iscsi/pool/.qa
deleted file mode 120000 (symlink)
index a602a03..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../.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
deleted file mode 100644 (file)
index 45b0037..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-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/workloads/ceph_iscsi.yaml b/qa/suites/rbd/iscsi/workloads/ceph_iscsi.yaml
deleted file mode 100644 (file)
index f91a35e..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-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
diff --git a/qa/suites/rbd/iscsi/workloads/cephadm_iscsi.yaml b/qa/suites/rbd/iscsi/workloads/cephadm_iscsi.yaml
new file mode 100644 (file)
index 0000000..202e6d8
--- /dev/null
@@ -0,0 +1,21 @@
+tasks:
+- ceph_iscsi_client:
+    clients: [client.1]
+- cram:
+    parallel: False
+    clients:
+      client.0:
+      - src/test/cli-integration/rbd/gwcli_create.t
+      client.1:
+      - src/test/cli-integration/rbd/iscsi_client.t
+      client.2:
+      - src/test/cli-integration/rbd/gwcli_delete.t
+- cram:
+    parallel: False
+    clients:
+      client.0:
+      - src/test/cli-integration/rbd/rest_api_create.t
+      client.1:
+      - src/test/cli-integration/rbd/iscsi_client.t
+      client.2:
+      - src/test/cli-integration/rbd/rest_api_delete.t