Shared filesystem management project for OpenStack.
Go to file
Valeriy Ponomaryov 16bfc82962 Add possibility to run 'manila-api' with wsgi web servers
One of the goals for Pike [1] is to make each API service be able to
run under web servers that support WSGI applications,
such as Apache (+mod-wsgi) and Nginx (+uWSGI).

Do following to address governance requirements:
- Split existing manila/wsgi.py module into 3 modules:
  First (manila/wsgi/eventlet_server.py) is used by
  eventlet-based WSGI application approach.
  Second (manila/wsgi/wsgi.py) is used for WSGI web servers.
  And third (manila/wsgi/common.py) is common code for both.
  All three are made in cinder-like way to have alike-approach.
- Reuse common code from "oslo_service/wsgi.py" module that
  allows us to remove code duplication.
- Delete config opts that are defined by newly reused common code.
- Register new entry point that will be manila wsgi app: "manila-wsgi".
- Fix "manila/api/openstack/wsgi.py" module to be compatible
  with str/bytes handling approach used by Apache mod-wsgi plugin using
  different python versions (2/3).
- Add web server config template "devstack/apache-manila.template"
- Add devstack support where usage of this feature can be
  enabled or disabled using "MANILA_USE_MOD_WSGI" env var.
  It is set to "True" by default, because it is requirement for Pike
  release - to have it running in all CI jobs.
  Disable it only for one CI job that uses dummy driver and tests
  various manila core features that are not covered by other CI jobs.

[1] https://governance.openstack.org/tc/goals/pike/deploy-api-in-wsgi.html

Partially-Implements BluePrint wsgi-web-servers-support
DocImpact
Change-Id: Ibdef3c6810b65a5d6f3611e2d0079c635ee523ab
2017-04-10 12:49:20 +03:00
api-ref/source [api-ref]: Add missing share statuses 2017-03-09 08:15:05 +01:00
contrib Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
devstack Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
doc Merge "Fix dedup/compression description in doc" 2017-04-07 19:31:14 +00:00
etc Merge "Align policy.json with code" 2017-03-26 04:03:28 +00:00
install-guide/source Fix important:: directive display in install guide 2017-04-05 12:06:19 +02:00
manila Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
manila_tempest_tests Add read-only tests for cephx access rules 2017-03-31 12:57:28 +00:00
rally-jobs [Rally] fix jobs 2017-03-30 15:12:22 +03:00
releasenotes Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
tools Prepare for using standard python tests 2017-02-03 21:37:33 +01:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:49:12 +05:30
.gitignore Update .gitignore 2017-01-16 22:24:53 +08:00
.gitreview Move from stackforge to openstack 2014-09-19 21:23:02 +00:00
.testr.conf Use oslotest.base.BaseTestCase as test base class 2015-01-04 08:43:52 +01:00
babel.cfg Initialize from cinder 2013-08-08 10:34:06 -04:00
CONTRIBUTING.rst Added CONTRIBUTING file in .rst format 2015-11-15 23:45:38 +05:30
HACKING.rst remove hacking rule that enforces log translation 2017-03-17 05:54:03 -04:00
LICENSE Initialize from cinder 2013-08-08 10:34:06 -04:00
README.rst Show team and repo badges on README 2016-11-25 12:39:22 +01:00
requirements.txt Updated from global requirements 2017-04-03 21:52:38 +00:00
run_tests.sh Enable bashate during pep8 run 2015-03-18 13:40:03 +01:00
setup.cfg Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
setup.py Updated from global requirements 2017-03-03 22:51:04 +00:00
test-requirements.txt Updated from global requirements 2017-03-03 22:51:04 +00:00
tox.ini set basepython for pylint tox env 2017-03-20 15:44:39 +00:00

Team and repository tags

image

MANILA

You have come across an OpenStack shared file system service. It has identified itself as "Manila." It was abstracted from the Cinder project.

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://github.com/openstack/manila.git

For developer information please see HACKING.rst

You can raise bugs here http://bugs.launchpad.net/manila

Python client

https://github.com/openstack/python-manilaclient.git