ec2metadata service does not include 2011-01-01

Bug #827569 reported by Scott Moser
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Opinion
Wishlist
Unassigned
ec2-api
Confirmed
Wishlist
Unassigned

Bug Description

On EC2:
$ wget -q -O - http://169.254.169.254/; echo
1.0
2007-01-19
2007-03-01
2007-08-29
2007-10-10
2007-12-15
2008-02-01
2008-09-01
2009-04-04
2011-01-01
latest

on Openstack:
 wget -q -O - http://169.254.169.254/; echo
1.0
2007-01-19
2007-03-01
2007-08-29
2007-10-10
2007-12-15
2008-02-01
2008-09-01
2009-04-04

I noticed this when using 'ec2metadata'. I shoudl probably back of the api version for that, or use 'latest'. but it would be nice if 2011-01-01 was present.

Tags: ec2
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
Chuck Short (zulcss)
tags: added: ec2
Revision history for this message
Tom Fifield (fifieldt) wrote :

This is still the same in

Diablo Stable:
1.0 2007-01-19 2007-03-01 2007-08-29 2007-10-10 2007-12-15 2008-02-01 2008-09-01 2009-04-04

Essex:
1.0 2007-01-19 2007-03-01 2007-08-29 2007-10-10 2007-12-15 2008-02-01 2008-09-01 2009-04-04

and trunk.

Is there a huge different between 2011-01-01 and 2009-04-04 in terms of support ? Otherwise, it's trivial to add this URL to paste.

Revision history for this message
Tom Fifield (fifieldt) wrote :

OK, so it's a ~7700 line diff between 2011-01-01 and 2009-04-04

There's some new stuff in there, like types, min/max occurances, new elements ... I don't think OpenStack can claim to support this version of the API without a bunch of verification. At a quick glance, there's also some code in trunk nova/api/ec2/cloud.py for this version of the API that wouldn't be in 2009-04-04 ...

You can get WSDLs from:
 https://s3.amazonaws.com/ec2-downloads/2011-01-01.ec2.wsdl

 https://s3.amazonaws.com/ec2-downloads/2009-04-04.ec2.wsdl

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 827569] Re: ec2metadata service does not include 2011-01-01

On Wed, 23 May 2012, Tom Fifield wrote:

> OK, so it's a ~7700 line diff between 2011-01-01 and 2009-04-04

Hm...
   I think from your comment on "7700 line diff" that you're
misunderstanding this bug. The bug is that there is no entry in the EC2
metadata service, not the EC2 api.
>
> There's some new stuff in there, like types, min/max occurances, new
> elements ... I don't think OpenStack can claim to support this version
> of the API without a bunch of verification. At a quick glance, there's
> also some code in trunk nova/api/ec2/cloud.py for this version of the
> API that wouldn't be in 2009-04-04 ...
>
   The versions listed "supported" by nova are already not complete.
>
> You can get WSDLs from:
> https://s3.amazonaws.com/ec2-downloads/2011-01-01.ec2.wsdl
> https://s3.amazonaws.com/ec2-downloads/2009-04-04.ec2.wsdl

These explain the EC2 api, not the metadata service. Unfortunately, to my
knowledge the metadata service is mostly undocumented.

All that said, I'm working on the MD code right now for config-drive work,
so I might make an effort at this.

Revision history for this message
Michael Still (mikal) wrote :

Scott -- did you get anywhere with this one?

Revision history for this message
Scott Moser (smoser) wrote :

Michael, I never did more than open the bug. but here is some more data, including a "boto.utils.get_instance_metadata()' dump of a instance from today.

Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Michael Still (mikal) wrote :

Looking at the more recent EC2 versions, we seem to be missing values for:

mac
metrics
network
profile

Which doesn't seem too bad.

Revision history for this message
Sean Dague (sdague) wrote :

This wishlist bug has been open a year without any activity. I'm going to move it to "Opinion / Wishlist", which is an easily-obtainable queue of older requests that have come on. This bug can be reopened (set back to "New") if someone decides to work on this.

Changed in nova:
status: Confirmed → Opinion
Changed in ec2-api:
status: New → Confirmed
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.