← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1098700] Re: re-creating a previously deleted image member fails with 500 ServerError

 

** Changed in: glance
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1098700

Title:
  re-creating a previously deleted image member fails with 500
  ServerError

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1098700/+subscriptions