Use pbr for installing Ironic wsgi script

Bug #1668966 reported by Anton Arefiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Pavlo Shchelokovskyy

Bug Description

Instead of copying wsgi application py file to wsgi server, ironic should create mod_wsgi reference
to wsgi script.

The pbr has `wsgi_scripts`[1] group which builds a base script that will run under mod_wsgi. It's created via the python install process.

[1] https://github.com/openstack/deb-python-pbr/blob/77d9ab7d07feb38281531deeeb4399017b5735d0/pbr/packaging.py#L342

Anton Arefiev (aarefiev)
description: updated
Revision history for this message
Vladyslav Drok (vdrok) wrote :
Changed in ironic:
status: New → Triaged
Revision history for this message
Vladyslav Drok (vdrok) wrote :

This is being handled here https://review.openstack.org/507011

Changed in ironic:
assignee: nobody → Pavlo Shchelokovskyy (pshchelo)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/507011
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=61b81d0c735f7d4ccbde4f4c818e4a7320ea544a
Submitter: Zuul
Branch: master

commit 61b81d0c735f7d4ccbde4f4c818e4a7320ea544a
Author: Vasyl Saienko <email address hidden>
Date: Mon Sep 25 10:44:09 2017 +0300

    Add uWSGI support

    This patch implements uWSGI support for ironic API service.
    ironic/api/app.wsgi is deprecated in favor of pbr generated
    ironic-api-wsgi

    Co-Authored-By: anascko <email address hidden>

    Change-Id: Ieb68c1042e31b77f9a549fd90afe31a65008deca
    Closes-Bug: #1719260
    Closes-Bug: #1668966

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 10.0.0

This issue was fixed in the openstack/ironic 10.0.0 release.

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.