[pkg-eucalyptus-maintainers] Bug#599464: euca2ools: euca-bundle-vol creates invalid bundled AMIs for Amazon EC2

Miguel Landaeta miguel at miguel.cc
Thu Oct 7 18:01:45 UTC 2010


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





More information about the pkg-eucalyptus-maintainers mailing list