From 1087c1bc955879ba62018a0a8bd7f3ae4aba6b41 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Thu, 6 Apr 2023 12:07:20 +0530 Subject: [PATCH] mgr/dashboard: fix create osds step failing on the default option the backend was reporting with a keyError which doesn't find the `encrypted` key. Fixes: https://tracker.ceph.com/issues/59319 Signed-off-by: Nizamudeen A (cherry picked from commit ca8b107cf2198ecf189b513ff75b9d5a9d9782b9) --- .../app/ceph/cluster/create-cluster/create-cluster.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/create-cluster/create-cluster.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/create-cluster/create-cluster.component.ts index 65eb2e4a6aa..dc455ca0629 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/create-cluster/create-cluster.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/create-cluster/create-cluster.component.ts @@ -81,7 +81,7 @@ export class CreateClusterComponent implements OnInit, OnDestroy { ngOnInit(): void { this.osdService.getDeploymentOptions().subscribe((options) => { this.deploymentOption = options; - this.selectedOption = { option: options.recommended_option }; + this.selectedOption = { option: options.recommended_option, encrypted: false }; }); this.stepTitles.forEach((stepTitle) => { -- 2.39.5