AllocateAddress returns incompatible tags
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" ?>
|<AllocateAddre
|<requestId>
|<addressSet>
|<item>
| <publicIp>
|</item>
|</addressSet>
|</AllocateAddr
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
- Vish Ishaya (community): Approve
- Devin Carlen (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiednova/api/ec2/cloud.py (+1/-1)
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
I think that this is a trivial fix, and I'm changing the state to In Progress and posting a merge proposal.
Thanks,
-Masanori