]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: NFS 'create export' form: fixes 43682/head
authorAlfonso Martínez <almartin@redhat.com>
Thu, 4 Nov 2021 13:56:37 +0000 (14:56 +0100)
committerAlfonso Martínez <almartin@redhat.com>
Thu, 4 Nov 2021 16:33:21 +0000 (17:33 +0100)
commit65d71f9a1e2be6b03190a0ee1334a7b97ad4b330
tree5093cdad2839fd3f1c195b36be83283d98ba587a
parent8cf2ca8a998e2ef9419a834e9154a0993205c293
mgr/dashboard: NFS 'create export' form: fixes

* Do not allow a pseudo that is already in use by another export.
* Create mode form: prefill dropdown selectors if options > 0.
* Edit mode form: do not reset the field values that depend on other values that are being edited (unlike Create mode).
* Fix broken link: cluster service.
* Fix error message style for non-existent cephfs path.
* nfs-service.ts: lsDir: thow error if volume is not provided.
* File renaming: nfsganesha.py => nfs.py; test_ganesha.py => test_nfs.py

Fixes: https://tracker.ceph.com/issues/53083
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit d817a24e345516229bc637e2c675d12e6bfcc456)

 Conflicts:
src/pybind/mgr/dashboard/tests/test_ganesha.py
    - Delete file: in fact it's renamed as test_nfs.py
12 files changed:
src/pybind/mgr/dashboard/controllers/nfs.py [new file with mode: 0644]
src/pybind/mgr/dashboard/controllers/nfsganesha.py [deleted file]
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/nfs.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/nfs.service.ts
src/pybind/mgr/dashboard/plugins/feature_toggles.py
src/pybind/mgr/dashboard/tests/test_auth.py
src/pybind/mgr/dashboard/tests/test_ganesha.py [deleted file]
src/pybind/mgr/dashboard/tests/test_nfs.py [new file with mode: 0644]
src/pybind/mgr/nfs/export.py