]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Watch for pool pg's increase and decrease
authorStephan Müller <smueller@suse.com>
Tue, 30 Apr 2019 14:19:39 +0000 (16:19 +0200)
committerStephan Müller <smueller@suse.com>
Wed, 3 Jul 2019 11:06:32 +0000 (13:06 +0200)
commitfc08d2e63cd33f579f39ba14325f906b8324d85a
tree1dabe38234216a81789c20ca9323d07ce82a8811
parent0951269be63afd3ad42bc3c43864ad2adcfe48be
mgr/dashboard: Watch for pool pg's increase and decrease

Now when creating or editing a pool the background task will watch
increasing and decreasing pg's. The executing task will also use a
progress to show the progress.

If the change was not executed through the dashboard, there is no task
to show, but the frontend will make sure to inform the user about the
change that is going on in order to stop the user from doing actions on
the changing pool.

Fixes: https://tracker.ceph.com/issues/39482
Signed-off-by: Stephan Müller <smueller@suse.com>
src/pybind/mgr/dashboard/controllers/pool.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/task-list.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/task-list.service.ts
src/pybind/mgr/dashboard/tests/test_pool.py [new file with mode: 0644]