[Bug 539460] Re: Hardy images fail to build with 0.12.2-0ubuntu3

2010-06-09 Thread Gunnar Thielebein
I tried to apply the patch from above link to lucids current package:

$ cd /usr/lib/python2.5/site-packages
$ patch -p0  ~/436_435.diff

Error message still comes up with TEST CASE:

Traceback (most recent call last):
  File /usr/bin/vmbuilder, line 24, in module
cli.main()
  File /usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py, line 116, 
in main
hypervisor.install_os()
  File /usr/lib/python2.6/dist-packages/VMBuilder/hypervisor.py, line 68, in 
install_os
self.call_hooks('install_bootloader', self.chroot_dir, self.disks)
  File /usr/lib/python2.6/dist-packages/VMBuilder/distro.py, line 66, in 
call_hooks
call_hooks(self, *args, **kwargs)
  File /usr/lib/python2.6/dist-packages/VMBuilder/util.py, line 158, in 
call_hooks
getattr(plugin, func, log_no_such_method)(*args, **kwargs)
  File /usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py, 
line 222, in install_bootloader
self.suite.install_menu_lst(disks)
  File /usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py, 
line 211, in install_menu_lst
self.mangle_grub_menu_lst(disks)
  File /usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/edgy.py, 
line 33, in mangle_grub_menu_lst
run_cmd('sed', '-ie', 's/^# kopt=root=\([^ ]*\)\(.*\)/# 
kopt=root=UUID=%s\\2/g' % bootdev.fs.uuid, '%s/boot/grub/menu.lst' % 
self.destdir)
AttributeError: 'Hardy' object has no attribute 'destdir'

-- 
Hardy images fail to build with 0.12.2-0ubuntu3 
https://bugs.launchpad.net/bugs/539460
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 539460] Re: Hardy images fail to build with 0.12.2-0ubuntu3

2010-06-09 Thread Gunnar Thielebein
Thanks Kevin pointing that out,

after patching against the correct python version I am a bit further but
still not completed:

  File /usr/lib/python2.6/dist-packages/VMBuilder/util.py, line 120, in 
run_cmd
raise VMBuilderException, Process (%s) returned %d. stdout: %s, stderr: 
%s % (args.__repr__(), status, mystdout.buf, mystderr.buf)
VMBuilder.exception.VMBuilderException: Process (['kpartx', '-av', 
'/tmp/tmpK_gMPL']) returned 1. stdout: , stderr: mount: could not find any free 
loop deviceBad address
can't set up loop

-- 
Hardy images fail to build with 0.12.2-0ubuntu3 
https://bugs.launchpad.net/bugs/539460
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 539460] Re: Hardy images fail to build with 0.12.2-0ubuntu3

2010-07-10 Thread Gunnar Thielebein
@Adam, sorry for some reason I missed notification. Issue does not show
up when patch is applied to correct python version. Issue with stalled
loop devices is described in #592236 .

-- 
Hardy images fail to build with 0.12.2-0ubuntu3 
https://bugs.launchpad.net/bugs/539460
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs