Glance v2 Image Member Create Call is Subtly Changing

Bug #1527371 reported by Ian Cordasco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Low
Diane Fleming

Bug Description

Previously Glance's v2 API advertised a schema that indicated it only accepted member_id as the attribute in the JSON body POSTed to /v2/images/{image_id}/members but instead accepted member. This is also what is documented.

This bug is being fixed in 259160 in a backwards compatible manner. The documentation should, however, be updated to prefer using member_id instead of member.

It's unclear to me if we should advertise the fact that we will continue to fallback to checking member, or not.

Review: https://review.openstack.org/#/c/259160/1
Docs: http://developer.openstack.org/api-ref-image-v2.html#createImageMember-v2

Tags: glance
Atsushi SAKAI (sakaia)
Changed in openstack-api-site:
status: New → Confirmed
tags: added: glance
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
importance: Undecided → Low
milestone: none → mitaka
Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/266208
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=5d0588abcae01ddfebc3d77f8770e8777174e89f
Submitter: Jenkins
Branch: master

commit 5d0588abcae01ddfebc3d77f8770e8777174e89f
Author: Diane Fleming <email address hidden>
Date: Tue Jan 12 00:13:29 2016 -0600

    Add note about member and member_id attributes

    - Clean up ENTITIES
    - Consolidate all entities in common.ent
    - Add created_at and updated_at query parameters to list images

    Closes-Bug: #1517212
    Closes-Bug: #1527371

    Change-Id: I6fe788c4e2d55afa9d11e702844b581fd6fdeb87

Changed in openstack-api-site:
status: In Progress → 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.