From: Naman Munet Date: Fri, 20 Feb 2026 14:00:43 +0000 (+0530) Subject: mgr/dashboard: Misleading warning when no eligible devices are available for OSD... X-Git-Tag: v21.0.0~169^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=24da933aaf42feaf4676292f75c9e1799ec2d7bb;p=ceph.git mgr/dashboard: Misleading warning when no eligible devices are available for OSD creation Fixes: https://tracker.ceph.com/issues/75050 Signed-off-by: Naman Munet --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html index e863ac021d31..d232aba23394 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html @@ -10,12 +10,15 @@ #formDir="ngForm" [formGroup]="form" novalidate> - - No devices(HDD, SSD or NVME) were found. Creation of OSDs will remain - disabled until devices are added. +
+ No eligible devices found for OSD creation. + Physical disks may be present, but none meet the requirements (unused, unformatted, and not already configured by Ceph). +
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.spec.ts index 162a429f690d..d3676c20c015 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.spec.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.spec.ts @@ -230,11 +230,6 @@ describe('OsdFormComponent', () => { expect(label.innerHTML).not.toContain('Recommended'); }); - it('should display form', () => { - fixtureHelper.expectElementVisible('cd-alert-panel', false); - fixtureHelper.expectElementVisible('.card-body form', true); - }); - describe('without data devices selected', () => { it('should disable preview button', () => { component.simpleDeployment = false;