Project

General

Profile

Actions

Bug #42480

closed

mgr/dashboard: searching table with data in Object types make Dashboard unresponsive

Added by Kiefer Chang over 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Stephan Müller
Category:
General
Target version:
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

For the table component, if the column data are Objects, searching table breaks the UI.
This issue is spotted when investigating #36354.

To reproduce this issue:
  1. Create a pool with RBD application
  2. Create a image on that pool
  3. Snapshot the image and protect the snapshot
  4. Clone the snapshot to a new image
  5. On image list table, search anything in the search box. A exception is displayed in the console and the GUI is unresponsive unless refreshing the whole app.

A preliminary investigation to the cause of the issue is the parent column of second RBD image is a Object, and the code falls through to the last statement in this snippet:
https://github.com/ceph/ceph/blob/4ea43f734254871c575761f0be4d859fd7f2a172/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts#L529-L544


Files

search_exception.png (111 KB) search_exception.png Kiefer Chang, 10/25/2019 02:19 AM

Related issues 2 (0 open2 closed)

Related to Dashboard - Bug #36354: mgr/dashboard/rbd: throws 500s with format 1 RBD imagesResolvedErnesto Puerta

Actions
Copied to Dashboard - Backport #42673: nautilus: mgr/dashboard: searching table with data in Object types make Dashboard unresponsiveResolvedShyukri ShyukrievActions
Actions

Also available in: Atom PDF