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

Bug #908922 reported by Dan Prince on 2011-12-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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) on 2011-12-27
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → Low
status: New → In Progress

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) on 2012-01-25
Changed in nova:
milestone: none → essex-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers