Glance does not send notification for activating an image

Bug #1038190 reported by Mingyan Bao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Wishlist
Iccha Sethi

Bug Description

When an image is uploaded, the image status is set to "saving", and a notifier msg goes out. However when the image is done uploading, the image status is set to "active", but no notifier msg is sent.

This means that for apps listening for msgs to get updates, the image will always be in the "saving" state until a refresh of some sort.

See the attached file, images.py, for a proposed fix on lines 481 - 487.

Revision history for this message
Mingyan Bao (bao-mingyan) wrote :
Brian Waldon (bcwaldon)
summary: - Glance does not send notifier for activating an image
+ Glance does not send notification for activating an image
Changed in glance:
importance: Undecided → Wishlist
status: New → Triaged
Changed in glance:
assignee: nobody → Iccha Sethi (iccha-sethi)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Brian Waldon (bcwaldon)
Changed in glance:
milestone: none → folsom-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/11887
Committed: http://github.com/openstack/glance/commit/d912a5df135eb383d91277682090dfd065c8de91
Submitter: Jenkins
Branch: master

commit d912a5df135eb383d91277682090dfd065c8de91
Author: isethi <email address hidden>
Date: Thu Aug 23 17:48:58 2012 +0000

    Activation notification for glance v1 api

    Sends notification after activation of image in glance
    v1 api

    Fixes bug 1038190

    Change-Id: Ic535ce37cd9df652b94b0ed152b5b87dcec28ecf

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: folsom-rc1 → 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.