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 <pere-altea@hotmail.com>
#formDir="ngForm"
[formGroup]="form"
novalidate>
+ <cd-alert-panel *ngIf="!deploymentOptions?.recommended_option"
+ type="warning"
+ class="mx-3"
+ i18n>
+ No devices(HDD, SSD or NVME) were found. Creation of OSDs will remain
+ disabled until devices are added.
+ </cd-alert-panel>
<div class="accordion">
<div class="accordion-item">
<h2 class="accordion-header">