[Bug 813295] Re: oneiric images do not run in eucalyptus

Scott Moser smoser at canonical.com
Wed Jul 20 19:47:56 UTC 2011


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


** Attachment added: "testcase showing the problem."
   https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/813295/+attachment/2221750/+files/urllib2-test-md.py

** Package changed: cloud-init (Ubuntu) => python2.7 (Ubuntu)

** Changed in: python2.7 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/813295

Title:
  oneiric images do not run in eucalyptus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/813295/+subscriptions



More information about the Ubuntu-server-bugs mailing list