← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1041332] Re: Image delete notification sends old image info instead of deleted image info

 

Cleaning up, lets open this again if it is still an issue.

** Changed in: glance
       Status: Triaged => Invalid

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

Title:
  Image delete notification sends old image info instead of deleted
  image info

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

Bug description:
  One of the earlier commits(51faf289) introduced this change:

  
  -            image = registry.delete_image_metadata(req.context, id)
  +            registry.delete_image_metadata(req.context, id)

  so later when notification is sent out

   self.notifier.info('image.delete', image)

  it sends the old image info instead of deleted image info. This in
  turn results in the image having fields with deleted=False and
  deleted_at=null

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