Bug 1094622 - ovirt-node iso auto install failed during create_hostvg for iscsi boot
Summary: ovirt-node iso auto install failed during create_hostvg for iscsi boot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-node
Version: 3.4
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 3.5.0
Assignee: Fabian Deutsch
QA Contact: bugs@ovirt.org
URL:
Whiteboard: node
Depends On: 1008377
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-06 07:21 UTC by haiyang,dong
Modified: 2016-02-10 19:39 UTC (History)
18 users (show)

Fixed In Version:
Clone Of: 1008377
Environment:
Last Closed: 2014-10-17 12:29:29 UTC
oVirt Team: Node
Embargoed:


Attachments (Terms of Use)

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.


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