From 87525a957ceb6907f9f8a131daa95838bba6a518 Mon Sep 17 00:00:00 2001 From: Pedro Gonzalez Gomez Date: Wed, 19 Jun 2024 22:23:11 +0200 Subject: [PATCH] mgr/dashboard: add fields to EC profile form Fixes: https://tracker.ceph.com/issues/66571 Signed-off-by: Pedro Gonzalez Gomez (cherry picked from commit 8f7a5de584b04b1dcba04799d1d9301af325d64b) Conflicts: src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.ts --- ...ure-code-profile-form-modal.component.html | 40 +++++++++++++++++++ ...asure-code-profile-form-modal.component.ts | 10 +++++ .../pool/pool-form/pool-form.component.html | 11 ++++- .../pool/pool-form/pool-form.component.ts | 10 +++++ .../api/erasure-code-profile.service.ts | 7 ++++ .../src/app/shared/forms/cd-validators.ts | 4 ++ .../app/shared/models/erasure-code-profile.ts | 2 + 7 files changed, 82 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.html index b186677c5c560..7888fa853e3dd 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.html @@ -252,6 +252,46 @@ +
+ +
+ + This field is required when crush osds per failure domain is set! +
+
+ +
+ +
+ + This field is required when crush num failure domain is set! +
+
+