Bug 1786621

Summary: When exporting VM with snapshots to data domain without collapse - the VM is exported without the snapshots
Product: [oVirt] ovirt-engine Reporter: Evelina Shames <eshames>
Component: BLL.StorageAssignee: Benny Zlotnik <bzlotnik>
Status: CLOSED CURRENTRELEASE QA Contact: Evelina Shames <eshames>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4.0CC: bugs, bzlotnik, dfodor, tnisan
Target Milestone: ovirt-4.4.0Flags: pm-rhel: ovirt-4.4+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-ui-extensions-1.0.13-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 20:00:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs+screenshots none

Description Evelina Shames 2019-12-26 14:49:12 UTC
Created attachment 1647790 [details]
logs+screenshots

Description of problem:
When exporting VM with snapshots to data domain without collapse, the VM is exported without the snapshots

Version-Release number of selected component (if applicable):
engine-4.4.0-0.13
ovirt-engine-ui-extensions-1.0.11-1

How reproducible:
Always

Steps to Reproduce:
1. Create VM with disk
2. Create 2 snapshots
3. Export VM to data domain without collapse 

Actual results:
The exported VM is exported without the snapshots

Expected results:
The exported VM should have snapshots

Additional info:
Logs and screenshots are attached

engine:
2019-12-26 16:24:32,349+02 INFO  [org.ovirt.engine.core.bll.CloneVmCommand] (default task-56) [fd6e9542-5bc8-4c98-95a2-43068cac3c31] Lock Acquired to object 'EngineLock:{exclusiveLocks='[test4-export=VM_NAME]', sharedLocks='[7737bfb3-d88b-468b-a261-4a9fd7290013=VM, fcf4ab6e-72af-402f-918e-7bfc3165aba3=DISK]'}'
2019-12-26 16:24:34,187+02 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-56) [6351d234] EVENT_ID: USER_ADD_VM(34), VM test4-export was created by admin@internal-authz.
2019-12-26 16:25:02,750+02 INFO  [org.ovirt.engine.core.bll.CloneVmCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-35) [] Lock freed to object 'EngineLock:{exclusiveLocks='[test4-export=VM_NAME]', sharedLocks='[7737bfb3-d88b-468b-a261-4a9fd7290013=VM, fcf4ab6e-72af-402f-918e-7bfc3165aba3=DISK]'}'
2019-12-26 16:25:02,789+02 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-35) [] EVENT_ID: USER_ADD_VM_FINISHED_SUCCESS(53), VM test4-export creation has been completed.

Comment 1 Benny Zlotnik 2019-12-30 16:07:06 UTC
Is there any special configuration? I cannot reproduce. 
Is it export from file to block or vice-versa? Or some other combination?

Comment 2 Benny Zlotnik 2019-12-31 11:26:32 UTC
never mind, found it

Comment 3 RHV bug bot 2020-01-24 19:49:48 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[No relevant external trackers attached]

For more info please contact: infra

Comment 4 Evelina Shames 2020-03-31 12:06:12 UTC
verified on engine-4.4.0-0.25.master.el8ev.

Comment 5 Sandro Bonazzola 2020-05-20 20:00:47 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 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.