Public bug reported: This problem happens using vmbuilder on trunk.
When I specify --ec2-bundle (see entire command below) and I do not specify --ec2-kernel and --ec2-ramdisk, then the following error is generated: 2009-11-23 04:32:58,233 DEBUG : Oh, dear, an exception occurred 2009-11-23 04:32:58,233 INFO : Cleaning up 2009-11-23 04:32:58,233 DEBUG : ['rm', '/tmp/tmpPD5Esu'] Traceback (most recent call last): File "vmbuilder/vmbuilder", line 29, in <module> VMBuilder.run() File "/home/ubuntu/vmbuilder/VMBuilder/__init__.py", line 65, in run frontend.run() File "/home/ubuntu/vmbuilder/VMBuilder/plugins/cli/__init__.py", line 68, in run vm.create() File "/home/ubuntu/vmbuilder/VMBuilder/vm.py", line 477, in create self.preflight_check() File "/home/ubuntu/vmbuilder/VMBuilder/vm.py", line 427, in preflight_check self.call_hooks('preflight_check') File "/home/ubuntu/vmbuilder/VMBuilder/vm.py", line 178, in call_hooks getattr(plugin, func)() File "/home/ubuntu/vmbuilder/VMBuilder/plugins/ec2/__init__.py", line 82, in preflight_check self.vm.ec2_kernel = self.vm.distro.get_ec2_kernel() File "/home/ubuntu/vmbuilder/VMBuilder/plugins/ubuntu/distro.py", line 219, in get_ec2_kernel if self.suite.ec2_kernel_info: AttributeError: 'Ubuntu' object has no attribute 'suite' Here's the full vmbuilder command: sudo vmbuilder/vmbuilder xen ubuntu \ --suite=karmic \ --arch=i386 \ --dest=$dest \ --tmp=/mnt \ --ec2 \ --ec2-version="$description" \ --manifest=/mnt/$prefix \ --lock-user \ --components="main,restricted,universe,multiverse" \ --part=part-${arch}.txt \ --ec2-bundle \ --ec2-upload \ --ec2-register \ --ec2-bucket=$bucket \ --ec2-prefix=$prefix \ --ec2-user=$AWS_USER_ID \ --ec2-cert=$cert \ --ec2-key=$pk \ --ec2-access-key=$AWS_ACCESS_KEY_ID \ --ec2-secret-key=$AWS_SECRET_ACCESS_KEY \ --execscript=$(pwd)/setup-karmic-server \ --debug ProblemType: Bug Architecture: i386 Date: Mon Nov 23 04:58:10 2009 DistroRelease: Ubuntu 9.10 Ec2AMI: ami-1515f67c Ec2AMIManifest: ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20091027.1.manifest.xml Ec2AvailabilityZone: us-east-1a Ec2InstanceType: c1.medium Ec2Kernel: aki-5f15f636 Ec2Ramdisk: ari-0915f660 Package: python-vm-builder 0.11.3-0ubuntu1 PackageArchitecture: all ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: User Name 2.6.31-302.7-ec2 SourcePackage: vm-builder Tags: ec2-images Uname: Linux 2.6.31-302-ec2 i686 ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug ec2-images i386 -- vmbuilder: --ec2-bundle triggers "AttributeError: 'Ubuntu' object has no attribute 'suite'" https://bugs.launchpad.net/bugs/486956 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs