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: v19.0.0~1195^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F51556%2Fhead;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 --- 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 2aea0ac239e..e863ac021d3 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. +