RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1104236 - Exception while running keystone on httpd
Summary: Exception while running keystone on httpd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-keystone
Version: unspecified
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: ---
Assignee: Adam Young
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-03 15:12 UTC by Jose Castro Leon
Modified: 2016-04-26 20:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 23:27:43 UTC
Embargoed:


Attachments (Terms of Use)
Patch for wsgi keystone file (425 bytes, text/plain)
2014-06-03 15:12 UTC, Jose Castro Leon
no flags Details

Description Jose Castro Leon 2014-06-03 15:12:57 UTC
Created attachment 901822 [details]
Patch for wsgi keystone file

Description of problem:
When running Keystone in httpd using the configuration guide proposed upstream it gives an exception while loading due to missing paste deploy.
This behavior was patched in keystone-all but not on the wsgi.

Version-Release number of selected component (if applicable):
rdo-release-havana-7.noarch.rpm

How reproducible:
100%

Steps to Reproduce:
1. Install RPM and HTTPD
2. Create httpd configuration that points to wsgi file in /usr/share/keystone
3. Start httpd service

Actual results:
[Tue Jun 03 17:01:56 2014] [error] Traceback (most recent call last):
File "/var/www/cgi-bin/keystone/main", line 20, in <module>
     from paste import deploy
 ImportError: cannot import name deploy

Expected results:
No error

Additional info:
It seems that the wsgi file is was not patched like in:
  https://github.com/redhat-openstack/keystone/commit/e053026a

Comment 1 Adam Young 2014-06-03 21:02:26 UTC
Iwas able to deploy without this change.  I think that there is an RPM dependency missing. I think you need python-paste-deploy

Comment 2 Jose Castro Leon 2014-06-24 08:17:20 UTC
There is something weird here, I have just installed python-paste-deploy and it works without the patch. I have now this two packages installed

Installed Packages
python-paste-deploy1.5.noarch  1.5.0-5.el6   @epel
python-paste-deploy.noarch     1.3.3-2.1.el6 @slc6-os

Keystone package has as a dependency only on:
python-paste-deploy1.5

Any ideas?

Comment 3 Alan Pevec 2015-03-19 23:27:43 UTC
Fixed in RDO Icehouse where we introduced updated python-* packages for EL6 in RDO repo instead of using parallel installable versions which were a pain to maintain.


Note You need to log in before you can comment on or make changes to this bug.