Bug 826120

Summary: keystone service fails to start on a clean install
Product: [Fedora] Fedora EPEL Reporter: Alan Pevec <apevec>
Component: openstack-keystoneAssignee: Alan Pevec <apevec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: apevec, bfilippov, breu, d.busby, Jan.van.Eldik, jonathansteffan, markmc, p, rbryant
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-keystone-2012.1-6.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-31 17:01:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed patch apevec: review? (pbrady), pbrady: review+

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.