]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: add enhancements for pool rulest
authorPedro Gonzalez Gomez <pegonzal@redhat.com>
Tue, 1 Apr 2025 20:04:16 +0000 (22:04 +0200)
committerPedro Gonzalez Gomez <pegonzal@redhat.com>
Wed, 2 Apr 2025 12:10:39 +0000 (14:10 +0200)
commite9d40c30038ff208e7f88234977ba73c292f39c9
tree05d3498eb5945115c0ea424c7c71f6cb2b26a7c8
parentf49d713a2a840dd1355e73243d9fa2558670206d
mgr/dashboard: add enhancements for pool rulest

On EC pool:
- Use host count instead of device count for host crush-failure-domain
- Host warning for k+m+1
On replicated:
- Set 'All devices' as default

Fixes: https://tracker.ceph.com/issues/70764
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.ts
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.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/classes/crush.node.selection.class.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/erasure-code-profile.ts