[v2] Can't recognize paramter **id** for image create

Bug #1366515 reported by Feilong Wang
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
High
Feilong Wang
Feilong Wang (flwang)
Changed in glance:
importance: Undecided → High
assignee: nobody → Fei Long Wang (flwang)
status: New → Triaged
Feilong Wang (flwang)
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/119612
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=45c109556d633b95aa24860dc6f03042ca62d180
Submitter: Jenkins
Branch: master

commit 45c109556d633b95aa24860dc6f03042ca62d180
Author: Fei Long Wang <email address hidden>
Date: Mon Sep 8 00:19:25 2014 +1200

    Glance API V2 can't recognize parameter 'id'

    Based on current implement, API V2 is using **id** in image schema,
    but using **image_id** for most of the internal functions as key
    word arguments. So user will got a key error if using:

    glance --os-image-api-version 2 image-create --id <id>

    This patch will map 'id' to 'image_id' in RequestDeserializer and
    add an unit test case fo the change.

    Closes-Bug: 1366515

    Change-Id: I4c72881a7ada728307e806776426b42cf4cf0993

Changed in glance:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in glance:
milestone: none → juno-rc1
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: juno-rc1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.