[Bug 403216] [NEW] vm-builder dies with: AttributeError: 'VM' object has no attribute 'ec2'

Jamie Strandboge jamie at ubuntu.com
Wed Jul 22 20:52:18 UTC 2009


Public bug reported:

Running the following command traces back:

$ vmbuilder kvm ubuntu --suite=hardy --dest=/home/jamie/vms/kvm/test12-hardy-i386 --hostname=test12-hardy-i386 --mirror=http://debmirror.local/ubuntu --rootsize=512 --swapsize=32 --kernel-flavour=386 --components=main,restricted,universe,multiverse --libvirt=qemu:///system --arch=i386 --exec=/tmp/vm-new-setup-h9vU6N --ssh-key=/home/jamie/.ssh/id_rsa.pub --user=jamie --mem=64 --addpkg=lsb-release --security-mirror=http://debmirror.local/ubuntu --debug
2009-07-22 15:40:43,136 DEBUG   : add_part - begin 0, length 512, end 511
2009-07-22 15:40:43,137 DEBUG   : add_part - begin 512, length 32, end 543
2009-07-22 15:40:43,137 DEBUG   : ip: dhcp
2009-07-22 15:40:43,138 DEBUG   : Checking if --exec PATH exists: /tmp/vm-new-setup-h9vU6N
2009-07-22 15:40:43,163 DEBUG   : ['locale-gen', 'en_US.UTF-8']
2009-07-22 15:40:43,766 DEBUG   : Generating locales...
2009-07-22 15:40:43,767 DEBUG   :   en_US.UTF-8... up-to-date
2009-07-22 15:40:43,768 DEBUG   : Generation complete.
2009-07-22 15:40:43,768 DEBUG   : Oh, dear, an exception occurred
2009-07-22 15:40:43,768 INFO    : Cleaning up
2009-07-22 15:40:43,769 DEBUG   : ['rm', '/tmp/tmpxvy2uN']
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 68, in run
    vm.create()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 476, in create
    self.preflight_check()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 426, in preflight_check
    self.call_hooks('preflight_check')
  File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 179, in call_hooks
    getattr(self.distro, func)()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 139, in preflight_check
    if self.vm.ec2:
AttributeError: 'VM' object has no attribute 'ec2'

ProblemType: Bug
Architecture: amd64
Date: Wed Jul 22 15:49:38 2009
DistroRelease: Ubuntu 9.10
Package: python-vm-builder 0.11-0ubuntu1
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-13.45-generic
SourcePackage: vm-builder
Uname: Linux 2.6.28-13-generic x86_64

** Affects: vm-builder (Ubuntu)
     Importance: High
         Status: New


** Tags: amd64 apport-bug regression-potential

-- 
vm-builder dies with: AttributeError: 'VM' object has no attribute 'ec2'
https://bugs.launchpad.net/bugs/403216
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list