install_kernel method no such method after upgrade to lucid

Bug #579701 reported by William King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
Expired
Low
Unassigned

Bug Description

2010-05-12 15:47:41,121 DEBUG : Setting up linux-firmware (1.26) ...
2010-05-12 15:47:41,126 DEBUG : Setting up linux-image-server (2.6.31.21.34) ...
2010-05-12 15:47:41,143 DEBUG : Calling install_kernel method in context plugin VMBuilder.plugins.kvm.vm.
2010-05-12 15:47:41,143 DEBUG : No such method
2010-05-12 15:47:41,144 INFO : Calling hook: unmount_partitions
2010-05-12 15:47:41,144 DEBUG : (args=(), kwargs={})
2010-05-12 15:47:41,144 DEBUG : Calling unmount_partitions method in VMBuilder.plugins.libvirt plugin.
2010-05-12 15:47:41,144 DEBUG : No such method
2010-05-12 15:47:41,145 DEBUG : Calling unmount_partitions method in VMBuilder.plugins.network plugin.
2010-05-12 15:47:41,145 DEBUG : No such method
2010-05-12 15:47:41,145 DEBUG : Calling unmount_partitions method in VMBuilder.plugins.ubuntu.distro plugin.
2010-05-12 15:47:41,145 DEBUG : No such method
2010-05-12 15:47:41,145 DEBUG : Calling unmount_partitions method in context plugin VMBuilder.plugins.kvm.vm.
2010-05-12 15:47:41,146 INFO : Unmounting target filesystem
2010-05-12 15:47:41,146 DEBUG : Unmounting /tmp/tmpEDT5tL/
2010-05-12 15:47:41,146 DEBUG : ['umount', '/tmp/tmpEDT5tL/']
2010-05-12 15:47:46,245 DEBUG : ['kpartx', '-d', '/tmp/tmpcybKao']
2010-05-12 15:47:46,371 DEBUG : loop deleted : /dev/loop0
2010-05-12 15:47:46,372 DEBUG : ['kpartx', '-d', '/tmp/tmpcybKao']
2010-05-12 15:47:46,379 DEBUG : Changing ownership of /mnt/kvm/virtservers/openbravo2 to root
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 119, in main
    self.fix_ownership(destdir)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 136, in fix_ownership
    os.chown(filename, uid, gid)
OSError: [Errno 1] Operation not permitted: '/mnt/kvm/virtservers/openbravo2'
error: failed to get domain 'openbravo2'
error: Domain not found: no domain with matching name 'openbravo2'

sudo vmbuilder kvm ubuntu --debug -v --suite karmic --config /mnt/kvm/scripts/.vmbuilder.cfg --dest /mnt/kvm/virtservers/openbravo2 --hostname openbravo2

Revision history for this message
Chuck Short (zulcss) wrote :

I was unable to reproduce this, which version are you using?

Regards
chuck

Changed in vm-builder (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for vm-builder (Ubuntu) because there has been no activity for 60 days.]

Changed in vm-builder (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.