Bug #42776
mgr/dashboard: Pool rename edit form does not return but the pool gets renamed
Status:
Resolved
Priority:
High
Assignee:
Category:
dashboard/pools
Target version:
% Done:
0%
Source:
Tags:
Backport:
nautilus
Regression:
Yes
Severity:
2 - major
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.")
Related issues
History
#1 Updated by Ernesto Puerta about 1 year ago
- Description updated (diff)
- Target version set to v15.0.0
#2 Updated by Stephan Müller about 1 year ago
- Assignee set to Stephan Müller
#3 Updated by Lenz Grimmer about 1 year ago
- File pool-rename-error.gif View added
Here's a screen capture of how this looks like in the UI:
#4 Updated by Stephan Müller about 1 year ago
- Status changed from New to In Progress
#5 Updated by Stephan Müller about 1 year ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 31617
#6 Updated by Kefu Chai about 1 year ago
- Status changed from Fix Under Review to Resolved
#7 Updated by Ernesto Puerta 4 months ago
- Status changed from Resolved to Pending Backport
- Backport set to nautilus
#8 Updated by Ernesto Puerta 4 months ago
- Copied to Backport #47717: nautilus: mgr/dashboard: Pool rename edit form does not return but the pool gets renamed added
#9 Updated by Nathan Cutler 4 months ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".