[Bug 576501] Re: vmbuilder doesn't recognize --ec2 flag

Henrik Bach 576501 at bugs.launchpad.net
Mon Apr 18 18:12:57 UTC 2011


Hi Serge!

I acknowledge your point of view and more thorough insight into
vmbuilder than me. What can I do to help you?

-Henrik

On Mon, Apr 18, 2011 at 7:19 PM, Serge Hallyn <576501 at bugs.launchpad.net> wrote:
> Thanks for testing, Henrik.  But is there any way you could test
> on a natty system?  Your failure looks to be due to a different
> bug, and my test just now in a maverick container also failed,
> differently from yours.  But on two different natty systems it
> has succeeded (using your exact commandline, and also using
> --ec2-bundle).  I'd like to get the fix upstream first, and then
> figure out what needs to be done to backport it.
>
> In fact, a simple
> vmbuilder kvm ubuntu --suite=lucid  \
> --mirror=http://10.42.43.65:3142/us.archive.ubuntu.com/ubuntu/ --debug
>
> failed for me.  So that is unrelated to --ec2
>
> -serge
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/576501
>
> Title:
>  vmbuilder doesn't recognize --ec2 flag
>
> Status in Virtual Machine Builder:
>  New
> Status in “vm-builder” package in Ubuntu:
>  In Progress
>
> Bug description:
>  Description:    Ubuntu 10.04 LTS
>  Release:        10.04
>
>  python-vm-builder-ec2:
>    Installed: 0.12.3-0ubuntu1
>    Candidate: 0.12.3-0ubuntu1
>    Version table:
>   *** 0.12.3-0ubuntu1 0
>          500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid/universe Packages
>          100 /var/lib/dpkg/status
>
>  Hi,
>
>  I can't generate EC2 images with vmbuilder. I'm using a command like
>  this:
>
>  sudo vmbuilder xen ubuntu --suite=lucid --ec2 \
>  --ec2-cert=.ec2/cert-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.pem \
>  --ec2-key=.ec2/pk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.pem \
>  --ec2-access-key=WHATEVER \
>  --ec2-secret-key=WHATEVER \
>  --ec2-user=424242424242 --ec2-bucket=anyrandombucket --ec2-prefix=test \
>  --ec2-version='first' \
>  --firstboot=/usr/share/doc/python-vm-builder-ec2/examples/ec2-firstboot.sh \
>  --part=/usr/share/doc/python-vm-builder-ec2/examples/ec2-i386-part-file.txt \
>  --debug
>
>  Actually, I was following this howto:
>  https://wiki.ubuntu.com/EC2Vmbuilder
>
>  When I run vmbuilder with those flags, I just get this message:
>
>  Usage: vmbuilder hypervisor distro [options]
>
>  vmbuilder: error: no such option: --ec2
>
>  So, I can not build images for Amazon EC2.
>
>  I inspected /usr/share/pyshared/VMBuilder/plugins/ec2/__init__.py and I found
>  at the last line of that file this:
>
>  #register_plugin(EC2)
>
>  I uncommented that line and it didn't work.
>  Also I tried using register_hypervisor_plugin(EC2), but it didn't work

-- 
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/576501

Title:
  vmbuilder doesn't recognize --ec2 flag



More information about the Ubuntu-server-bugs mailing list