chunked image upload fails when using glance-api behind wsgi server

Bug #1549678 reported by Bjørnar Ness
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
New
Undecided
Unassigned

Bug Description

The use of chunked uploading (of images) does not work under apache/uwsgi.

The following are the errors I can see:

# openstack image create cirros < cirros-0.3.4-x86_64-disk.img
'ascii' codec can't decode byte 0xfb in position 3: ordinal not in range(128)

in logs:

...
 Wrote 0 bytes to /var/lib/glance/images/0a98b4c4-9397-45c5-a870-b1959a9fbfd4 with checksum d41d8cd98f00b204e9800998ecf8427e add /keystone/lib/python3.4/site-packages/glance_store/_drivers/filesystem.py:627

# openstack image create cirros --file cirros-0.3.4-x86_64-disk.img
Error finding address for http://localhost:9091/v2/images/f3552eff-e543-4cb8-8b85-ca88f768a9ff/file: [Errno 104] Connection reset by peer

in logs: the same

Changed in glance:
assignee: nobody → Anseela M M (anseela-m00)
Revision history for this message
Anseela M M (anseela-m00) wrote :

Hi , I am currently working on this issue.
Am able to create cirros image using the command
openstack image create cirros --file cirros-0.3.4-x86_64-disk.img
Error finding address for http://localhost:9091/v2/images/f3552eff-e543-4cb8-8b85-ca88f768a9ff.

I have a couple of queries regarding the same
1) which version openstack you are using?
2) let me know the steps so that i can reproduce the bug.

Changed in glance:
assignee: Anseela M M (anseela-m00) → nobody
assignee: nobody → Anseela M M (anseela-m00)
Changed in glance:
assignee: Anseela M M (anseela-m00) → nobody
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.