Project

General

Profile

Actions

Bug #42776

closed

mgr/dashboard: Pool rename edit form does not return but the pool gets renamed

Added by Ernesto Puerta over 4 years ago. Updated about 3 years ago.

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:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

pool-rename-error.gif (631 KB) pool-rename-error.gif Lenz Grimmer, 11/13/2019 11:24 AM

Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #47717: nautilus: mgr/dashboard: Pool rename edit form does not return but the pool gets renamedResolvedErnesto PuertaActions
Actions

Also available in: Atom PDF