Bug 1087343

Summary: Disable "next" button in storage volumes page if the disk space is less then the minimum size(1295M)
Product: Red Hat Enterprise Virtualization Manager Reporter: cshao <cshao>
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 3.3.0CC: dfediuck, fdeutsch, gklein, gouyang, hadong, huiwa, iheim, jboggs, leiwang, mburns, mgoldboi, ovirt-bugs, ovirt-maint, rbalakri, rbarry, sherold, yaniwang, ycui, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: ovirt-node-3.0.1-18.el6_5.13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1087324
: 1120060 (view as bug list) Environment:
Last Closed: 2015-02-11 20:55:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1087324    
Bug Blocks: 1118297, 1120060, 1123329, 1142923, 1156165    
Attachments:
Description Flags
disk space
none
expection none

Description cshao 2014-04-14 08:57:58 UTC
Created attachment 886069 [details]
disk space

+++ This bug was initially created as a clone of Bug #1087324 +++

Description of problem:
In current build, the minimum required size of storage volumes are 1295M (UEFI:256 + Root & RootBackup: 512*2 + Swap:5 + Config:5 + Logging:5 + Data:0)

But if install the ovirt-node-iso to a small disk which size is less then 1295M(e.g. 100M), the installation will fail.

So disable "next" button in storage volumes page if the disk space is less then the minimum size(1295M) can avoid this issue.

Version-Release number of selected component (if applicable):
ovirt-node-iso-3.4-20140410.0.el6.iso

How reproducible:
100%

Steps to Reproduce:
1. Prepare a small size disk(e.g. 100M)
2. Install ovirt-node-iso to above disk.
3. Focus on storage volumes page.

Actual results:
Exception occurs: RuntimeError('Failed to partition/format',)

Expected results:
1. Disable "next" button in storage volumes page if the disk space is less then the minimum size(1295M)
2. Pop-up a warning info for user and stop the installation process.

Additional info:

Comment 1 cshao 2014-04-14 08:59:07 UTC
Created attachment 886070 [details]
expection

Comment 2 cshao 2014-04-14 09:00:34 UTC
The same issue occurs on downstream build rhevh-6.5-20140317.0, so clone to here.

Comment 5 cshao 2014-12-12 04:47:17 UTC
Test version:
rhevh-7.0-20141119.0.el7ev.iso
ovirt-node-3.1.0-0.27.20141119git24e087e.el7.noarch

rhev-hypervisor6-6.6-20141119.0.iso
ovirt-node-3.1.0-0.27.20141119git24e087e.el6.noarch

Test steps:
1. Prepare a small size disk(e.g. 100M)
2. Install ovirt-node-iso to above disk.
3. Focus on storage volumes page.

Test result:
1. Can't continue the installation.
2. Pop-up info "Not enough space! Need at least 1295MB for installation, 100MB abailable"

So the bug was fixed by above builds, change bug status to VERIFIED.

Comment 7 errata-xmlrpc 2015-02-11 20:55:36 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://rhn.redhat.com/errata/RHEA-2015-0160.html