Instance image metadata is always blank in usage notification when instance has been deleted

Bug #1021430 reported by Alex Meade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Alex Meade

Bug Description

compute.instance.exists notifications always have image_meta = {} if the instance has been deleted. This is because the db query for looking up the metadata has read_deleted set to 'no' but the image_meta is set to deleted when the instance is destroyed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/9392

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/9392
Committed: http://github.com/openstack/nova/commit/4cdc30796c7c76068898cd9e9280e8d7a11a57cb
Submitter: Jenkins
Branch: master

commit 4cdc30796c7c76068898cd9e9280e8d7a11a57cb
Author: Alex Meade <email address hidden>
Date: Thu Jul 5 14:27:33 2012 -0400

    Add checks for retrieving deleted instance metadata for notification events.

    This enables metadata for a deleted instance to be reported in usage
    notifications. However, deleted metadata for a nondeleted instance will
    not be shown.

    Fixes bug 1021430.

    Change-Id: I7ce5c720c7705be34724679bb4ff99fb8ba37a27

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → folsom-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-3 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.