Bug 1113026

Summary: The installation failed if user set "other device" to the same as with the installation device
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: medium    
Version: 3.4.0CC: aberezin, cshao, dfediuck, fdeutsch, gklein, gouyang, hadong, huiwa, iheim, jboggs, leiwang, rbarry, yaniwang, ycui
Target Milestone: ---Keywords: Regression
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 20:59:29 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:
Attachments:
Description Flags
install failed none

Description cshao 2014-06-25 10:02:57 UTC
Created attachment 912015 [details]
install failed

Description of problem:
If user set "other device" to the same as with the installation device, it will lead installation failed.

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20140624.0.el6ev
ovirt-node-3.0.1-18.el6_5.11.noarch.

How reproducible:
100%

Steps to Reproduce:
1. Boot from PXE and install the RHEV-H to a machine which have 10G device.
2. Enter "select the disk to use for installation of RHEV-H" page.
3. Select /dev/sda (e.g. 10G)
4. Enter "other device" page and input /dev/sda, continue.
5. Enter "Storage Volumes" page and press continue button.
6. Finish the installation.
7. Please see attachment for more details. 

Actual results:
In step5, device size show as 20G
In step6, exception: RuntimeError('Failed to partition/format')

Expected results:
In step5, device size show as 10G
In step6, the installation can successful

Additional info:

Comment 1 Doron Fediuck 2014-06-26 07:07:52 UTC
Is this a regression?

Comment 2 cshao 2014-06-26 08:02:41 UTC
(In reply to Doron Fediuck from comment #1)
> Is this a regression?

Test version:
rhev-hypervisor6-6.5-20131115.0.3.2.el6_5 (ovirt-node-2.5.0-17.el6_4.14)
rhev-hypervisor6-6.5-20140407.0.el6ev (ovirt-node-3.0.1-18.el6_5.8)

Test result:
No such issue with rhev-hypervisor6-6.5-20131115.0.3.2.el6_5 (ovirt-node-2.5.0-17.el6_4.14)

rhev-hypervisor6-6.5-20140407.0.el6ev (ovirt-node-3.0.1-18.el6_5.8) has the same issue.

So it is a regression bug from ovirt-node2.5 to ovirt-node 3.0.

Comment 4 Fabian Deutsch 2014-07-24 16:03:07 UTC
This is a mass change, moving bugs of merged patches into MODIFIED.

Please correct the state, if you think that the move was not justified.

Comment 5 cshao 2014-12-12 04:37:29 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. Boot from PXE and install the RHEV-H to a machine which have 10G device.
2. Enter "select the disk to use for installation of RHEV-H" page.
3. Select /dev/sda (e.g. 10G)
4. Enter "other device" page and input /dev/sda, 
5. Try to press save button

Test result:
1. After step 4, it pop-up "/dev/sda is already selected".
2. The save button is disable.

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

Comment 7 errata-xmlrpc 2015-02-11 20:59:29 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