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:
Created attachment 1880499 [details] Disable Detach Button
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
verified on v4.11.0-378
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