Bug 826120 - keystone service fails to start on a clean install
Summary: keystone service fails to start on a clean install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: openstack-keystone
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alan Pevec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-29 16:18 UTC by Alan Pevec
Modified: 2012-07-31 17:01 UTC (History)
9 users (show)

Fixed In Version: openstack-keystone-2012.1-6.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-31 17:01:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Proposed patch (1.94 KB, patch)
2012-05-29 17:43 UTC, Alan Pevec
apevec: review? (pbrady)
pbrady: review+
Details | Diff

Description Alan Pevec 2012-05-29 16:18:49 UTC
Description of problem:
keystone service fails to start on a clean install
due to missing dependency.

Version-Release number of selected component (if applicable):
openstack-keystone-2012.1-5.el6

python-keystone depends on python-paste-deploy1.5 and /usr/lib/python2.6/site-packages/keystone/__init__.py is patched to pull parallel installed newer version but in keystone-all there's direct import of paste.deploy before keystone imports.

Proposed patch:
--- /usr/bin/keystone-all.orig	2012-05-21 19:52:53.000000000 -0400
+++ /usr/bin/keystone-all	2012-05-29 16:08:37.373950104 -0400
@@ -16,11 +16,11 @@
                                '__init__.py')):
     sys.path.insert(0, possible_topdir)
 
-from paste import deploy
-
 from keystone import config
 from keystone.common import wsgi
 
+from paste import deploy
+
 
 CONF = config.CONF

Comment 1 Alan Pevec 2012-05-29 17:43:24 UTC
Created attachment 587469 [details]
Proposed patch

Comment 2 Pádraig Brady 2012-05-29 18:44:12 UTC
Ah I see a recent keystone update dropped python-paste-script, and hence the requirement on python-paste-deploy

I also see python-quantumclient depends on it, but that's something to be looked at separately.

I tested the patch out here and it works.

I also did a quick scan for other possible needed locations and I couldn't see any.

So patch looks good!

Comment 4 Fedora Update System 2012-06-21 18:07:04 UTC
openstack-keystone-2012.1-8.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-6189/openstack-keystone-2012.1-8.el6

Comment 5 Fedora Update System 2012-07-16 12:52:52 UTC
openstack-keystone-2012.1.1-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/openstack-keystone-2012.1.1-1.el6

Comment 6 Fedora Update System 2012-07-16 17:02:19 UTC
Package openstack-keystone-2012.1.1-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing openstack-keystone-2012.1.1-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-6413/openstack-keystone-2012.1.1-1.el6
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-07-31 17:01:20 UTC
openstack-keystone-2012.1.1-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


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