From 41e6213a6438dffe868faddb47f8c6d81e095174 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Sat, 15 Apr 2023 01:03:11 +0530 Subject: [PATCH] mgr/dashboard: skip Create OSDs step in Cluster expansion 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 (cherry picked from commit 0f6d23a7aa024495a79cdedc80f7a00902115b6b) --- .../orchestrator/workflow/06-cluster-check.e2e-spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts index 565c5da21e05..94cb36c1929e 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/06-cluster-check.e2e-spec.ts @@ -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'); -- 2.47.3