Can't upload image more than 2GB using glance.client
Bug #700162 reported by
Ewan Mellor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Critical
|
Jay Pipes |
Bug Description
It's not possible to upload an image larger than 2GB to Glance using glance.client:
new_meta = c.add_image(meta, f)
File "/usr/lib/
body = image_data.read()
OverflowError: requested number of bytes is more than a Python string can hold
Related branches
lp:~jaypipes/glance/bug700162
- Devin Carlen (community): Approve
- Rick Harris (community): Approve
- Soren Hansen: Pending requested
- Ewan Mellor: Pending requested
-
Diff: 134 lines (+54/-18)3 files modifiedglance/client.py (+35/-17)
glance/server.py (+3/-1)
tests/stubs.py (+16/-0)
Changed in glance: | |
status: | Confirmed → In Progress |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | none → 0.1.7 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Obviously related to bug 698316.