Bug 2084532 - Console is crashed while detaching disk
Summary: Console is crashed while detaching disk
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Aviv Turgeman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-12 11:41 UTC by Guohua Ouyang
Modified: 2023-11-13 08:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 19:33:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
detach disk (1.92 MB, application/octet-stream)
2022-05-12 11:41 UTC, Guohua Ouyang
no flags Details
Disable Detach Button (271.79 KB, image/png)
2022-05-17 14:31 UTC, Ugo Palatucci
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 445 0 None open Bug 2084532: Console is crashed while detaching disk 2022-05-18 11:30:58 UTC
Red Hat Issue Tracker CNV-18212 0 None None None 2023-11-13 08:16:04 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:33:24 UTC

Description Guohua Ouyang 2022-05-12 11:41:49 UTC
Created attachment 1878908 [details]
detach disk

Description of problem:
Add a disk and start the VM, after stop the VM, detach the disk, the disk is not actually removed in the disk tab, detach it again, the console is crashed.

Version-Release number of selected component (if applicable):
OCP 4.11

How reproducible:


Steps to Reproduce:
1. Add a disk to a VM and start the VM
2. Stop the VM and detach the disk, disk is not detached
3. Detach the disk again

Actual results:


Expected results:


Additional info:

Comment 1 Ugo Palatucci 2022-05-17 14:31:30 UTC
Created attachment 1880499 [details]
Disable Detach Button

Comment 2 Ugo Palatucci 2022-05-17 14:32:31 UTC
Now the flow seems to be different.

If the VM is stopped, the disk gets deleted instantly clicking on 'detach'
If the VM is running, the disk gets marked as 'Hotplug' and the button 'detach' gets disabled

Comment 3 Guohua Ouyang 2022-05-20 03:36:58 UTC
verified on v4.11.0-378

Comment 6 errata-xmlrpc 2022-09-14 19:33:14 UTC
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.11.0 Images security and bug fix 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-2022:6526


Note You need to log in before you can comment on or make changes to this bug.