[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
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/813295
Title:
oneiric images do not run in eucalyptus
Status in “python2.7” package in Ubuntu:
Confirmed
Bug description:
I've tried running an oneiric alpha2 image on 2 different eucalyptus
clouds (internal canonical, and public eucalyptus cloud). Both
instances have timed out on metadata service.
I really do not think this is a cloud-init bug at the moment, but am
opening it here until i find more information.
The images *did* run in alpha1.
One bit of possibly relevant information, both clouds are running the
oneiric kernel after kexec from a lucid era kernel using
https://code.launchpad.net/~smoser/+junk/kexec-loader .
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/813295/+subscriptions
More information about the foundations-bugs
mailing list