mark properties as deleted if they don't exist on an update

Bug #741171 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
In Progress
Undecided
Dan Prince

Bug Description

When using the glance client to update an image the metadata (aka 'properties') items not marked as deleted if they no longer exist.

As an example. If I were to created an image with properties:

  'properties': {'distro': 'Ubuntu 10.04 LTS', 'arch': 'x86_64'}

And then update the image with properties:

  'properties': {'arch': 'x86_64'}

I would expect a subsequent call to get the image detail to return only {'arch': 'x86_64'}. This is not currently what happens.

Related branches

Dan Prince (dan-prince)
Changed in glance:
status: New → In Progress
assignee: nobody → Dan Prince (dan-prince)
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.