Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-22 Thread Kairat Kushaev
Just small note about mod_wsgi for Glance, You need mod_wsgi v.4.4.0 or older to work with Glance in daemon mode. Otherwise, glance should fail when uploading images. Best regards, Kairat Kushaev On Sat, Aug 20, 2016 at 4:00 AM, Nick Papadonis wrote: > > > On Fri, Aug 19, 2016 at 5:34 PM, John

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-19 Thread Nick Papadonis
On Fri, Aug 19, 2016 at 5:34 PM, John Dickinson wrote: > > > On 17 Aug 2016, at 15:27, Nick Papadonis wrote: > > > comments > > > > On Wed, Aug 17, 2016 at 4:53 PM, Matthew Thode < > prometheanf...@gentoo.org> > > wrote: > > > >> On 08/17/2016 03:52 PM, Nick Papadonis wrote: > >> > >>> Thanks for

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-19 Thread John Dickinson
On 17 Aug 2016, at 15:27, Nick Papadonis wrote: > comments > > On Wed, Aug 17, 2016 at 4:53 PM, Matthew Thode > wrote: > >> On 08/17/2016 03:52 PM, Nick Papadonis wrote: >> >>> Thanks for the quick response! >>> >>> Glance worked for me in Mitaka. I had to specify 'chunked transfers' >>> and i

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-19 Thread Nick Papadonis
Here's an example with SSL enabled: mod_wsgi: #!/usr/bin/python2.7 import os import sys from oslo_utils import encodeutils # XXX reduce dependencies from glance.cmd.api import main import glance_store from oslo_config import cfg from oslo_log import log as logging import oslo_messaging import os

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-18 Thread Matthew Thode
On 08/17/2016 03:52 PM, Nick Papadonis wrote: > Comments > > > Glance worked for me in Mitaka. I had to specify 'chunked transfers' > and increase the size limit to 5GB. I had to pull some of the WSGI > source from glance and alter it slightly to call from Apache. > > I saw that Nova claims mo

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-18 Thread Nick Papadonis
I followed the instructions from IBM and Swift does appear to work correctly under mod_wsgi. I have yet to do extensive multi-node testing. I'm a bit surprised why those, ~50 SLOC code snippets to start the service, have yet to be integrated into the Swift repo. In my single node environment, Gla

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-17 Thread John Dickinson
I don't know of people running Swift in production with mod_wsgi. The original doc you referenced and the related work done upstream was done several years ago, IIRC by IBM. Personally, I've never deployed Swift that way. However, I too am really interested in the general answers to your questio

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-17 Thread Nick Papadonis
comments On Wed, Aug 17, 2016 at 4:53 PM, Matthew Thode wrote: > On 08/17/2016 03:52 PM, Nick Papadonis wrote: > > > Thanks for the quick response! > > > > Glance worked for me in Mitaka. I had to specify 'chunked transfers' > > and increase the size limit to 5GB. I had to pull some of the WSG

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-17 Thread Matthew Thode
On 08/17/2016 03:52 PM, Nick Papadonis wrote: > Comments > > > Thanks for the quick response! > > Glance worked for me in Mitaka. I had to specify 'chunked transfers' > and increase the size limit to 5GB. I had to pull some of the WSGI > source from glance and alter it slightly to call from Ap

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-17 Thread Nick Papadonis
Comments On Wed, Aug 17, 2016 at 4:41 PM, Matthew Thode wrote: > On 08/17/2016 03:22 PM, Nick Papadonis wrote: > > I was hacking in this area on Mitaka and enabled Glance, Cinder, Heat, > > Swift, Ironic, Horizon and Keystone under Apache mod_wsgi instead of the > > Eventlet server.Cinder, K

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-17 Thread Mathieu Gagné
I don't have much experience with mod_wsgi. I just want to let you know that when I tried to run nova-api service in mod_wsgi (with OpenStack Kilo), I had to remove the python-librabbitmq and librabbitmq1 packages from my system or mod_wsgi would throw Segmentation Fault (11) when a user tries to

Re: [openstack-dev] mod_wsgi: what services are people using with it?

2016-08-17 Thread Matthew Thode
On 08/17/2016 03:22 PM, Nick Papadonis wrote: > Hi Folks, > > I was hacking in this area on Mitaka and enabled Glance, Cinder, Heat, > Swift, Ironic, Horizon and Keystone under Apache mod_wsgi instead of the > Eventlet server.Cinder, Keystone, Heat and Ironic provide Python > source in Github

[openstack-dev] mod_wsgi: what services are people using with it?

2016-08-17 Thread Nick Papadonis
Hi Folks, I was hacking in this area on Mitaka and enabled Glance, Cinder, Heat, Swift, Ironic, Horizon and Keystone under Apache mod_wsgi instead of the Eventlet server.Cinder, Keystone, Heat and Ironic provide Python source in Github to easily enable this. It appears that Glance and Swift (