Update xenapi glance plugin to use x-glance-registry-purge-props

Bug #908922 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Dan Prince

Bug Description

Glance now supports a 'x-glance-registry-purge-props' header which allows you to control when properties are purged on image PUT requests. We should update the xenapi glance plugin to make use of this header and save an extra HEAD request.

Currently we do:

1) HEAD to get existing properties

2) PUT to post image data along w/ existing properties.

With the new 'x-glance-registry-purge-props' header we can just do:

1) PUT to post image data

Dan Prince (dan-prince)
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/2625
Committed: http://github.com/openstack/nova/commit/93359c8476471b6e000afff1b991e05969e46ee6
Submitter: Jenkins
Branch: master

commit 93359c8476471b6e000afff1b991e05969e46ee6
Author: Dan Prince <email address hidden>
Date: Mon Dec 26 17:40:51 2011 -0500

    Update glance Xen plugin w/ purge props header.

    Update glance XenServer plugin to use X-Glance-Registry-Purge-Props.
    Fixes LP Bug #908922.

    Change-Id: I4d16fc8fb34e24195f3bc589d42bdbfadaf77398

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-3 → 2012.1
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.