[Bug 505482] [NEW] euca-bundle-vol dies with "Invalid cert"

Eric Hammond ehammond at thinksome.com
Sun Jan 10 13:47:34 GMT 2010


Public bug reported:

Binary package hint: euca2ools

On a fresh copy of the latest 32-bit Ubuntu Lucid daily AMI

  ami-6a28c503
  ubuntu-images-testing-us/ubuntu-lucid-daily-i386-desktop-20100110.manifest.xml

I installed a copy of ec2-ami-tools (to get the EC2 certificate)

  echo "deb http://us.ec2.archive.ubuntu.com/ubuntu/ lucid multiverse" |
    sudo tee /etc/apt/sources.list.d/multiverse.list > /dev/null
  sudo apt-get update && sudo apt-get install -y ec2-ami-tools

And then I ran the following euca2ools command:

  sudo -E euca-bundle-vol           \
    -r $arch                             \
    -d /mnt                              \
    -p $prefix                           \
    -u $AWS_USER_ID                      \
    -k /mnt/pk-*.pem                     \
    -c /mnt/cert-*.pem                   \
    -s 10240                             \
    -e /mnt,/root/.ssh,/home/ubuntu/.ssh \
    --ec2cert /etc/ec2/amitools/cert-ec2.pem

This failed with the simple error:

  Invalid cert

Unfortunately, it's not telling me what cert is invalid. When I leave
off the --ec2cert option, it still gives the same error.

This exact same process works fine on an Ubuntu 9.10 Karmic AMI like

  ami-1515f67c
  ubuntu-images-us/ubuntu-karmic-9.10-i386-server-20091027.1.manifest.xml

This problem is preventing me from completing the testing of the fix in
bug 479823.

ProblemType: Bug
Architecture: i386
Date: Sun Jan 10 13:39:54 2010
DistroRelease: Ubuntu 10.04
Ec2AMI: ami-6a28c503
Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-lucid-daily-i386-desktop-20100110.manifest.xml
Ec2AvailabilityZone: us-east-1a
Ec2InstanceType: m1.small
Ec2Kernel: aki-60cb2609
Ec2Ramdisk: ari-e629c48f
Package: euca2ools 1.1~bzr238-0ubuntu2
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: User Name 2.6.32-301.4-ec2
SourcePackage: euca2ools
Tags: lucid ec2-images
Uname: Linux 2.6.32-301-ec2 i686

** Affects: euca2ools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug ec2-images i386 lucid

-- 
euca-bundle-vol dies with "Invalid cert"
https://bugs.launchpad.net/bugs/505482
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to euca2ools in ubuntu.



More information about the Ubuntu-server-bugs mailing list