Bug 2140977
Summary: | Alerts number is not correct on Virtualization overview | |||
---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Guohua Ouyang <gouyang> | |
Component: | User Experience | Assignee: | Hilda Stastna <hstastna> | |
Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 4.12.0 | CC: | gouyang, hstastna, phbailey, rsdeor, yfrimanm | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | 4.13.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2144839 (view as bug list) | Environment: | ||
Last Closed: | 2023-01-24 13:41:51 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2144839 |
Comment 1
Hilda Stastna
2022-11-09 12:45:26 UTC
Hi Hilda, It looks odd to me, shouldn't the number change accord to the selection of "Show virtualization health alerts"/"Show all alerts"? Guohua, well, it depends on the type of the alerts you have. You need to check for your example. If all the alerts you have are virtualization health alerts, then changing between "Show virtualization health alerts" and "Show all alerts" lead to no change of the number of the alerts displayed in the card. If only some of the alerts are virtualization health ones, then you will see the different number with "Show virtualization health alerts" (lower number), comparing to "Show all alerts". Can you, please, take a look into this again? Comment 3 And if you will still think there is a bug, please add a picture or video, as it can help a lot to reproduce the bug. Thank you very much in advance. I understand if the selection is changed the alerts items are changed too. But do you see the total number is 6 and the details alerts below only have 5, isn't it a problem? Hi Guohua, thanks for checking it. Now I understand, what exactly you meant as a bug in here: the total number of Alerts is always displayed, no matter what we choose in the drop down. However, I am not sure if this is a bug. Let me discuss that with Yifat (UX). I'll update this ticket once I get more info. Thank you. (In reply to Hilda Stastna from comment #6) > Hi Guohua, > > thanks for checking it. Now I understand, what exactly you meant as a bug in > here: the total number of Alerts is always displayed, no matter what we > choose in the drop down. > However, I am not sure if this is a bug. Let me discuss that with Yifat > (UX). I'll update this ticket once I get more info. Thank you. I discussed the issue with Yifat today, and we agree to remove the total number of alerts in the title. Hi, I think the number of the total alerts should always match the sum of all the types. If we can't calculate this, I'm fine with omitting the total number of the alerts (shown in brackets at the title). Hi all, thank you very much for your responses. After more discussion with Foday, we found that this is not a bug, because we always want to display the total number of alerts, and that is already calculated and implemented. "In both cases, we show the total number of alerts in the top left". So I am closing this bug. After discussing this with @rsdeor we agreed that 1. for Administrator we should always count the number of “virtualization health alerts” - the ones that don’t have the VM badge next to them. 2. If the admin selects to see “show all alerts” we should show the virtualization health alerts + all the vm alerts in the selected NS. The number of critical, warning, info alerts is calculated correctly. Can you take the numbers from there? Thanks. @hstastna and @fkargbo to me the numbers should be consistent so I do think it's a bug. We have two types of alerts: Virtualization and VM. As an Administrator (or a cluster viewer) I have two options: 1. I can choose to see only the Virtualization alerts, so the total alerts should not count alerts coming from VMs 2. I can choose to ALSO see alerts coming from VMs, and in this case, the total number of alerts should be the Virtualization alerts + VM alerts in the selected namespace (or All Namespaces) As a user (not a cluster admin) I must work in a single namespace, in this case the number of alerts is the number of VM alerts in the selected namespace Thank you very much, Ronen and Yifat, according to your last comments I am reopening the bug. Fixing for 4.13: https://github.com/kubevirt-ui/kubevirt-plugin/pull/980 verified on v4.13.0-1141 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.12.0 Images security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:0408 |