update_image in glance.client doesn't add content-length so the swift backend can't chunk
Bug #845788 reported by
Vish Ishaya
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Jay Pipes | ||
Diablo |
Fix Released
|
Undecided
|
Unassigned | ||
glance (Ubuntu) |
Fix Released
|
High
|
Scott Moser |
Bug Description
Code was added to add_image in glance.client to send in the content length, so that glance can chunk the file if it is over 5G. This code also needs to be added to update_image. Snapshotting in nova relies on client.update_image and it is breaking with large images sent to a swift backend because it excedes the 5G limit of swift.
Changed in glance: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2011.3 |
assignee: | nobody → Jay Pipes (jaypipes) |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Scott Moser (smoser) |
milestone: | none → ubuntu-11.10 |
tags: | added: server-o-rs |
tags: | added: diablo-backport |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/412 github. com/openstack/ glance/ commit/ 6cfff16f2dc22a8 70bfe3808a7895d fbbaa11369
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit 6cfff16f2dc22a8 70bfe3808a7895d fbbaa11369
Author: Jay Pipes <email address hidden>
Date: Fri Sep 9 13:03:19 2011 -0400
Fixes LP Bug#845788
glance. client. image_update needed to calculate size so that Glance's Swift
driver can do chunking properly for large objects.
Change-Id: Iafe8034a710cff 53a0caa3ae5e9ee 3a3adda19f8