Project

General

Profile

Actions

Bug #55176

closed

mgr/dashboard: datatable in Cluster Host page hides wrong column on selection.

Added by Sarthak Gupta about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - Cluster
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
pacific quincy
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Problem:
In the Cluster>Hosts page, on toggling off any columns bellow "Model" like "CPUs", "Cores" etc, the "Model" column get unchecked and hidden and not the one that was unchecked.
This issue was faced in ceph dev env with no hosts.

Reason:
This is due to the fact that for some of the columns the "prop" attribute is for some reason getting set to empty string.

0: {name: 'Hostname', prop: 'hostname', flexGrow: 1, isHidden: false, resizeable: false, }
1: {name: 'Services', prop: 'services', flexGrow: 2, cellTemplate: TemplateRef, isHidden: false, }
2: {name: 'Labels', prop: 'labels', flexGrow: 1, cellTransformation: 'badge', customTemplateConfig: {}, }
3: {name: 'Status', prop: 'status', flexGrow: 1, cellTransformation: 'badge', customTemplateConfig: {}, }
4: {name: 'Model', prop: '', flexGrow: 1, resizeable: false, $$id: 'qw4m', }
5: {name: 'CPUs', prop: '', flexGrow: 0.3, resizeable: false, $$id: 'f1dj', }
6: {name: 'Cores', prop: '', flexGrow: 0.3, resizeable: false, $$id: 'fso9', }
7: {name: 'Total Memory', prop: '', pipe: DimlessBinaryPipe, flexGrow: 0.4, resizeable: false, }
8: {name: 'Raw Capacity', prop: '', pipe: DimlessBinaryPipe, flexGrow: 0.5, resizeable: false, }
9: {name: 'HDDs', prop: '', flexGrow: 0.3, resizeable: false, $$id: 'u1tz', }
10: {name: 'Flash', prop: '', headerTemplate: TemplateRef, flexGrow: 0.3, resizeable: false, }
11: {name: 'NICs', prop: '', flexGrow: 0.3, resizeable: false, $$id: 'od1t', }
length: 12
[[Prototype]]: Array(0)

Files

Ceph_ Cluster _ Hosts .mp4 (608 KB) Ceph_ Cluster _ Hosts .mp4 Sarthak Gupta, 04/04/2022 02:44 PM

Related issues 2 (0 open2 closed)

Copied to Dashboard - Backport #55273: pacific: mgr/dashboard: datatable in Cluster Host page hides wrong column on selection.ResolvedSarthak GuptaActions
Copied to Dashboard - Backport #55274: quincy: mgr/dashboard: datatable in Cluster Host page hides wrong column on selection.ResolvedSarthak GuptaActions
Actions #1

Updated by Sarthak Gupta about 2 years ago

  • Description updated (diff)
Actions #2

Updated by Sarthak Gupta about 2 years ago

  • Subject changed from mgr/dashboard: data table in Cluster Host page hides wrong column on slection. to mgr/dashboard: datatable in Cluster Host page hides wrong column on selection.
Actions #3

Updated by Sarthak Gupta about 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 45790
Actions #4

Updated by Ernesto Puerta about 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Backport Bot about 2 years ago

  • Copied to Backport #55273: pacific: mgr/dashboard: datatable in Cluster Host page hides wrong column on selection. added
Actions #6

Updated by Backport Bot about 2 years ago

  • Copied to Backport #55274: quincy: mgr/dashboard: datatable in Cluster Host page hides wrong column on selection. added
Actions #7

Updated by Ernesto Puerta almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF