In current Natty, I get a slightly different version of this (output below). The same error occurs, but at the cleaning up step. The "make_vm.sh" blow contains the same vmbuilder command as above. Should this be raised as a separate bug?
Thanks, Richard (example run) user@host:~$ ./make_vm.sh 2011-06-08 13:11:13,044 INFO : Calling hook: preflight_check 2011-06-08 13:11:13,046 INFO : Calling hook: set_defaults 2011-06-08 13:11:13,046 INFO : Calling hook: bootstrap 2011-06-08 13:14:02,506 INFO : Calling hook: configure_os 2011-06-08 13:14:27,787 INFO : Updating certificates in /etc/ssl/certs... WARNING: Skipping duplicate certificate brasil.gov.br.pem 2011-06-08 13:14:27,787 INFO : 141 added, 0 removed; done. 2011-06-08 13:14:27,790 INFO : Running hooks in /etc/ca-certificates/update.d....done. 2011-06-08 13:14:28,450 INFO : Creating SSH2 RSA key; this may take some time ... 2011-06-08 13:14:28,655 INFO : Creating SSH2 DSA key; this may take some time ... 2011-06-08 13:14:28,660 INFO : Creating SSH2 ECDSA key; this may take some time ... 2011-06-08 13:14:28,743 INFO : 2011-06-08 13:14:28,743 INFO : Warning: Fake initctl called, doing nothing 2011-06-08 13:14:28,744 INFO : 2011-06-08 13:14:28,744 INFO : Warning: Fake initctl called, doing nothing 2011-06-08 13:14:29,658 INFO : 2011-06-08 13:14:29,659 INFO : Current default time zone: 'Etc/UTC' 2011-06-08 13:14:29,665 INFO : Local time is now: Wed Jun 8 03:14:29 UTC 2011. 2011-06-08 13:14:29,666 INFO : Universal Time is now: Wed Jun 8 03:14:29 UTC 2011. 2011-06-08 13:14:29,666 INFO : 2011-06-08 13:14:35,096 INFO : gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmas...@ubuntu.com>" not changed 2011-06-08 13:14:35,099 INFO : gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdim...@ubuntu.com>" not changed 2011-06-08 13:14:35,099 INFO : gpg: Total number processed: 2 2011-06-08 13:14:35,099 INFO : gpg: unchanged: 2 2011-06-08 13:14:35,686 INFO : 2011-06-08 13:14:35,687 INFO : Current default time zone: 'Etc/UTC' 2011-06-08 13:14:35,694 INFO : Local time is now: Wed Jun 8 03:14:35 UTC 2011. 2011-06-08 13:14:35,694 INFO : Universal Time is now: Wed Jun 8 03:14:35 UTC 2011. 2011-06-08 13:14:35,694 INFO : Run 'dpkg-reconfigure tzdata' if you wish to change it. 2011-06-08 13:14:35,694 INFO : 2011-06-08 13:14:41,491 INFO : Calling hook: post_install 2011-06-08 13:14:41,493 INFO : Cleaning up 2011-06-08 13:14:41,496 INFO : Calling hook: preflight_check 2011-06-08 13:14:42,506 INFO : Calling hook: configure_networking 2011-06-08 13:14:42,528 INFO : Calling hook: configure_mounting 2011-06-08 13:14:42,533 INFO : Calling hook: mount_partitions 2011-06-08 13:14:42,533 INFO : Mounting target filesystems 2011-06-08 13:14:42,533 INFO : Creating disk image: "/tmp/tmpVCe1ie" of size: 12001MB 2011-06-08 13:14:42,542 INFO : Adding partition table to disk image: /tmp/tmpVCe1ie 2011-06-08 13:14:42,563 INFO : Adding type 4 partition to disk image: /tmp/tmpVCe1ie 2011-06-08 13:14:42,564 INFO : Partition at beginning of disk - reserving first cylinder 2011-06-08 13:14:42,585 INFO : Adding type 3 partition to disk image: /tmp/tmpVCe1ie 2011-06-08 13:14:42,596 INFO : [0] ../../libparted/filesys.c:148 (ped_file_system_type_get): File system alias linux-swap(new) is deprecated 2011-06-08 13:14:42,606 INFO : Creating loop devices corresponding to the created partitions 2011-06-08 13:14:42,620 INFO : Creating file systems 2011-06-08 13:14:42,627 INFO : mke2fs 1.41.14 (22-Dec-2010) 2011-06-08 13:14:42,970 INFO : mkswap: /dev/mapper/loop0p2: warning: don't erase bootbits sectors 2011-06-08 13:14:42,970 INFO : on whole disk. Use -f to force. 2011-06-08 13:14:43,037 INFO : Creating disk image: "/tmp/tmp4Jlk2G" of size: 20001MB 2011-06-08 13:14:43,048 INFO : Adding partition table to disk image: /tmp/tmp4Jlk2G 2011-06-08 13:14:43,070 INFO : Adding type 4 partition to disk image: /tmp/tmp4Jlk2G 2011-06-08 13:14:43,071 INFO : Partition at beginning of disk - reserving first cylinder 2011-06-08 13:14:43,087 INFO : Creating loop devices corresponding to the created partitions 2011-06-08 13:14:43,095 INFO : Creating file systems 2011-06-08 13:14:43,102 INFO : mke2fs 1.41.14 (22-Dec-2010) 2011-06-08 13:14:43,105 INFO : warning: 128 blocks unused. 2011-06-08 13:14:43,106 INFO : 2011-06-08 13:14:45,290 INFO : Calling hook: install_bootloader 2011-06-08 13:14:50,161 INFO : Searching for GRUB installation directory ... found: /boot/grub 2011-06-08 13:14:50,229 INFO : Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0 2011-06-08 13:14:50,230 INFO : Searching for GRUB installation directory ... found: /boot/grub 2011-06-08 13:14:50,234 INFO : Testing for an existing GRUB menu.lst file ... 2011-06-08 13:14:50,234 INFO : 2011-06-08 13:14:50,234 INFO : Could not find /boot/grub/menu.lst file. 2011-06-08 13:14:50,235 INFO : Generating /boot/grub/menu.lst 2011-06-08 13:14:50,375 INFO : Searching for splash image ... none found, skipping ... 2011-06-08 13:14:50,650 INFO : grep: /boot/config*: No such file or directory 2011-06-08 13:14:50,817 INFO : Updating /boot/grub/menu.lst ... done 2011-06-08 13:14:50,817 INFO : 2011-06-08 13:14:51,024 INFO : Searching for GRUB installation directory ... found: /boot/grub 2011-06-08 13:14:51,089 INFO : Searching for default file ... found: /boot/grub/default 2011-06-08 13:14:51,100 INFO : Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst 2011-06-08 13:14:51,353 INFO : Searching for splash image ... none found, skipping ... 2011-06-08 13:14:51,387 INFO : grep: /boot/config*: No such file or directory 2011-06-08 13:14:51,563 INFO : Updating /boot/grub/menu.lst ... done 2011-06-08 13:14:51,563 INFO : 2011-06-08 13:14:51,630 INFO : Searching for GRUB installation directory ... found: /boot/grub 2011-06-08 13:14:51,653 INFO : Calling hook: install_kernel 2011-06-08 13:15:10,539 INFO : Done. 2011-06-08 13:15:12,745 INFO : Running depmod. 2011-06-08 13:15:12,804 INFO : update-initramfs: Generating /boot/initrd.img-2.6.38-8-virtual 2011-06-08 13:15:16,654 INFO : Running postinst hook script /usr/sbin/update-grub. 2011-06-08 13:15:16,742 INFO : Searching for GRUB installation directory ... found: /boot/grub 2011-06-08 13:15:16,824 INFO : Searching for default file ... found: /boot/grub/default 2011-06-08 13:15:16,833 INFO : Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst 2011-06-08 13:15:17,078 INFO : Searching for splash image ... none found, skipping ... 2011-06-08 13:15:17,188 INFO : Found kernel: /boot/vmlinuz-2.6.38-8-virtual 2011-06-08 13:15:17,406 INFO : Replacing config file /var/run/grub/menu.lst with new version 2011-06-08 13:15:17,443 INFO : Updating /boot/grub/menu.lst ... done 2011-06-08 13:15:17,443 INFO : 2011-06-08 13:15:17,565 INFO : Examining /etc/kernel/postinst.d. 2011-06-08 13:15:17,567 INFO : run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-8-virtual /boot/vmlinuz-2.6.38-8-virtual 2011-06-08 13:15:17,604 INFO : Calling hook: unmount_partitions 2011-06-08 13:15:17,605 INFO : Unmounting target filesystem 2011-06-08 13:15:24,335 INFO : Calling hook: convert 2011-06-08 13:15:24,335 INFO : Converting /tmp/tmpVCe1ie to qcow2, format /mnt/kvm-mediatomb/tmpVCe1ie.qcow2 2011-06-08 13:15:30,703 INFO : Calling hook: fix_ownership 2011-06-08 13:15:30,704 INFO : Converting /tmp/tmp4Jlk2G to qcow2, format /mnt/kvm-mediatomb/tmp4Jlk2G.qcow2 2011-06-08 13:15:38,939 INFO : Calling hook: fix_ownership 2011-06-08 13:15:38,940 INFO : Calling hook: deploy 2011-06-08 13:15:38,951 INFO : Cleaning up Traceback (most recent call last): File "/usr/bin/vmbuilder", line 24, in <module> cli.main() File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 227, in main hypervisor.finalise(destdir) File "/usr/lib/python2.7/dist-packages/VMBuilder/hypervisor.py", line 78, in finalise self.call_hooks('deploy', destdir) File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, in call_hooks call_hooks(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 158, in call_hooks getattr(plugin, func, log_no_such_method)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/libvirt/__init__.py", line 80, in deploy if hostname in self.all_domains() and not self.vm.overwrite: AttributeError: 'Libvirt' object has no attribute 'vm' user@host:~$ -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/562189 Title: AttributeError: 'Libvirt' object has no attribute 'vm' -- 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