From: Sage Weil Date: Wed, 23 Jun 2021 14:49:28 +0000 (-0500) Subject: qa/suites/rados/dashboard: fix e2e test X-Git-Tag: v17.1.0~1574^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F41990%2Fhead;p=ceph.git qa/suites/rados/dashboard: fix e2e test Move roles into task yaml. Rename e2e. Fixes: https://tracker.ceph.com/issues/51292 Signed-off-by: Sage Weil --- diff --git a/qa/suites/rados/dashboard/clusters/+ b/qa/suites/rados/dashboard/clusters/+ deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/qa/suites/rados/dashboard/clusters/.qa b/qa/suites/rados/dashboard/clusters/.qa deleted file mode 120000 index a602a0353e75..000000000000 --- a/qa/suites/rados/dashboard/clusters/.qa +++ /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 index 8a0b9123b382..000000000000 --- a/qa/suites/rados/dashboard/clusters/2-node-mgr.yaml +++ /dev/null @@ -1 +0,0 @@ -.qa/clusters/2-node-mgr.yaml \ No newline at end of file diff --git a/qa/suites/rados/dashboard/tasks/dashboard.yaml b/qa/suites/rados/dashboard/tasks/dashboard.yaml index 111c5f38e2a1..052e2cc38814 100644 --- a/qa/suites/rados/dashboard/tasks/dashboard.yaml +++ b/qa/suites/rados/dashboard/tasks/dashboard.yaml @@ -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 index 000000000000..cb6ffb22fe0c --- /dev/null +++ b/qa/suites/rados/dashboard/tasks/e2e.yaml @@ -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 index c3f081a264d0..000000000000 --- a/qa/suites/rados/dashboard/tasks/test_e2e.yaml +++ /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