← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1298462] Re: Glance WSGI image upload fails

 

Using mod_wsgi is not recommended with Glance.  The mod_wsgi protocol
does not support Transfer-Encoding: chunked and therefore makes it
unsuitable for use with Glance. However, you could theoretically deploy
Glance using mod_wsgi but it will fail on any requests that use a
chunked transfer encoding.

see: https://docs.openstack.org/glance/latest/admin/apache-httpd.html

** Changed in: glance
   Importance: Low => Undecided

** Changed in: glance
       Status: Incomplete => Won't Fix

** Changed in: glance
     Assignee: Jay Wang (jaywang144) => (unassigned)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1298462

Title:
  Glance WSGI image upload fails

Status in Glance:
  Won't Fix

Bug description:
  Hi there.

  When running latest Havana Glance behind an Apache httpd server with
  mod_wsgi, an image upload fails with the following error:

      2014-03-27 14:15:25.656 7292 DEBUG glance.api.v1.upload_utils [-]
  Client disconnected before sending all data to backend
  upload_data_to_store /usr/lib/python2.7/dist-
  packages/glance/api/v1/upload_utils.py:231

  Narrowing this down, this is similar to this ML thread (except the
  error shown): http://lists.openstack.org/pipermail/openstack-
  dev/2013-December/022510.html

  Applying the patch in that thread, solves the error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1298462/+subscriptions


References