+++ 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:
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