document how to setup magnum api with apache

Bug #1477444 reported by yuntongjin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Confirmed
Medium
Unassigned

Bug Description

In product usage, api server should be setup with apache server instead of simple_http,
need a doc on how setup magnum api with apache

yuntongjin (yuntongjin)
Changed in magnum:
assignee: nobody → yuntongjin (yuntongjin)
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
Revision history for this message
Kevin Lefevre (archifleks) wrote :

Are you talking about setting up magnum-api as a wsgi app with mod_wsgi in apache ? Like Keystone ?

Revision history for this message
yuntongjin (yuntongjin) wrote :

yes, exactly

hongbin (hongbin034)
Changed in magnum:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Murali Allada (murali-allada) wrote :

removing assignee because of inactivity.

Changed in magnum:
assignee: yuntongjin (yuntongjin) → nobody
Revision history for this message
Michal Jura (mjura) wrote :

As part of this bug, I want to link this change

https://review.openstack.org/#/c/427723/

Revision history for this message
Michal Jura (mjura) wrote :

# OpenStack Magnum Apache2 example configuration
# Required Apache2 Modules
# - mod_wsgi

Listen 9511

<VirtualHost *:9511>
    WSGIScriptAlias / /srv/www/magnum-api/app.wsgi
    WSGIDaemonProcess magnum-api user=magnum group=magnum processes=3 threads=10
    WSGIProcessGroup magnum-api
    ErrorLog /var/log/magnum/magnum-api.log
    CustomLog /var/log/magnum/magnum-api.log combined

    <Directory /srv/www/magnum-api/>
        Options FollowSymLinks MultiViews
        AllowOverride None
        Require all granted
    </Directory>
</VirtualHost>

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.