Target WSGI script does not contain WSGI application 'application'.

Bug #1566093 reported by Matthew J Black
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Low
Bathri Ajay Raj

Bug Description

The cinder wsgi script, https://github.com/openstack/cinder/blob/master/cinder/wsgi/wsgi.py, is generating an error in apache of:

[Tue Apr 05 01:00:47.600694 2016] [:error] [pid 10210:tid 139652014364416] [remote 127.0.0.1:62539] mod_wsgi (pid=10210): Target WSGI script '/usr/lib/cgi-bin/cinder/osapi_volume' does not contain WSGI application 'application'.

It looks like a line is missing. I was able to fix the wsgi by adding the line "application = initialize_application()" at the end of the wsgi script.

tags: added: low-hanging-fruit
Changed in cinder:
assignee: nobody → abdul nizamuddin (abdul-nizamuddin)
Revision history for this message
Matthew J Black (mjblack) wrote :

Looks like https://github.com/openstack/cinder/blob/master/doc/source/devref/api.apache.rst needs to be updated to the new location of where to get the wsgi script, which is /usr/bin/cinder-wsgi

Changed in cinder:
assignee: abdul nizamuddin (abdul-nizamuddin) → Bathri Ajay Raj (bathri-s)
Changed in cinder:
status: New → Incomplete
status: Incomplete → Confirmed
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
importance: Undecided → Low
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

Based on the comments in the proposed patch, this doesn't appear to be an actual issue.

Changed in cinder:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by Mike Perez (<email address hidden>) on branch: master
Review: https://review.openstack.org/309375

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.