Bug 1041617

Summary: [RFE][swift]: Enable working as wsgi application of standard web server (Apache)
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/swift/+spec/wsgi-application-interface
Whiteboard: upstream_milestone_none upstream_status_good-progress upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:00:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 18:17:02 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/swift/+spec/wsgi-application-interface.

Description:

This blueprint focuses on enabling Swift to run as a wsgi application of Apache via mod_wsgi, but is designed to also address the more general need to allow using a fully features web server as a front end of open stack components. 

A thin wsgi interface is added in openstack common files, enabling open-stack components to interface a standard web server (E.g. Apache2) via wsgi.
Using this interface, a standard mature and full fledged web server can be used as a web front end, feeding the openstack components via standard wsgi interface.
This interface therefore offers an option (but does not mandate) to replace the current python web front end with a standard web server.
Alternatively, it offers a more efficient interface between a web server and the openstack components. 

In order for an openstack component to work as a wsgi application, the component needs to comply with the wsgi standard. For example Apache with mod_wsgi is not forgiving to certain violations of the standard. 
Included in this work is a set of bug fixes to get the swift code to comply with the wsgi standard and work with Apache mod_wsgi. 
The interface and bug fixes aim to maintain the current Swift functionality, while measured performance in swift using the existing web front end and an alternative Apache are comparable. 





Specification URL (additional information):

None