keystone::wsgi::apache broken on Juno with Ubuntu 14.04

Bug #1425912 reported by Martin Gerhard Loschwitz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-keystone
Fix Released
Medium
Unassigned

Bug Description

To make the WSGI version of Keystone work, the script relies on a Python file that creates the binding between Keystone and Apache. Ubuntu doesn't ship this WSGI file, which is available from https://raw.githubusercontent.com/openstack/keystone/stable/juno/httpd/keystone.py and thus puppet-keystone ships its own version of the file.

The file is outdated and will lead to Keystone reporting nothing but

Thu Feb 26 12:39:26.092551 2015] [:error] [pid 8183:tid 140330078480128] [remote 10.0.80.13:27177] mod_wsgi (pid=8183): Target WSGI script '/usr/lib/cgi-bin/keystone/main' cannot be loaded as Python module.
[Thu Feb 26 12:39:26.092585 2015] [:error] [pid 8183:tid 140330078480128] [remote 10.0.80.13:27177] mod_wsgi (pid=8183): Exception occurred processing WSGI script '/usr/lib/cgi-bin/keystone/main'.
[Thu Feb 26 12:39:26.092608 2015] [:error] [pid 8183:tid 140330078480128] [remote 10.0.80.13:27177] Traceback (most recent call last):
[Thu Feb 26 12:39:26.092623 2015] [:error] [pid 8183:tid 140330078480128] [remote 10.0.80.13:27177] File "/usr/lib/cgi-bin/keystone/main", line 42, in <module>
[Thu Feb 26 12:39:26.092644 2015] [:error] [pid 8183:tid 140330078480128] [remote 10.0.80.13:27177] config.setup_logging(CONF)

Due to its architecture, it's impossible to overwrite the path that the module will use to get the WSGI module. When using Keystone + mod_wsgi on Ubuntu with Juno, this module is thus fundamentally broken.

summary: - keystone::wsgi::apache broken on Juno
+ keystone::wsgi::apache broken on Juno with Ubuntu 14.04
Revision history for this message
Sebastien Badia (sbadia) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-keystone (stable/juno)

Reviewed: https://review.openstack.org/159428
Committed: https://git.openstack.org/cgit/stackforge/puppet-keystone/commit/?id=3bb6ec1281d831b743e3c18587d75227fb96dc19
Submitter: Jenkins
Branch: stable/juno

commit 3bb6ec1281d831b743e3c18587d75227fb96dc19
Author: Martin Gerhard Loschwitz <email address hidden>
Date: Thu Feb 26 12:58:17 2015 +0100

    Sync keystone.py with upstream to function with Juno

    Keystone in Juno has changed and thus changes to keystone.py
    are required for proper functionality. This patch syncs the
    keystone.py with upstream as available at

    https://raw.githubusercontent.com/openstack/keystone/stable/juno/httpd/keystone.py

    Closes-Bug: #1425912
    Change-Id: I3ce510adbe4e29e3d3857d976c341c13ea269694

tags: added: in-stable-juno
Changed in puppet-keystone:
status: New → Fix Committed
importance: Undecided → Medium
Matt Fischer (mfisch)
Changed in puppet-keystone:
milestone: none → 6.0.0
status: Fix Committed → Fix Released
Mathieu Gagné (mgagne)
Changed in puppet-keystone:
status: Fix Released → Fix Committed
Mathieu Gagné (mgagne)
Changed in puppet-keystone:
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.