Generates exception when updating properties
Bug #706192 reported by
Rick Harris
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-
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.
Related branches
lp:~rconradharris/glance/bug706192
- Jay Pipes (community): Approve
- Devin Carlen (community): Approve
-
Diff: 249 lines (+136/-61)5 files modifiedbin/glance-upload (+85/-0)
glance/registry/db/sqlalchemy/api.py (+46/-11)
glance/util.py (+3/-2)
setup.py (+2/-1)
tests/test_data.py (+0/-47)
Changed in glance: | |
assignee: | nobody → Rick Harris (rconradharris) |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | none → 0.1.7 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.