From: Pere Diaz Bou Date: Wed, 17 May 2023 14:32:43 +0000 (+0200) Subject: mgr/dashboard: add warning message on why osd creation disabled X-Git-Tag: v18.1.1~57^2~20 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f21b36856d8dffaaea8412bc2bb519dd29473261;p=ceph.git 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 (cherry picked from commit 1d6b318b1a95dc961838dba5b06ebb70b039ee86) --- 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 2aea0ac239ef..e863ac021d31 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. +