Bug 1743246

Summary: [downstream clone - 4.3.6] Move/Copy disk are blocked if there is less space in source SD than the size of the disk
Product: Red Hat Enterprise Virtualization Manager Reporter: RHV bug bot <rhv-bugzilla-bot>
Component: ovirt-engineAssignee: Benny Zlotnik <bzlotnik>
Status: CLOSED ERRATA QA Contact: Evelina Shames <eshames>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.3.6CC: bzlotnik, frolland, Rhev-m-bugs, tnisan
Target Milestone: ovirt-4.3.6Keywords: ZStream
Target Release: 4.3.6Flags: lsvaty: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.6.3 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1741271 Environment:
Last Closed: 2019-10-10 15:36:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1741271    
Bug Blocks:    

Description RHV bug bot 2019-08-19 12:52:52 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1741271 +++
======================================================================

Description of problem:

If I try to move or copy a disk from one SD to another and the amount of free space in the source SD is less than the size of the disk in question, the operation is blocked.

The engine log reports a warning;

  ACTION_TYPE_FAILED_DISK_SPACE_LOW_ON_STORAGE_DOMAIN,$storageName <source SD>


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

RHV 4.3.5


How reproducible:

100%


Steps to Reproduce:
1. Create disk of size Ngb
2. Set up the SD to have less than Ngb
3. Move or Copy the disk to another SD that has enough space


Actual results:


Expected results:


Additional info:

(Originally by Gordon Watson)

Comment 1 RHV bug bot 2019-08-19 12:52:54 UTC
Example: 

I have a 10gb disk consisting of a single raw volume. The SD is 30gb. I have 6gb free space in the SD. The target SD has 200gb free, A move or copy of that disk to the target SD will fail with "ACTION_TYPE_FAILED_DISK_SPACE_LOW_ON_STORAGE_DOMAIN,$storageName <source SD>".  This is a warning, not an error though. All the threshold variables (warning_low_space_indicator, critical_space_action_blocker, warning_low_confirmed_space_indicator) make no difference. I even set them all to 1.

If I move/copy a 5gb disk, it works. If I move/copy two 5gb disks at the same time, it works.

(Originally by Gordon Watson)

Comment 3 RHV bug bot 2019-08-23 13:25:55 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.3.z': '?'}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.3.z': '?'}', ]

For more info please contact: rhv-devops

Comment 4 Daniel Gur 2019-08-28 13:14:37 UTC
sync2jira

Comment 5 Daniel Gur 2019-08-28 13:19:40 UTC
sync2jira

Comment 7 Evelina Shames 2019-09-01 08:39:34 UTC
Verified on engine-4.3.6.3-0.1.

Comment 8 RHV bug bot 2019-09-05 13:28:30 UTC
INFO: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:

[Tag 'ovirt-engine-4.3.6.5' doesn't contain patch 'https://gerrit.ovirt.org/102612']
gitweb: https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/ovirt-engine-4.3.6.5

For more info please contact: rhv-devops

Comment 9 RHV bug bot 2019-09-05 13:34:14 UTC
INFO: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:

[Tag 'ovirt-engine-4.3.6.5' doesn't contain patch 'https://gerrit.ovirt.org/102612']
gitweb: https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/ovirt-engine-4.3.6.5

For more info please contact: rhv-devops

Comment 10 RHV bug bot 2019-09-25 08:46:30 UTC
INFO: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:

[Tag 'ovirt-engine-4.3.5.6' doesn't contain patch 'https://gerrit.ovirt.org/102612']
gitweb: https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/ovirt-engine-4.3.5.6

For more info please contact: rhv-devops

Comment 12 errata-xmlrpc 2019-10-10 15:36:58 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/RHEA-2019:3010