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 #1

Updated by Ernesto Puerta over 4 years ago

  • Description updated (diff)
  • Target version set to v15.0.0
Actions #2

Updated by Stephan Müller over 4 years ago

  • Assignee set to Stephan Müller
Actions #3

Updated by Lenz Grimmer over 4 years ago

Here's a screen capture of how this looks like in the UI:

Actions #4

Updated by Stephan Müller over 4 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Stephan Müller over 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 31617
Actions #6

Updated by Kefu Chai over 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions #7

Updated by Ernesto Puerta over 3 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to nautilus
Actions #8

Updated by Ernesto Puerta over 3 years ago

  • Copied to Backport #47717: nautilus: mgr/dashboard: Pool rename edit form does not return but the pool gets renamed added
Actions #9

Updated by Nathan Cutler over 3 years 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".

Actions #10

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 137 to Component - Pools
Actions

Also available in: Atom PDF