]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix NVMeoF API 56164/head
authorErnesto Puerta <epuertat@redhat.com>
Wed, 13 Mar 2024 13:06:10 +0000 (14:06 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Fri, 22 Mar 2024 17:50:03 +0000 (18:50 +0100)
commit4adf48998d97f8199bcb86c8d8994bb5989c198a
treeb1983d2b5c681bec327ecc3d613d6f78436a3804
parentd7353ad4342f698eae25524af998101e3c847e52
mgr/dashboard: fix NVMeoF API

* Update NVMe-oF gRPC Proto to 1.0.0
* Error handling,
* Missing PATCH for certain namespace ops (resize, set QoS, set balance
  groups),
* Stop bypassing gRPC payloads and validate those in the back-end,
* Fix incorrect HTTP 1.1 semantics for some POST/DELETE and URIs.
* Catch errors/exceptions.
* Clean-up EndpointDoc Params
* Run Black linter.
* Remove most of NVMeoFClient glue code between gRPC and controller.
* Fix namespace delete endpoint by exposing trsvcid
* nvmeof io_stats support

Fixes: https://tracker.ceph.com/issues/64890
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
14 files changed:
src/pybind/mgr/dashboard/controllers/__init__.py
src/pybind/mgr/dashboard/controllers/_docs.py
src/pybind/mgr/dashboard/controllers/_endpoint.py
src/pybind/mgr/dashboard/controllers/_rest_controller.py
src/pybind/mgr/dashboard/controllers/auth.py
src/pybind/mgr/dashboard/controllers/docs.py
src/pybind/mgr/dashboard/controllers/nvmeof.py
src/pybind/mgr/dashboard/model/nvmeof.py [new file with mode: 0644]
src/pybind/mgr/dashboard/openapi.yaml
src/pybind/mgr/dashboard/requirements.txt
src/pybind/mgr/dashboard/services/exception.py
src/pybind/mgr/dashboard/services/nvmeof_client.py
src/pybind/mgr/dashboard/services/proto/gateway.proto
src/pybind/mgr/dashboard/services/proto/gateway_pb2.py