'queued' images aren't set to 'deleted' when deleted

Bug #1048851 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Brian Waldon

Bug Description

Images that are in 'queued' status are not being updated to the 'deleted' status when a DELETE action is taken on them through the v1 API. For example, http://paste.openstack.org/show/20833/. And this is an active image being deleted for comparison: http://paste.openstack.org/show/20831/. These images are still being updated with deleted=True, so they are being removed from image-list commands.

Brian Waldon (bcwaldon)
Changed in glance:
status: New → 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/12743

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

Reviewed: https://review.openstack.org/12743
Committed: http://github.com/openstack/glance/commit/254a8e664d4eb09c0f104d0cffdd14b217eddb78
Submitter: Jenkins
Branch: master

commit 254a8e664d4eb09c0f104d0cffdd14b217eddb78
Author: Brian Waldon <email address hidden>
Date: Mon Sep 10 16:28:04 2012 -0700

    Ensure status of 'queued' image updated on delete

    Images in 'queued' status (and those without a location attribute)
    were not being updated with a status of 'deleted' when a DELETE
    action was taken on them through both the v1 and v2 APIs. This
    patch ensures that both APIs correctly update the images.

    Fixes bug 1048851.

    Change-Id: I9604d4ce5d59066fb108625df0fa114cc044d604

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.