← Back to team overview

registry team mailing list archive

[Bug 617776] [NEW] DescribeImagesResponse contains type element, when it should be called imageType

 

Public bug reported:

The EC2 API specification states that the DescribeImagesResponse should
contain a field called imageType (taking the values machine, kernel, or
ramdisk).

http://docs.amazonwebservices.com/AWSEC2/latest/APIReference
/ApiReference-query-DescribeImages.html

Nova returns this field, but calls it "type" not "imageType".

euca-describe-images parses the field "type", but it looks like they
also acknowledge that this is out of spec.  From euca2ools/__init__.py:

        #type
        #TODO: fixme
        image_type_elem = doc.createElement("type")

We should return the correct value, and also include the old name, for
compatibility with euca2ools.

** Affects: nova
     Importance: Undecided
     Assignee: Ewan Mellor (ewanmellor)
         Status: In Progress

** Changed in: nova
       Status: New => In Progress

** Changed in: nova
     Assignee: (unassigned) => Ewan Mellor (ewanmellor)

-- 
DescribeImagesResponse contains type element, when it should be called imageType
https://bugs.launchpad.net/bugs/617776
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References