Debian Bug report logs - #599464
euca2ools: euca-bundle-vol creates invalid bundled AMIs for Amazon EC2

version graph

Package: euca2ools; Maintainer for euca2ools is Debian Cloud team <team+cloud@tracker.debian.org>; Source for euca2ools is src:euca2ools (PTS, buildd, popcon).

Reported by: Miguel Landaeta <miguel@miguel.cc>

Date: Thu, 7 Oct 2010 18:06:02 UTC

Severity: important

Found in version euca2ools/1.2-1

Fixed in version 2.0.2-1

Done: Charles Plessy <plessy@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, miguel@miguel.cc, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#599464; Package euca2ools. (Thu, 07 Oct 2010 18:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to Miguel Landaeta <miguel@miguel.cc>:
New Bug report received and forwarded. Copy sent to miguel@miguel.cc, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Thu, 07 Oct 2010 18:06:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Miguel Landaeta <miguel@miguel.cc>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: euca2ools: euca-bundle-vol creates invalid bundled AMIs for Amazon EC2
Date: Thu, 7 Oct 2010 13:31:45 -0430
Subject: euca2ools: euca-bundle-vol creates invalid bundled AMIs for Amazon EC2
Package: euca2ools
Version: 1.2-1
Severity: important

Hi, 

I'm having problems bundling AMIs for Amazon EC2.
After registering an AMI generated with euca-bundle-vol, it
can't be started on Amazon EC2 since it goes from pending
state to terminated state. Unfortunately, there is no log
nor any error message.

I know Amazon EC2 is a paid service so it is not easy
to debug this but I can provide images and manifest files
for AMIs generated with euca2ools and with the official
Amazon tools. Maybe that can shed light on this issue.

Anyway, below are the commands that I'm using with euca2ools
and Amazon tools to bundle the AMIs:

* euca-bundle-vol command that generates an invalid AMI:
 sudo euca-bundle-vol \
  -r i386 \
  --kernel aki-407d9529 \
  -d /tmp \
  -p debian600_i386_2010100700 \
  -u MYUSERID \
  -k /tmp/pk.pem \
  -c /tmp/cert.pem \
  -s 10240 \
  -e /tmp
  --ec2cert /etc/ec2/amitools/cert-ec2.pem

* the same command (--ec2cert flag is not needed) with Amazon
  tools generates valid AMIs:
 sudo ec2-bundle-vol \
  -r i386 \
  --kernel aki-407d9529 \
  -d /tmp \
  -p debian600_i386_2010100700 \
  -u MYUSERID \
  -k /tmp/pk.pem \
  -c /tmp/cert.pem \
  -s 10240 \
  -e /tmp


If you need any more information, please let me know.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages euca2ools depends on:
ii  python                       2.6.6-3     interactive high-level object-orie
ii  python-boto                  1.9b-4      Python interface to Amazon's Web S
ii  python-central               0.6.16+nmu1 register and build utility for Pyt
ii  python-m2crypto              0.20.1-1+b1 a crypto and SSL toolkit for Pytho

euca2ools recommends no packages.

euca2ools suggests no packages.

-- no debconf information

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#599464; Package euca2ools. (Mon, 11 Oct 2010 02:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Mon, 11 Oct 2010 02:15:03 GMT) (full text, mbox, link).


Message #10 received at 599464@bugs.debian.org (full text, mbox, reply):

From: Charles Plessy <plessy@debian.org>
To: Miguel Landaeta <miguel@miguel.cc>, 599464@bugs.debian.org
Subject: Re: [pkg-eucalyptus-maintainers] Bug#599464: euca2ools: euca-bundle-vol creates invalid bundled AMIs for Amazon EC2
Date: Mon, 11 Oct 2010 11:13:30 +0900
Le Thu, Oct 07, 2010 at 01:31:45PM -0430, Miguel Landaeta a écrit :
> Subject: euca2ools: euca-bundle-vol creates invalid bundled AMIs for Amazon EC2
> 
> I'm having problems bundling AMIs for Amazon EC2.
> After registering an AMI generated with euca-bundle-vol, it
> can't be started on Amazon EC2 since it goes from pending
> state to terminated state. Unfortunately, there is no log
> nor any error message.

Dear Miguel,

thank you very much for all your reports.

Can you try to reproduce this problem euca2ools 1.3.1 ? You can obtain the
source of its Debian directory with the command ‘debcheckout euca2ools’.

As per the INSTALL file the package depends on m2crypto 0.20.2, but you can
force dpkg to use 0.20.1 with the ‘--force-depends-version’ option. I do not
know if the additions of 0.20.2 are necessary in that case. You can see the
diff with the following command:

svn diff http://svn.osafoundation.org/m2crypto/tags/0.20.1 http://svn.osafoundation.org/m2crypto/tags/0.20.2

In the worst case, it is easy to build a 0.20.2 version of m2crypto (I
doublechecked).

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#599464; Package euca2ools. (Tue, 12 Oct 2010 15:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Miguel Landaeta <miguel@miguel.cc>:
Extra info received and forwarded to list. Copy sent to Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Tue, 12 Oct 2010 15:51:03 GMT) (full text, mbox, link).


Message #15 received at 599464@bugs.debian.org (full text, mbox, reply):

From: Miguel Landaeta <miguel@miguel.cc>
To: Charles Plessy <plessy@debian.org>
Cc: 599464@bugs.debian.org
Subject: Re: [pkg-eucalyptus-maintainers] Bug#599464: euca2ools: euca-bundle-vol creates invalid bundled AMIs for Amazon EC2
Date: Tue, 12 Oct 2010 11:17:24 -0430
Hi Charles,

