Comment 7 for bug 1041332

Revision history for this message
Justin Shepherd (jshepher) wrote : Re: [Bug 1041332] Re: Image delete notification sends old image info instead of deleted image info

Yeah.. I'll restore the merge-prop

Sent from my iPhone

> On Nov 24, 2013, at 12:06, "Iccha Sethi" <email address hidden> wrote:
>
> Justin,
>
> A related bug has been reported
> https://bugs.launchpad.net/glance/+bug/1201701.
>
> Since you already have a patch up for it, would you like to restore it?
>
> --
> You received this bug notification because you are a bug assignee.
> 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):
> In Progress
>
> 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