Can't upload image more than 2GB using glance.client

Bug #700162 reported by Ewan Mellor
8
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/python2.6/site-packages/glance/client.py", line 228, in add_image
    body = image_data.read()
OverflowError: requested number of bytes is more than a Python string can hold

Related branches

Revision history for this message
Jay Pipes (jaypipes) wrote :

Obviously related to bug 698316.

Changed in glance:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Jay Pipes (jaypipes)
Jay Pipes (jaypipes)
Changed in glance:
status: Confirmed → In Progress
Changed in glance:
status: In Progress → Fix Committed
Changed in glance:
status: Fix Committed → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote :

Please keep bugs FixCommitted until we formally release Bexar

Changed in glance:
status: Fix Released → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → 0.1.7
status: Fix Committed → Fix Released
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.