Image delete calls slow due to synchronous wait on backend store delete

Bug #1316234 reported by Nikhil Komawar on 2014-05-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Undecided
Jesse J. Cook

Bug Description

Issue:-
-----------
Currently, the image delete calls can be very slow if the image being delete is large (consisting of multiple chunks esp. in case of swift) or if the backend store has slow response time.

Solution:-
-----------------
Make image delete call asynchronous

Specifically, for v1, call on this line https://github.com/openstack/glance/blob/master/glance/api/v1/images.py#L1012

and for v2, waiting on a fix for the bug https://bugs.launchpad.net/glance/+bug/1316233 to enable asynchronous deletion of image data from the store.

Zhi Yan Liu (lzy-dev) wrote :

IMO, for this case, end user should think about using delayed_delet function with scrubber service. It was just designed for this requirement.

Changed in glance:
assignee: nobody → Jesse J. Cook (jesse-j-cook)
Changed in glance:
status: New → In Progress

Change abandoned by Jesse J. Cook (<email address hidden>) on branch: master
Review: https://review.openstack.org/118459
Reason: https://review.openstack.org/#/c/125156/

Jesse J. Cook (jesse-j-cook) wrote :

"""
IMO, for this case, end user should think about using delayed_delet function with scrubber service. It was just designed for this requirement.
"""

The scrubber does handle asynchronous deletes. However, there are some enhancements that could be done to make it a more viable option: https://review.openstack.org/#/c/125156/

This should probably be marked won't fix.

Changed in glance:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers