]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rados/dashboard: fix e2e test 41990/head
authorSage Weil <sage@newdream.net>
Wed, 23 Jun 2021 14:49:28 +0000 (09:49 -0500)
committerSage Weil <sage@newdream.net>
Wed, 23 Jun 2021 14:54:40 +0000 (09:54 -0500)
Move roles into task yaml.  Rename e2e.

Fixes: https://tracker.ceph.com/issues/51292
Signed-off-by: Sage Weil <sage@newdream.net>
qa/suites/rados/dashboard/clusters/+ [deleted file]
qa/suites/rados/dashboard/clusters/.qa [deleted symlink]
qa/suites/rados/dashboard/clusters/2-node-mgr.yaml [deleted symlink]
qa/suites/rados/dashboard/tasks/dashboard.yaml
qa/suites/rados/dashboard/tasks/e2e.yaml [new file with mode: 0644]
qa/suites/rados/dashboard/tasks/test_e2e.yaml [deleted file]

diff --git a/qa/suites/rados/dashboard/clusters/+ b/qa/suites/rados/dashboard/clusters/+
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/qa/suites/rados/dashboard/clusters/.qa b/qa/suites/rados/dashboard/clusters/.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/rados/dashboard/clusters/2-node-mgr.yaml b/qa/suites/rados/dashboard/clusters/2-node-mgr.yaml
deleted file mode 120000 (symlink)
index 8a0b912..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.qa/clusters/2-node-mgr.yaml
\ No newline at end of file
index 111c5f38e2a17a92f4255c06faf24afab962f3ea..052e2cc3881420ace656369b4f1467fb87810aec 100644 (file)
@@ -1,3 +1,6 @@
+roles:
+- [mgr.x, mon.a, mon.c, mds.a, mds.c, osd.0, client.0]
+- [mgr.y, mgr.z, mon.b, mds.b, osd.1, osd.2, osd.3, client.1]
 
 tasks:
   - install:
diff --git a/qa/suites/rados/dashboard/tasks/e2e.yaml b/qa/suites/rados/dashboard/tasks/e2e.yaml
new file mode 100644 (file)
index 0000000..cb6ffb2
--- /dev/null
@@ -0,0 +1,23 @@
+roles:
+# 3 osd roles on host.a is required for cephadm task. It checks if the cluster is healthy.
+# More daemons will be deployed on both hosts in e2e tests.
+- - host.a
+  - osd.0
+  - osd.1
+  - osd.2
+  - mon.a
+  - mgr.a
+  - client.0
+- - host.b
+  - client.1
+tasks:
+- install:
+- cephadm:
+- workunit:
+    clients:
+      client.1:
+        - cephadm/create_iscsi_disks.sh
+- workunit:
+    clients:
+      client.0:
+        - cephadm/test_dashboard_e2e.sh
diff --git a/qa/suites/rados/dashboard/tasks/test_e2e.yaml b/qa/suites/rados/dashboard/tasks/test_e2e.yaml
deleted file mode 100644 (file)
index c3f081a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-tasks:
-- install:
-- cephadm:
-- workunit:
-    clients:
-      client.1:
-        - cephadm/create_iscsi_disks.sh
-- workunit:
-    clients:
-      client.0:
-        - cephadm/test_dashboard_e2e.sh