]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Add clay plugin support 38489/head
authorStephan Müller <smueller@suse.com>
Wed, 23 Sep 2020 09:16:44 +0000 (11:16 +0200)
committerTatjana Dehler <tdehler@suse.com>
Tue, 8 Dec 2020 14:10:55 +0000 (15:10 +0100)
commit3c58cd6e801cd5774cf55f21cef343f8516702e7
treefd9d6031ad3776d6d00d394d077056effe7aa30b
parentb1c1268b5c492c09ac25a8ffa21109a4387acffe
mgr/dashboard: Add clay plugin support

The erasure code plugin "clay" is now supported by the dashboard. Now a
clay based profile can be created in the ec profile creation modal
dialog which can be found in the pool form.

The defaults of the plugin are calculated or preselected and shown in the
dashboard, therefore things are made mandatory even if they are not on the
cli, but as they automatically set the user doesn't have to set them,
but sees the defaults instantly before creating the profile.
(This is the same behavior that is used for all other supported
plugins.)

Fixes: https://tracker.ceph.com/issues/44433
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit b3fd05bbc568cb775d25032ce87ea8dbb5106b3a)

Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts
Fixed conflicts because https://github.com/ceph/ceph/pull/34696 has not
been backported to octopus.
doc/rados/operations/erasure-code-clay.rst
src/pybind/mgr/dashboard/controllers/erasure_code_profile.py
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
src/pybind/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/erasure-code-profile.ts