]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: skip Create OSDs step in Cluster expansion 51150/head
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:18 +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 589cbaa904c23ddc7f6e93ed2a3ea5b789775ca0..a3f757f55e3f96ca6e11f2738c1254e7bc65206a 100644 (file)
@@ -22,6 +22,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');