]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix _get_rbd_image_refs caching 47119/head
authorPere Diaz Bou <pdiazbou@redhat.com>
Fri, 15 Jul 2022 14:30:15 +0000 (16:30 +0200)
committerPere Diaz Bou <pdiazbou@redhat.com>
Wed, 10 Aug 2022 15:41:49 +0000 (17:41 +0200)
commit950e66b1207f50e3bc91382e07540181d5059511
treea74f53f91137a6cae276107dda7f633f2c00f5a7
parent9a498550d127f6e335c7de6b7c0c7552e9190d1a
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>
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