]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix _get_rbd_image_refs caching 47636/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:35:19 +0000 (16:35 +0200)
commit6a18658223969becbeeac26f30b8b4b12fa86331
tree93bd6661860149642d8e02d33b3a1bddd5605d4a
parent7458e41e690802021052863e5164a4143b1d499e
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