Can not recognize reservation_id when creating instance

Bug #1693818 reported by Jeremy Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Undecided
Spencer Yu

Bug Description

Server create API supports passing reservation_id, so server will return the reservation_id binding to created instances. But the actual param that API accepts is "return_reservation_id" instead of "reservation_id". This should be considered.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Changed in python-novaclient:
assignee: nobody → Jeremy Liu (liujiong)
status: New → In Progress
Changed in python-novaclient:
assignee: Jeremy Liu (liujiong) → Spencer Yu (yushb)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

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

commit da44174c54d367e9ad3a2a4578fca1c6ad41c911
Author: Jeremy Liu <email address hidden>
Date: Fri May 26 22:54:15 2017 +0800

    Fix reservation_id not supported by Nova API

    Nova API accepts "return_reservation_id" instead of "reservation_id" when
    creating instances [1]. This patch fixed that.

    [1] https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/multiple_create.py#L19

    Change-Id: Ie58248aa1cd981b877c7e592db698faffcd01d9a
    Closes-bug: #1693818

Changed in python-novaclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-novaclient 10.0.0

This issue was fixed in the openstack/python-novaclient 10.0.0 release.

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.