Comment 11 for bug 813295

Revision history for this message
Scott Moser (smoser) wrote : Re: oneiric images do not run in eucalyptus

I'm attaching a simple reproducing test case.
My guess is that the issue is that the [lack of] headers that the Eucalyptus meta data service returns causes issues with python-urllib2.

This testcase works fine on alpha-1 and fails after upgrade.

Here are the differences in headers sent by EC2 (where it works) and Eucalyptus (where it fails):

=== EC2 Metadata Service ===
$ wget -S -q -O /dev/null http://169.254.169.254/latest/meta-data/instance-id
  HTTP/1.0 200 OK
  Content-Type: text/plain
  Accept-Ranges: bytes
  ETag: "3417059440"
  Last-Modified: Wed, 20 Jul 2011 19:41:04 GMT
  Content-Length: 10
  Connection: keep-alive
  Date: Wed, 20 Jul 2011 19:46:38 GMT
  Server: EC2ws

=== Eucalyptus Metadata Service ===
$ wget -S -q -O /dev/null http://169.254.169.254/latest/meta-data/instance-id
  HTTP/1.0 200 OK
  Content-Length: 10
  Content-Type: text/html