Would also like to see this fixed for karmic. Using python-vmbuilder 0.11.3-0ubuntu1 and the same error occurs when trying to use a 10G LVM volume as a --raw device. I assume this is the same bug.
Traceback (most recent call last):
File "/usr/bin/vmbuilder", line 29, in <module>
VMBuilder.run()
File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 65, in run
frontend.run()
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 66, in run
self.set_disk_layout(vm)
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 105, in set_disk_layout
disk.add_part(offset, vm.swapsize, 'swap', 'swap')
File "/usr/lib/python2.6/dist-packages/VMBuilder/disk.py", line 189, in add_part
raise Exception('Partition is out of bounds. start=%d, end=%d, disksize=%d' % (begin,end,self.size))
Exception: Partition is out of bounds. start=8192, end=10239, disksize=5120
Would also like to see this fixed for karmic. Using python-vmbuilder 0.11.3-0ubuntu1 and the same error occurs when trying to use a 10G LVM volume as a --raw device. I assume this is the same bug.
sudo vmbuilder kvm ubuntu --debug --verbose -m 2048 --raw=/ dev/mapper/ vg--storage- lv--chat_ root --rootsize=8G --swapsize=2G --suite=karmic ...
Traceback (most recent call last): vmbuilder" , line 29, in <module> python2. 6/dist- packages/ VMBuilder/ __init_ _.py", line 65, in run python2. 6/dist- packages/ VMBuilder/ plugins/ cli/__init_ _.py", line 66, in run set_disk_ layout( vm) python2. 6/dist- packages/ VMBuilder/ plugins/ cli/__init_ _.py", line 105, in set_disk_layout add_part( offset, vm.swapsize, 'swap', 'swap') python2. 6/dist- packages/ VMBuilder/ disk.py" , line 189, in add_part 'Partition is out of bounds. start=%d, end=%d, disksize=%d' % (begin, end,self. size))
File "/usr/bin/
VMBuilder.run()
File "/usr/lib/
frontend.run()
File "/usr/lib/
self.
File "/usr/lib/
disk.
File "/usr/lib/
raise Exception(
Exception: Partition is out of bounds. start=8192, end=10239, disksize=5120