Merge lp:~jaypipes/glance/bug818292 into lp:~hudson-openstack/glance/trunk
Proposed by
Jay Pipes
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Matt Dietz | ||||
Approved revision: | 181 | ||||
Merged at revision: | 180 | ||||
Proposed branch: | lp:~jaypipes/glance/bug818292 | ||||
Merge into: | lp:~hudson-openstack/glance/trunk | ||||
Diff against target: |
99 lines (+39/-7) 4 files modified
glance/api/v1/images.py (+0/-1) glance/store/s3.py (+35/-4) glance/tests/functional/test_s3.py (+2/-1) glance/tests/unit/test_s3_store.py (+2/-1) |
||||
To merge this branch: | bzr merge lp:~jaypipes/glance/bug818292 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Rick Harris (community) | Approve | ||
Matt Dietz (community) | Approve | ||
Josh Kearney (community) | Approve | ||
Review via email: mp+70351@code.launchpad.net |
Description of the change
Removes the call to webob.Request.
general images controller to prevent the image from being copied
into memory. In the S3 controller, which needs a seekable file-like
object when calling boto.s3.
around this by writing chunks of the request body to a tempfile on
the API node, then stream this tempfile to S3.
To post a comment you must log in.
Verified in our lab. Thanks Jay!