vmbuilder: --ec2-bundle triggers "AttributeError: 'Ubuntu' object has no attribute 'suite'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
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.run()
File "/home/
frontend.run()
File "/home/
vm.create()
File "/home/
self.
File "/home/
self.
File "/home/
getattr(plugin, func)()
File "/home/
self.
File "/home/
if self.suite.
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-
--manifest=
--lock-user \
--component
--part=
--ec2-bundle \
--ec2-upload \
--ec2-register \
--ec2-
--ec2-
--ec2-
--ec2-
--ec2-key=$pk \
--ec2-
--ec2-
--execscrip
--debug
ProblemType: Bug
Architecture: i386
Date: Mon Nov 23 04:58:10 2009
DistroRelease: Ubuntu 9.10
Ec2AMI: ami-1515f67c
Ec2AMIManifest: ubuntu-
Ec2Availability
Ec2InstanceType: c1.medium
Ec2Kernel: aki-5f15f636
Ec2Ramdisk: ari-0915f660
Package: python-vm-builder 0.11.3-0ubuntu1
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: vm-builder
Tags: ec2-images
Uname: Linux 2.6.31-302-ec2 i686
Changed in vm-builder (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | removed: ec2-images |