OpenStack Compute (Nova)

API responses do not conform tho Amazon EC2 specifications

Reported by Thorsten Tarrach on 2012-01-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Thorsten Tarrach

Bug Description

The commands AssociateAddress, DisassociateAddress and ReleaseAddress have responses that do not conform to the specification found here:
http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-AssociateAddress.html

For example AssociateAddress answers:
<AssociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2011-12-15/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
  <associateResponse><item>Address associated.</item></associateResponse>
</AssociateAddressResponse>

Answer should be:
<AssociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2011-12-15/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
  <return>true</return>
</AssociateAddressResponse>

Same goes for the other commands.

This causes the Amazon .net SDK not to be compatible with nova as it throws an exception when trying to parse the answer.

Brian Waldon (bcwaldon) on 2012-01-27
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium

Fix proposed to branch: master
Review: https://review.openstack.org/3571

Changed in nova:
assignee: nobody → Thorsten Tarrach (r-thorsten)
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/3571
Committed: http://github.com/openstack/nova/commit/553982fb8b7e2f8a90b7e873010452fe3b174018
Submitter: Jenkins
Branch: master

commit 553982fb8b7e2f8a90b7e873010452fe3b174018
Author: Thorsten Tarrach <email address hidden>
Date: Mon Jan 30 11:38:06 2012 +0100

    fixed bug 920856

    Changed the responses to match that of Amazon EC2
    Changed test to expect that response

    Change-Id: Ia03a0ea663614944067c0a0193058ba91e149ad2

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-02-29
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers