]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: skip Create OSDs step in Cluster expansion
authorNizamudeen A <nia@redhat.com>
Fri, 14 Apr 2023 19:33:11 +0000 (01:03 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 20 Apr 2023 06:57:55 +0000 (12:27 +0530)
Its to ensure OSDs are not deployed on all hosts because that would make
the host draining impossible

Fixes: https://tracker.ceph.com/issues/59457
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 0f6d23a7aa024495a79cdedc80f7a00902115b6b)

src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts

index 565c5da21e05a0164e07bfe453c8a9dacd5f21de..94cb36c1929e339b8e83d71cced5c929e4be5aa1 100644 (file)
@@ -20,6 +20,11 @@ describe('when cluster creation is completed', () => {
     createCluster.navigateTo();
     createCluster.createCluster();
 
+    // Explicitly skip OSD Creation Step so that it prevents from
+    // deploying OSDs to the hosts automatically.
+    cy.get('.nav-link').contains('Create OSDs').click();
+    cy.get('button[aria-label="Skip this step"]').click();
+
     cy.get('.nav-link').contains('Review').click();
     cy.get('button[aria-label="Next"]').click();
     cy.get('cd-dashboard').should('exist');