]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: nvmeof trash rbd image on namespace rm 61643/head
authorNizamudeen A <nia@redhat.com>
Tue, 4 Feb 2025 12:03:11 +0000 (17:33 +0530)
committerNizamudeen A <nia@redhat.com>
Mon, 24 Feb 2025 06:50:42 +0000 (12:20 +0530)
commitff1b956551169078b53defa05cf4b3973bba2188
tree45c58f0f53e2429bbed670a40c94a51c1364e502
parent0b7128ec0310357338b5b14a90bf42a73addf89c
mgr/dashboard: nvmeof trash rbd image on namespace rm

A trash_image param is introduced to create namespace API. When that is
set, if the user force remove the namepsace it'll also remove the rbd
image.

Fixes: https://tracker.ceph.com/issues/69787
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/controllers/nvmeof.py
src/pybind/mgr/dashboard/model/nvmeof.py
src/pybind/mgr/dashboard/openapi.yaml