re-creating a previously deleted image member fails with 500 ServerError
Bug #1098700 reported by
Eoghan Glynn
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Critical
|
Eoghan Glynn | ||
Grizzly |
Fix Released
|
Critical
|
Eoghan Glynn |
Bug Description
When a previously deleted image member is re-created, this fails with 500 ServerError due to the registry service failing to commit the update to the image_members table.
The problem arises because the declared uniqueness constraint on that table only spans the image_id and member columns, but does not take into account that deleted rows are left in situ with the deleted_at and deleted columns set appropriately. Hence the unique constraint is violated by the addition of the new row.
Changed in glance: | |
importance: | Undecided → Medium |
assignee: | nobody → Eoghan Glynn (eglynn) |
milestone: | none → grizzly-3 |
status: | New → In Progress |
Changed in glance: | |
milestone: | grizzly-3 → grizzly-rc1 |
Changed in glance: | |
importance: | Medium → Critical |
Changed in glance: | |
assignee: | Eoghan Glynn (eglynn) → Mark Washenberger (markwash) |
Changed in glance: | |
assignee: | Mark Washenberger (markwash) → Eoghan Glynn (eglynn) |
Changed in glance: | |
assignee: | Eoghan Glynn (eglynn) → Mark Washenberger (markwash) |
Changed in glance: | |
assignee: | Mark Washenberger (markwash) → Eoghan Glynn (eglynn) |
Changed in glance: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/19547
Review: https:/