Actions
Bug #42776
closedmgr/dashboard: Pool rename edit form does not return but the pool gets renamed
Status:
Resolved
Priority:
High
Assignee:
Stephan Müller
Category:
Component - Pools
Target version:
% Done:
0%
Source:
Tags:
Backport:
nautilus
Regression:
Yes
Severity:
2 - major
Reviewed:
Description
Reproducer:
- Select existing pool (e.g.: "rbd") and click "Edit"
- Change pool name from "rbd" to something else (e.g: "rbd2").
- Click on bottom-right button "Edit Pool".
Expected:
- The form closes and the pool gets renamed.
Actual outcome:
- The form hangs, and a floating error message appears (404 - Not Found. The path 'No such pool' was not found.)
The exception traceback is as follows:
... 0 mgr[dashboard] Error while calling Task(ns=pool/edit, md={'pool_name': 'rbd2'}) Traceback (most recent call last): File "/ceph/src/pybind/mgr/dashboard/tools.py", line 546, in _run val = self.task.fn(*self.task.fn_args, **self.task.fn_kwargs) File "/ceph/src/pybind/mgr/dashboard/controllers/pool.py", line 87, in set self._wait_for_pgs(pool_name) File "/ceph/src/pybind/mgr/dashboard/controllers/pool.py", line 176, in _wait_for_pgs current_pool = cls._get(pool_name) Marked as regression, as it does not happen in nautilus (v14.2.4@cb8144184d). File "/ceph/src/pybind/mgr/dashboard/controllers/pool.py", line 68, in _get raise cherrypy.NotFound('No such pool') cherrypy._cperror.NotFound: (404, "The path 'No such pool' was not found.")
Files
Actions