Description of problem: Export VM to data domain with low space on source domain to different destination domain is not possible when it should. Engine Log: 2020-04-23 10:29:15,752+03 INFO [org.ovirt.engine.core.bll.CloneVmNoCollapseCommand] (default task-17) [c4376df8-df6f-4df0-ade4-7db043be7e8a] Lock Acquired to object 'EngineLock:{exclusiveLocks='[vm-space-export=VM_NAME]', sharedLocks='[ ada9607e-1b96-46c5-8f4e-43db0942187a=DISK, 4163baa6-df18-4593-b967-87da5d974c70=VM]'}' 2020-04-23 10:29:15,960+03 WARN [org.ovirt.engine.core.bll.CloneVmNoCollapseCommand] (default task-17) [] Validation of action 'CloneVmNoCollapse' failed for user admin@internal-authz. Reasons: VAR__ACTION__ADD,VAR__TYPE__VM,ACTION_TYPE_ FAILED_DISK_SPACE_LOW_ON_STORAGE_DOMAIN,$storageName iscsi_0 2020-04-23 10:29:15,961+03 INFO [org.ovirt.engine.core.bll.CloneVmNoCollapseCommand] (default task-17) [] Lock freed to object 'EngineLock:{exclusiveLocks='[vm-space-export=VM_NAME]', sharedLocks='[ada9607e-1b96-46c5-8f4e-43db0942187a=DI SK, 4163baa6-df18-4593-b967-87da5d974c70=VM]'}' 2020-04-23 10:29:15,973+03 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-17) [] Operation Failed: [Cannot add VM. Low disk space on Storage Domain iscsi_0.] Version-Release number of selected component (if applicable): engine-4.4.0-0.33.master.el8ev How reproducible: 100% Steps to Reproduce: 1.Create VM with XG disk 2.Try to export VM to data domain that has more then XG free space and the source SD has less then XG free space. Actual results: Operation is blocked with the following message: [Cannot add VM. Low disk space on Storage Domain iscsi_0.] (My source sd was iscsi_0) Expected results: Operation should succeed.
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Is this flow blocking multiple testcases (TestBlocker) or should the flag be removed?
(In reply to Lukas Svaty from comment #3) > Is this flow blocking multiple testcases (TestBlocker) or should the flag be > removed? No, removing the flag.
Steps to Reproduce: 1.Create VM with XG disk 2.Try to export VM to data domain that has more then XG free space and the source SD has less then XG free space. Operation should be seccsesfull.
This bug is in modified state and targeting 4.4.3. Can this be re-targeted to 4.4.1?
Verified on rhv-4.4.1-5.
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.1 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.