AllocateAddress returns incompatible tags

Bug #751176 reported by Masanori Itoh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Masanori Itoh

Bug Description

Hi,

Another (a bit minor) compatibility issue.

Currently, nova-api returns AllocateAddress response like the following.

|<?xml version="1.0" ?>
|<AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-11-30/">
|<requestId>M3RLC3T5UCKVEKN2JSG8</requestId>
|<addressSet>
|<item>
| <publicIp>10.6.0.0</publicIp>
|</item>
|</addressSet>
|</AllocateAddressResponse>

But, <addressSet> tag is not defined in EC2 API 2009-11-30
nor in 2011-02-28(latest version), and some Amazon EC2 Java library which does strict syntax checking get errors.
Just returning a <publicIP> is correct.

Please note that this is about <addressSet>, not <addressesSet>
which is defined for DescribeAddresses response(singular or plural).

I will push a fix soon.

Related branches

Revision history for this message
Masanori Itoh (itohm) wrote :

I think that this is a trivial fix, and I'm changing the state to In Progress and posting a merge proposal.
Thanks,
-Masanori

Changed in nova:
assignee: nobody → Masanori Itoh (itoumsn)
status: New → In Progress
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Medium
Masanori Itoh (itohm)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
status: Fix Committed → Fix Released
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.