Generates exception when updating properties

Bug #706192 reported by Rick Harris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Rick Harris

Bug Description

When trying to update an image with properties attached, Glance will generate an exception. It boils down to not checking whether the property already exists before attempting to create it.

We're using a composite-key-constraint, which means the DB won't permit any dups.

In addition, there seems to be a small bug related to how properties are decoded from headers:

It looks like the underscore is erroneously being converted to a dash, kernel_id -> kernel-id.

http://paste.openstack.org/show/544/

Related branches

Changed in glance:
assignee: nobody → Rick Harris (rconradharris)
status: New → In Progress
importance: Undecided → Medium
Jay Pipes (jaypipes)
Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → 0.1.7
status: Fix Committed → 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.