Cannot delete all queued images from cache when using xattr driver

Bug #1197402 reported by Paul Bourke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Paul Bourke

Bug Description

Deleting all queued images is broken when using caching with the xattr driver, due to a missing get_cache_files function:

"""
$ glance-cache-manage --force delete-all-queued-images
Failed to Delete all queued images. Got error:
The request returned 500 Internal Server Error.
"""

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/35482

Changed in glance:
assignee: nobody → Paul Bourke (pauldbourke)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/35482
Committed: http://github.com/openstack/glance/commit/7e844389c5adbb3d23505b3b52ced9a175b22d1a
Submitter: Jenkins
Branch: master

commit 7e844389c5adbb3d23505b3b52ced9a175b22d1a
Author: Paul Bourke <email address hidden>
Date: Tue Jul 2 18:21:17 2013 +0000

    Fix cache delete-all-queued-images for xattr

    Deleting all queued images was broken when using caching with the xattr
    driver, due to a missing get_cache_files function.

    The missing function can be satisfied by substituting the call to
    get_cache_files() with get_all_regular_files()

    Fixes bug 1197402

    Change-Id: Ia7f289e15615ef31865ebfd23902aa1ae1b05d66

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