v2 image update should be use PATCH, not PUT

Bug #1039821 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Critical
Mark Washenberger

Bug Description

According to the WIP v2 spec, we should be using a PATCH syntax for updating an image rather than PUT.

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/12159

Changed in glance:
assignee: Mark Washenberger (markwash) → Brian Waldon (bcwaldon)
Brian Waldon (bcwaldon)
Changed in glance:
assignee: Brian Waldon (bcwaldon) → Mark Washenberger (markwash)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/12159
Committed: http://github.com/openstack/glance/commit/9c94a72c14ccd94df0c6239c2bfe70337d693b39
Submitter: Jenkins
Branch: master

commit 9c94a72c14ccd94df0c6239c2bfe70337d693b39
Author: Mark Washenberger <email address hidden>
Date: Mon Aug 27 06:42:33 2012 +0000

    Use PATCH instead of PUT for v2 image modification

    With the previous partial put syntax in the v2 api, it was not possible
    to delete image properties. This patch provides a more expressive syntax
    in the form of the HTTP PATCH verb. This implementation depends on the
    `application/openstack-images-v2.0-json-patch` content-type which is
    intended to be a compatible subset of application/json-patch.

    Addresses bug 1039821.

    Change-Id: I510ab397f9b8b5bd1deec0fb25855e305e7ec86e

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: folsom-rc1 → 2012.2
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.