ec2metadata should not add trailing / to requests

Bug #676144 reported by Scott Moser on 2010-11-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chris grzegorczyk
cloud-utils (Ubuntu)
eucalyptus (Ubuntu)

Bug Description

Binary package hint: cloud-utils

$ ec2metadata --local-ipv4
Failure: 500 Internal Server Error

That is verified on 10.04 and 10.10 guests.

The issue is that ec2metadata requests a url like:

eucalyptus does not handle the trailing / as EC2 does.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: cloud-utils 0.16ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Tue Nov 16 11:24:15 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
PackageArchitecture: all
 PATH=(custom, user)
SourcePackage: cloud-utils

Revision history for this message
Scott Moser (smoser) wrote :
Mathias Gug (mathiaz) on 2010-11-16
Changed in eucalyptus (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Scott Moser (smoser) on 2010-11-16
Changed in cloud-utils (Ubuntu):
importance: Undecided → Medium
status: New → Fix Committed
Changed in eucalyptus:
assignee: nobody → chris grzegorczyk (chris-grze)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-utils - 0.17ubuntu1

cloud-utils (0.17ubuntu1) natty; urgency=low

  * uec-publish-tarball: add --rename-[kernel,ramdisk,image] flags
  * add support for shorter syntax in uec-query-builds
  * fix ec2metadata under Eucalyptus (LP: #676144)
  * move write-mime-multipart from cloud-init to cloud-init-multipart
    in cloud-utils
 -- Scott Moser <email address hidden> Tue, 11 Jan 2011 09:40:28 -0500

Changed in cloud-utils (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Andy Grimm (agrimm) wrote :

This issue is now being tracked upstream at

Please watch that issue for further updates.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers