Bug 1094622

Summary: ovirt-node iso auto install failed during create_hostvg for iscsi boot
Product: [Retired] oVirt Reporter: haiyang,dong <hadong>
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.4CC: bsarathy, cboyle, cshao, dfediuck, fdeutsch, gklein, gouyang, hadong, huiwa, jboggs, leiwang, mgoldboi, ovirt-bugs, ovirt-maint, rbalakri, tlavigne, ycui, yeylon
Target Milestone: ---Keywords: TestBlocker
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1008377 Environment:
Last Closed: 2014-10-17 12:29: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:
Bug Depends On: 1008377    
Bug Blocks:    

Description haiyang,dong 2014-05-06 07:21:37 UTC
+++ This bug was initially created as a clone of Bug #1008377 +++

Description of problem:
RHEV-H auto install failed during create_hostvg for iscsi boot with the follow parameter:
BOOTIF=eth0 storage_init=/dev/vda,/dev/sda iscsi_init=/dev/sda iscsi_target_name=iqn.2013-01.com:hadong iscsi_install iscsi_server=10.66.11.127:3260 firstboot

it auto install failed with follow infoseen ovirt-node.log.png)
parted "/dev/mapper/1IET_00010001" -s "mkpart primary ext2 512M -1"
Error:You requested a partition from 512MB to 32.2GB
The closest location we can manage is 1024MB to 32.2GB

Maybe change the follow code can resole this issue.
[root@agent2 ovirtnode]# diff storage.py storage.py.backup 
436,437c436
<                                   "primary ext2 " + str(self.ROOT_SIZE * 2) +
<                                   " -1\"")
---
>                                   "primary ext2 512M -1\"")


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

How reproducible:
100%

Steps to Reproduce:


Actual results:


Expected results:


Additional info:

Comment 1 haiyang,dong 2014-05-06 07:25:39 UTC
This bug has been fixed in ovirt-node downstream version:
rhev-hypervisor6-6.5-20131017.0.iso
ovirt-node-3.0.1-4.el6

but still could reproduce it in ovirt-node upstream version:
ovirt-node-iso-3.4-20140423.1.el6.iso
ovirt-node-3.0.4-1.0.el6.noarch

Comment 2 haiyang,dong 2014-05-15 08:22:55 UTC
this issue still could be reproduced in the follow version:
http://fedorapeople.org/~fabiand/node/3.0.5-beta/ovirt-node-base-image-3.0.4-20140512.0.iso
ovirt-node-3.0.5-1.0.el6.noarch

Comment 5 Sandro Bonazzola 2014-10-17 12:29:29 UTC
oVirt 3.5 has been released and should include the fix for this issue.