From 1d6b318b1a95dc961838dba5b06ebb70b039ee86 Mon Sep 17 00:00:00 2001 From: Pere Diaz Bou Date: Wed, 17 May 2023 16:32:43 +0200 Subject: [PATCH] mgr/dashboard: add warning message on why osd creation disabled When no options are present when creating OSDs, you can see the form with lots of things disabled without having a clear explanation. This PR introduces a warning banner with a description on why it is happening. Fixes: https://tracker.ceph.com/issues/61223 Signed-off-by: Pere Diaz Bou --- .../app/ceph/cluster/osd/osd-form/osd-form.component.html | 7 +++++++ 1 file changed, 7 insertions(+) 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 2aea0ac239eff..e863ac021d31c 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,6 +10,13 @@ #formDir="ngForm" [formGroup]="form" novalidate> + + No devices(HDD, SSD or NVME) were found. Creation of OSDs will remain + disabled until devices are added. +

-- 2.39.5