Bug 1552540 - Webadmin- misleading error appears trying to extend a disk with MaxBlockDiskSize (8192G) with a value of 1 or more
Summary: Webadmin- misleading error appears trying to extend a disk with MaxBlockDiskS...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.2.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.3.3
: ---
Assignee: Pavel Bar
QA Contact: Avihai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-07 10:09 UTC by Avihai
Modified: 2019-04-16 13:58 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.3.3.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-16 13:58:29 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.3+


Attachments (Terms of Use)
Print screens of the issue (141.20 KB, image/png)
2018-03-07 10:09 UTC, Avihai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 98492 0 master MERGED webadmin: Fixed error message when disk can't be extended. 2019-03-25 10:12:28 UTC
oVirt gerrit 98858 0 ovirt-engine-4.3 MERGED webadmin: Fixed error message when disk can't be extended. 2019-03-26 09:44:56 UTC

Description Avihai 2018-03-07 10:09:25 UTC
Created attachment 1405222 [details]
Print screens of the issue

Description of problem:
Via Webadmin try to extend a disk with MaxBlockDiskSize (8192G), 
'Extend size by(GB)' matching input box goes red & if you hover with the mouse over it you will see the following error message:

"This field must contain an integer number less than or equal to 0 " 
( see print screen attached.)

This error is misleading as actually, the disk is already in its max size so there should not be a possibility to extend it further.

Please fix the error to something clear like "Maximum size of disk already reached, cannot extend it further" or block the possibility to extend the disk once MaxBlockDiskSize is reached.

Version-Release number of selected component (if applicable):
4.2.2.2-0.1.el7

How reproducible:
100%

Steps to Reproduce:
1. Create a disk(block SD) with MaxBlockDiskSize (8192G) & attach it to a VM1
2. Via VM1 window edit the disk & try to extend it by 1G -> 'Extend size by(GB)' goes red & if you hover with the mouse over it you will see an error message.


Actual results:
The following error message appears :

"This field must contain an integer number less than or equal to 0 " ( see print screen attached.

This error is misleading as actually, the disk is already in its max size so there should not be a possibility to extend it further.

Expected results:
Please either:
- fix the error to something clear like "Maximum size of disk already reached, cannot extend it further" 
 
 or:

- block the possibility to extend the disk once MaxBlockDiskSize is reached.

Additional info:
Print screen attached

Comment 1 Sandro Bonazzola 2019-01-28 09:34:42 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 Avihai 2019-03-31 11:47:08 UTC
Verified at ovirt-engine 4.3.3.1-0.1.el7.

Comment 3 Sandro Bonazzola 2019-04-16 13:58:29 UTC
This bugzilla is included in oVirt 4.3.3 release, published on April 16th 2019.

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


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