Bug 1841146

Summary: Virtual Machine Template with a disk without immediate DataVolume cannot be deleted
Product: OpenShift Container Platform Reporter: Radim Hrazdil <rhrazdil>
Component: Console Kubevirt PluginAssignee: Filip Krepinsky <fkrepins>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, fkrepins, tjelinek
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:42:23 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:

Description Radim Hrazdil 2020-05-28 13:30:05 UTC
Description of problem:
When a user creates a Virtual Machine Template with a disk for which there isn't immediately created datavolume (Blank disk), the VMT then cannot be deleted, because the Delete Modal is trying to search the DataVolume, which doesn't exist.

Note that such disk cannot be deleted using the kebab action either.

Possible workaround is removing the disk using the yaml editor, 

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

How reproducible:
100%

Comment 4 Radim Hrazdil 2020-06-01 09:17:31 UTC
Verified, release-4.5, commit: 145273f2f22800dda59f208d2d51a75191f376a4

Comment 5 errata-xmlrpc 2020-07-13 17:42:23 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, 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/RHBA-2020:2409