Copying existing image to AWS S3 fails for files larger than 5GB

Bug #2051914 reported by Abhishek Kekane
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
New
Undecided
Unassigned

Bug Description

Copying of larger images using copy-image import method fails for AWS S3 store. The reason is while copying the image it uses 'single_part' upload for uploading large images. On normal image creation process it does uses 'multi_part' upload and thus works fine.

After further analyzing the code in glance, image size is not passed to [1] which is required to decide the upload mechanism on S3 side.

[1] https://github.com/openstack/glance_store/blob/master/glance_store/_drivers/s3.py#L628

Possible solution:

Since we have image size available at the time of copying the image, we should pass it all the way to s3 driver through onion layer of glance.

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.