app.wsgi does not accept argv

Bug #1483306 reported by Jim Rollenhagen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Jim Rollenhagen

Bug Description

app.wsgi passes [] to prepare_service, which does not allow for passing e.g. --config-file to the app running with this wsgi file.

Tags: api
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/211235

Changed in ironic:
assignee: nobody → Jim Rollenhagen (jim-rollenhagen)
status: New → In Progress
Dmitry Tantsur (divius)
Changed in ironic:
importance: Undecided → Medium
tags: added: api
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/211235
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=6049dcfa32191651f810561e5fbab0f5937b64e1
Submitter: Jenkins
Branch: master

commit 6049dcfa32191651f810561e5fbab0f5937b64e1
Author: Jim Rollenhagen <email address hidden>
Date: Mon Aug 10 15:39:31 2015 +0000

    Make app.wsgi more like ironic.cmd.api

    This changes app.wsgi to behave the same way as ironic.cmd.api
    entrypoint. It adds configuration logging, and passes sys.argv to
    prepare_service.

    Change-Id: I8474311434eb07da8359eb25ad513d9c4e992a94
    Closes-Bug: #1483306

Changed in ironic:
status: In Progress → Fix Committed
Changed in ironic:
milestone: none → 4.0.0
status: Fix Committed → Fix Released
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.