]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: validate mds service_id and helper text for service_id 47179/head
authorMelissa Li <melissali@redhat.com>
Tue, 19 Jul 2022 21:05:14 +0000 (17:05 -0400)
committerMelissa Li <melissali@redhat.com>
Wed, 27 Jul 2022 16:28:04 +0000 (12:28 -0400)
commit1d6cb2882d5b9c2a058631a2c189706bcdc73e68
treeac6a7c454b8ed898004ae0771aefce2530b71e6e
parent42a0ef838d1ca8b3e44a81b59b2458885e3c8a66
mgr/dashboard: validate mds service_id and helper text for service_id

Validate mds service_id to avoid mds daemon from being created and going into error state due to invalid id.
Also add helper text to describe the role of service_id.

Fixes: https://tracker.ceph.com/issues/56077
Signed-off-by: Melissa Li <melissali@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.ts