On Mon, Oct 11, 2010 at 11:13:30AM +0900, Charles Plessy wrote:
> Can you try to reproduce this problem euca2ools 1.3.1 ? You can obtain the
> source of its Debian directory with the command ‘debcheckout euca2ools’.

Sure, in fact my next step is to test the most recent
euca2ools version to check if I can reproduce this issue.

Thanks for the tips, I'll let you know what I find.

Cheers,

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#599464; Package euca2ools. (Wed, 13 Oct 2010 20:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Miguel Landaeta <miguel@miguel.cc>:
Extra info received and forwarded to list. Copy sent to Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Wed, 13 Oct 2010 20:36:03 GMT) (full text, mbox, link).


Message #20 received at 599464@bugs.debian.org (full text, mbox, reply):

From: Miguel Landaeta <miguel@miguel.cc>
To: Charles Plessy <plessy@debian.org>
Cc: 599464@bugs.debian.org
Subject: Re: [pkg-eucalyptus-maintainers] Bug#599464: euca2ools: euca-bundle-vol creates invalid bundled AMIs for Amazon EC2
Date: Wed, 13 Oct 2010 16:02:28 -0430
On Mon, Oct 11, 2010 at 11:13:30AM +0900, Charles Plessy wrote:
> Can you try to reproduce this problem euca2ools 1.3.1 ? You can obtain the
> source of its Debian directory with the command ‘debcheckout euca2ools’.
> 
> As per the INSTALL file the package depends on m2crypto 0.20.2, but you can
> [ ... ]

Unfortunately, I could reproduce this problem with euca2ools
1.3.1 and m2crypto 0.20.2.

The AMI bundled with euca2ools goes from pending to 
terminated state on Amazon EC2 when it is launched.

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#599464; Package euca2ools. (Wed, 13 Oct 2010 20:51:06 GMT) (full text, mbox, link).


Acknowledgement sent to Neil Soman <neil@eucalyptus.com>:
Extra info received and forwarded to list. Copy sent to Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Wed, 13 Oct 2010 20:51:06 GMT) (full text, mbox, link).


Message #25 received at 599464@bugs.debian.org (full text, mbox, reply):

From: Neil Soman <neil@eucalyptus.com>
To: Miguel Landaeta <miguel@miguel.cc>, 599464@bugs.debian.org
Cc: Charles Plessy <plessy@debian.org>
Subject: Re: [Debian] [pkg-eucalyptus-maintainers] Bug#599464: Bug#599464: euca2ools: euca-bundle-vol creates invalid bundled AMIs for Amazon EC2
Date: Wed, 13 Oct 2010 13:48:42 -0700
[Message part 1 (text/plain, inline)]
The only suggestion I can offer is to actually compare the image generated
by ec2-bundle-vol against the one generated by euca-bundle-vol. I'd be very
interested in knowing what the differences are.

thanks!
neil

On Wed, Oct 13, 2010 at 1:32 PM, Miguel Landaeta <miguel@miguel.cc> wrote:

> On Mon, Oct 11, 2010 at 11:13:30AM +0900, Charles Plessy wrote:
> > Can you try to reproduce this problem euca2ools 1.3.1 ? You can obtain
> the
> > source of its Debian directory with the command ‘debcheckout euca2ools’.
> >
> > As per the INSTALL file the package depends on m2crypto 0.20.2, but you
> can
> > [ ... ]
>
> Unfortunately, I could reproduce this problem with euca2ools
> 1.3.1 and m2crypto 0.20.2.
>
> The AMI bundled with euca2ools goes from pending to
> terminated state on Amazon EC2 when it is launched.
>
> --
> Miguel Landaeta, miguel at miguel.cc
> secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
> "Faith means not wanting to know what is true." -- Nietzsche
>
>
>
> _______________________________________________
> pkg-eucalyptus-maintainers mailing list
> pkg-eucalyptus-maintainers@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-eucalyptus-maintainers
>
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#599464; Package euca2ools. (Sun, 06 Mar 2011 20:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Garrett Holmstrom <gholms@fedoraproject.org>:
Extra info received and forwarded to list. Copy sent to Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Sun, 06 Mar 2011 20:06:03 GMT) (full text, mbox, link).


Message #30 received at 599464@bugs.debian.org (full text, mbox, reply):

From: Garrett Holmstrom <gholms@fedoraproject.org>
To: 599464@bugs.debian.org
Subject: Re: Bug#599464:, euca2ools: euca-bundle-vol creates invalid bundled AMIs for Amazon EC2
Date: Sun, 06 Mar 2011 12:02:20 -0800
FWIW, this bug was fixed upstream in January: 
https://bugs.launchpad.net/euca2ools/+bug/665667




Reply sent to Charles Plessy <plessy@debian.org>:
You have taken responsibility. (Tue, 21 Aug 2012 03:00:03 GMT) (full text, mbox, link).


Notification sent to Miguel Landaeta <miguel@miguel.cc>:
Bug acknowledged by developer. (Tue, 21 Aug 2012 03:00:03 GMT) (full text, mbox, link).


Message #35 received at 599464-done@bugs.debian.org (full text, mbox, reply):

From: Charles Plessy <plessy@debian.org>
To: samuel.hassine@anotherservice.com, 655560-done@bugs.debian.org, 599464-done@bugs.debian.org, Miguel Landaeta <miguel@miguel.cc>
Subject: Closing #655560 and #599464, fixed in euca2ools 2.0.2.
Date: Tue, 21 Aug 2012 11:56:57 +0900
Version: 2.0.2-1

Hello,

I guess that this bug is corrected in euca2ools 2.0.2, which is currently in
Wheezy.  Please do not hesitate to correct me and repoen the bug if I am wrong.
(I am only using EBS, so I have not tested euca-upload-bundle nor
euca-bundle-vol.)

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 21 Sep 2012 07:37:19 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 13:56:03 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.