Nailgun service seems running while uWSGI instance is not functional

Bug #1555003 reported by Yuriy Taraday
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
slava valyavskiy
Mitaka
Won't Fix
Medium
Fuel Python (Deprecated)

Bug Description

In case of Nailgun start up failure (broken extension in my case) uWSGI by default falls back to "dynamic mode". Then all requests to it fail because no dynamic configuration is passed to uWSGI process from nginx. So "service nailgun status" shows that service is running while it is not funcitonal.

We should make uWSGI process exit with error code if Nailgun app cannot be loaded so that service manager will notice that smth wrong and take appropriate action.

Changed in fuel:
milestone: none → 9.0
assignee: nobody → Fuel Python Team (fuel-python)
tags: added: area-python module-nailgun
Changed in fuel:
status: New → Confirmed
Changed in fuel:
importance: Undecided → Medium
Dmitry Pyzhov (dpyzhov)
tags: added: tech-debt
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Confirmed → In Progress
no longer affects: fuel/newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/335243
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=a159e68966adb7baf6399c1e0fe887d590595903
Submitter: Jenkins
Branch: master

commit a159e68966adb7baf6399c1e0fe887d590595903
Author: slava <email address hidden>
Date: Wed Jun 29 01:28:37 2016 +0300

    Stop uwsgi service if nailgun app can not be loaded

    'need-app' option makes uwsgi exit if no app can be loaded

    Change-Id: Ie54987d4d04b3a8dc533fb5589b65a00a879924a
    Closes-bug: 1555003

Changed in fuel:
status: In Progress → Fix Committed
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.