Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1535256 - MaxBlockDiskSize is honoured only on AddDiskCommand and not on Extend [NEEDINFO]
MaxBlockDiskSize is honoured only on AddDiskCommand and not on Extend
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
4.1.9
Unspecified Unspecified
unspecified Severity medium
: ovirt-4.2.2
: ---
Assigned To: Benny Zlotnik
Avihai
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-16 19:15 EST by Andrea Perotti
Modified: 2018-05-15 13:48 EDT (History)
16 users (show)

See Also:
Fixed In Version: ovirt-engine-4.2.2
Doc Type: Bug Fix
Doc Text:
In the current release, MaxBlockSize is checked when extending a disk, to ensure that its size does not exceed the MaxBlockSize value.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-05-15 13:47:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
eedri: needinfo? (dfodor)


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 86743 master MERGED core, webadmin: enforce MaxBlockDiskSize when extending a disk 2018-01-29 11:43 EST
Red Hat Product Errata RHEA-2018:1488 None None None 2018-05-15 13:48 EDT

  None (edit)
Description Andrea Perotti 2018-01-16 19:15:34 EST
Description of problem:
When creating a new disk on RHV, user is limited by the value setted in `MaxBlockDiskSize` (ref https://bugzilla.redhat.com/show_bug.cgi?id=1402315#c1 ).

But has been tested that when extending an already existing disk, you can grow as much as you like.

If that value is set as a limit to the tests we do on the product, it should not be so easy to workaround it.

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

How reproducible:
Always

Steps to Reproduce:
1. create a disk of a size equal to MaxBlockDiskSize
2. once created extend the disk over the MaxBlockDiskSize

Actual results:
RHV allow you to do it

Expected results:
Even on extend, the `MaxBlockDiskSize` value is enforced
Comment 1 Allon Mureinik 2018-01-29 11:44:24 EST
Benny, a customer encountered this bug, and the fix is a visible change. Please add some doctext explaining it.
Thanks!
Comment 2 Avihai 2018-03-06 08:03:13 EST
Fix is not in latest downstream 4.2.2.2 -> Moved back to MODIFIED.
Please move it back to 'ON QA' when its available in latest downstream.

See gitweb link on latest downstream 4.2.2.2 commits:
https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=bd519ad7adc2e71603d0b2a4cfa710d608b61b70
Comment 3 Allon Mureinik 2018-03-06 08:40:25 EST
(In reply to Avihai from comment #2)
> Fix is not in latest downstream 4.2.2.2 -> Moved back to MODIFIED.
> Please move it back to 'ON QA' when its available in latest downstream.
> 
> See gitweb link on latest downstream 4.2.2.2 commits:
> https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;
> h=bd519ad7adc2e71603d0b2a4cfa710d608b61b70

Sure it is, it was just pushed to the next page since it's been there for so long :-)

You can verify this manually:

amureini@mureinik ~/src/git/ovirt-engine [master] $ git tag --contains fbf4c769764b30ab2957f78b99ec35cfc8f955e2
ovirt-engine-4.2.2
ovirt-engine-4.2.2.1
ovirt-engine-4.2.2.2
Comment 4 Avihai 2018-03-06 08:57:39 EST
(In reply to Allon Mureinik from comment #3)
> (In reply to Avihai from comment #2)
> > Fix is not in latest downstream 4.2.2.2 -> Moved back to MODIFIED.
> > Please move it back to 'ON QA' when its available in latest downstream.
> > 
> > See gitweb link on latest downstream 4.2.2.2 commits:
> > https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;
> > h=bd519ad7adc2e71603d0b2a4cfa710d608b61b70
> 
> Sure it is, it was just pushed to the next page since it's been there for so
> long :-)
> 
> You can verify this manually:
> 
> amureini@mureinik ~/src/git/ovirt-engine [master] $ git tag --contains
> fbf4c769764b30ab2957f78b99ec35cfc8f955e2
> ovirt-engine-4.2.2
> ovirt-engine-4.2.2.1
> ovirt-engine-4.2.2.2

My bad, it was indeed in the next webgit page & pushed to ovirt-engine-4.2.2.

Will check it shortly.
Comment 5 Avihai 2018-03-06 09:56:38 EST
verified on engine 4.2.2.2
Comment 6 RHV Bugzilla Automation and Verification Bot 2018-03-16 11:02:50 EDT
INFO: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:

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

For more info please contact: rhv-devops@redhat.com
Comment 7 Allon Mureinik 2018-03-20 12:15:29 EDT
(In reply to RHV Bugzilla Automation and Verification Bot from comment #6)
> INFO: Bug status (VERIFIED) wasn't changed but the folowing should be fixed:
> 
> [Tag 'ovirt-engine-4.2.2.4' doesn't contain patch
> 'https://gerrit.ovirt.org/86743']
> gitweb:
> https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/
> ovirt-engine-4.2.2.4
> 
> For more info please contact: rhv-devops@redhat.com

It most certainly does:

amureini@mureinik ~/src/git/ovirt-engine [master] $ git tag --contains fbf4c769764b30ab2957f78b99ec35cfc8f955e2
ovirt-engine-4.2.2
ovirt-engine-4.2.2.1
ovirt-engine-4.2.2.2
ovirt-engine-4.2.2.3
ovirt-engine-4.2.2.4
Comment 8 Eyal Edri 2018-03-21 05:18:25 EDT
Thanks for reporting this, we do have known issues in the bug moving logic we're trying to resolve, this will help in debugging.

Anton,Dusan - can you investigate why this but wasn't included in the build?
Comment 12 errata-xmlrpc 2018-05-15 13:47:24 EDT
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-2018:1488

Note You need to log in before you can comment on or make changes to this bug.