The wrong element is put into the client request body

Bug #1281342 reported by Haiwei Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Undecided
Haiwei Xu

Bug Description

In novaclient/v3/servers.py there are codes like:

 410 if reservation_id:
 411 body["server"][
 412 "os-multiple-create:reservation_id"] = reservation_id

In fact there server dosen't want "os-multiple-create:reservation_id", but "os-multiple-create:return_reservation_id".

This info can be found in https://wiki.openstack.org/wiki/NovaAPIv2tov3

Haiwei Xu (xu-haiwei)
Changed in python-novaclient:
assignee: nobody → Haiwei Xu (xu-haiwei)
Changed in python-novaclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/73994
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=aec2b6172a2ad78a80a1346f87cdb6b29b7acc12
Submitter: Jenkins
Branch: master

commit aec2b6172a2ad78a80a1346f87cdb6b29b7acc12
Author: Haiwei Xu <email address hidden>
Date: Tue Feb 18 04:09:44 2014 +0900

    Fix element miss in client request body

    Currently the client sends a request with wrong element name
    'os-multiple-create:reservation_id' in the body.
    The correct element should be 'os-multiple-create:return_reservation_id'.
    The information can be got in this website.
    https://wiki.openstack.org/wiki/NovaAPIv2tov3

    Change-Id: I7d2f006ef6dbbcd6b41c8adbeee0c0e048d35448
    Closes-Bug: #1281342

Changed in python-novaclient:
status: In Progress → Fix Committed
Michael Still (mikal)
Changed in python-novaclient:
milestone: none → 2.18.0
Michael Still (mikal)
Changed in python-novaclient:
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.