Bug 1588061

Summary: Suspend VM leaves disks as leftover
Product: [oVirt] ovirt-engine Reporter: Liran Rotenberg <lrotenbe>
Component: BLL.StorageAssignee: Shmuel Melamud <smelamud>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.4.1CC: ahadas, bugs, dfodor, ipinto, nsimsolo
Target Milestone: ovirt-4.4.7Keywords: Automation
Target Release: 4.4.7Flags: pm-rhel: ovirt-4.4+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.7.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-11 07:36:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine log none

Description Liran Rotenberg 2018-06-06 14:34:39 UTC
Created attachment 1448356 [details]
engine log

Description of problem:
When creating a VM, suspending it and shutting it down, the suspension disks(hibernation_memory and hibernation_metadata) will stay as leftovers even after VM removal.

Version-Release number of selected component (if applicable):
ovirt-engine-4.2.4-0.1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create a VM.
2. Start the VM.
3. Enter the VM to suspend.
4. Shutdown the VM.

Actual results:
Two disks are leftovers:
vm_name_hibernation_memory and vm_name_hibernation_metadata

Expected results:
Disk removal when exiting suspend mode. No leftovers.

Comment 1 Sandro Bonazzola 2019-01-28 09:34:41 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

Comment 2 Tal Nisan 2019-04-07 09:27:06 UTC
After second look this seems like a Virt flow so moving to Virt for inspection

Comment 3 Nisim Simsolo 2021-07-11 07:28:36 UTC
Verified: 
ovirt-engine-4.4.7.6-0.11.el8ev
vdsm-4.40.70.6-1.el8ev.x86_64
libvirt-daemon-7.0.0-14.1.module+el8.4.0+11095+d46acebf.x86_64
qemu-kvm-5.2.0-16.module+el8.4.0+11536+725e25d9.2.x86_64

Verification scenario:
1. Run VM.
2. Suspend VM. 
observe storage -> disks, verify there are 2 new disks with the next description: 
memory dump for VM hibernation
metadata for VM hibernation
3. Shutdown VM and verify both disks removed. 
4. Repeat steps 1-3 few more times.

Comment 4 Arik 2021-07-11 07:36:34 UTC
This bugzilla is included in oVirt 4.4.7 release, published on July 6th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.7 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.