]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix duplicated rows when creating NFS export.
authorAlfonso Martínez <almartin@redhat.com>
Thu, 22 Apr 2021 12:09:52 +0000 (14:09 +0200)
committerAlfonso Martínez <almartin@redhat.com>
Thu, 22 Apr 2021 15:35:52 +0000 (17:35 +0200)
commit0934fa2e6c35ff6008a84a6b0d7bceb3b9a08f9c
treeb2f7bbfd8614071fdc1d0a7ab677f4b2050272ff
parent540c249496023c7d56293d824ba0265b0e0b7c1d
mgr/dashboard: fix duplicated rows when creating NFS export.

- Show an error message if the same pool & namespace is used by more than 1 cluster.
- Fix error handling when no rgw daemons found.

Fixes: https://tracker.ceph.com/issues/50440
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 8d53d7b8e528a08358132032d11f96c774deedb8)
src/pybind/mgr/dashboard/controllers/nfsganesha.py
src/pybind/mgr/dashboard/services/ganesha.py
src/pybind/mgr/dashboard/tests/test_ganesha.py
src/vstart.sh