]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix pool renaming functionality 37510/head
authorStephan Müller <smueller@suse.com>
Wed, 13 Nov 2019 12:16:55 +0000 (13:16 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Fri, 2 Oct 2020 08:57:06 +0000 (10:57 +0200)
commit45aad70277fa5193277bd98db37fb2cb4fd874a5
treece75c7136a5f2c362c68b7f0b85aa2b669ea0a1f
parent8cc023dd70f9830705ab9784eb342f0925dbf5c6
mgr/dashboard: Fix pool renaming functionality

The problem was that, if a pool was renamed the routine to update tried
to work on the old pool name and didn't used the info that the pool got
renamed, therefore an error occurred in the UI saying that the pool
could not be found.

Fixes: https://tracker.ceph.com/issues/42776
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit de933cd3c82b6a7d5c4ddfa77804509c9fcaa3db)

Conflicts:
      qa/tasks/mgr/dashboard/test_pool.py:
      - Ignore incoming quota test
src/pybind/mgr/dashboard/controllers/pool.py