]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: ECP modal enhanced validation 35152/head
authorStephan Müller <smueller@suse.com>
Tue, 7 Apr 2020 14:08:40 +0000 (16:08 +0200)
committerLaura Paduano <lpaduano@suse.com>
Wed, 20 May 2020 09:06:59 +0000 (11:06 +0200)
commit55684eea6a04315ecb651630ee1a8139594fda96
treebe5bfb75649b1f98d27defe9fdf2039a099ce5e5
parentf22c2b26375f4b49a3aa7b9cd2ccc5f36b1a6f07
mgr/dashboard: ECP modal enhanced validation

New validations with meaningful error messages:
* For all plugins
  * k + m <= OSDs that are available
  * k > 1
* For LRC
  * Display calculation factor for k (always)
  * Show error calculation for k is not met (also shows calculation)
  * Display number of groups for l (always)
  * Show error if calculation for l is not met (also shows calculation)
* For SHEC
  * m <= k
  * c <= m

Fixes: https://tracker.ceph.com/issues/44621
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit 5da7c0259735c56a722f7671e6c16d6a1746a5ba)
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.ts