← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1310735] [NEW] In Swift store, retry chunk upload on Exception

 

Public bug reported:

During an image upload, if an exception occurs while uploading a chunk
to swift, the glance swift store aborts the upload and deletes all the
chunks that were uploaded thus far. Though this is the desired behavior,
it maybe worthwhile to retry the failed chunk before deleting other
chunks to account for intermittent connection errors. This will save a
lot of time and bandwidth especially in the case of large images.

https://github.com/openstack/glance/blob/master/glance/store/swift.py#L437

** Affects: glance
     Importance: Undecided
     Assignee: Hemanth Makkapati (hemanth-makkapati)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Hemanth Makkapati (hemanth-makkapati)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1310735

Title:
  In Swift store, retry chunk upload on Exception

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  During an image upload, if an exception occurs while uploading a chunk
  to swift, the glance swift store aborts the upload and deletes all the
  chunks that were uploaded thus far. Though this is the desired
  behavior, it maybe worthwhile to retry the failed chunk before
  deleting other chunks to account for intermittent connection errors.
  This will save a lot of time and bandwidth especially in the case of
  large images.

  https://github.com/openstack/glance/blob/master/glance/store/swift.py#L437

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1310735/+subscriptions


Follow ups

References