Add/remove/replace locations from an image

Bug #1196536 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Diane Fleming
openstack-manuals
Fix Released
Medium
Diane Fleming

Bug Description

https://review.openstack.org/35134
commit 371c265fe74603a6580a3e9d2291ce5d07421615
Author: Zhi Yan Liu <email address hidden>
Date: Mon Jul 1 21:35:35 2013 +0800

    Add/remove/replace locations from an image

    This patch modifies the PATCH /v2/images/{id} API call. Clients can add,
    remove and replace locations from the set of multiple locations
    associated with a given image ID in the following way:

    PATCH /images/1234
    [{"op": "add", "path": "/locations/-", "value": "scheme3://path3"}]
    PATCH /images/1234
    [{"op": "add", "path": "/locations/1", "value": "scheme4://path4"}]
    PATCH /images/1234
    [{"op": "remove", "path": "/locations/2"}]
    PATCH /images/1234
    [{"op": "replace", "path": "/locations", "value": []}]
    PATCH /images/5678
    [{"op": "replace", "path": "/locations", "value": ["scheme5://path5",
    "scheme6://path6"]}]

    Glance will check location correctness when client adding, and will
    remove the image content from the store when client remove a location.

    Implement bp: multiple-image-locations
    docimpact

    Change-Id: I845646fde22e18be27929b5ec70ef8041b6fa733
    Signed-off-by: Zhi Yan Liu <email address hidden>

Tags: image-api
Tom Fifield (fifieldt)
no longer affects: openstack-manuals
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → havana
Revision history for this message
Diane Fleming (diane-fleming) wrote :

backport: havana

Changed in openstack-api-site:
milestone: havana → icehouse
Tom Fifield (fifieldt)
tags: added: image-api
removed: glance
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → icehouse
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
Revision history for this message
Diane Fleming (diane-fleming) wrote :
Changed in openstack-manuals:
status: Confirmed → In Progress
Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
Diane Fleming (diane-fleming) wrote :

api-site has pointer to the Appendix B in the Image Service API v2 Reference, which has all the updates for this bug.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to image-api (master)

Reviewed: https://review.openstack.org/93527
Committed: https://git.openstack.org/cgit/openstack/image-api/commit/?id=3a0824510a39aacf4b50070fef88c52bf0eb436a
Submitter: Jenkins
Branch: master

commit 3a0824510a39aacf4b50070fef88c52bf0eb436a
Author: Diane Fleming <email address hidden>
Date: Tue May 13 19:49:55 2014 -0500

    Update PATCH appendix to show new /location field

    Closes-Bug: #1196536

    Change-Id: Ife41c0152138f0e2523de135a7ad8242b37d2591
    author: diane fleming

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