]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix _get_rbd_image_refs caching 47635/head
authorPere Diaz Bou <pdiazbou@redhat.com>
Fri, 15 Jul 2022 14:30:15 +0000 (16:30 +0200)
committerPere Diaz Bou <pdiazbou@redhat.com>
Tue, 16 Aug 2022 14:32:15 +0000 (16:32 +0200)
commitbd56f0187fc9335b5106b595fc3438b113a317fd
tree340866c599c5d875aba042190eb84a0b3bbd0a3b
parentf75dd82dd80582deeb5eb0b5cbbc5fd648f5e7e4
mgr/dashboard: fix _get_rbd_image_refs caching

We were cahing _get_rbd_image_refs by Ioctx but the namespace to which
a ioctx is set is also relevant information regarding the references
of a pool.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
(cherry picked from commit 950e66b1207f50e3bc91382e07540181d5059511)
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts
src/pybind/mgr/dashboard/services/rbd.py
src/pybind/mgr/dashboard/tests/test_rbd_service.py