Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490764 - sys-auth/keystone-2013.2 build does not install all config files in /etc/keystone
Summary: sys-auth/keystone-2013.2 build does not install all config files in /etc/keys...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-11-08 17:59 UTC by Davide Rebeccani
Modified: 2013-11-18 03:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-auth/keystone-2013.2 corrected build file (keystone-2013.2.ebuild,3.45 KB, text/plain)
2013-11-08 18:00 UTC, Davide Rebeccani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Rebeccani 2013-11-08 17:59:04 UTC
sys-auth/keystone-2013.2 dosen't install all /etc/keystone config files.

policy.v3cloudsample.json and keystone-paste.ini are missing and without keystone-paste.ini the auth service doesn't start.

Reproducible: Always

Steps to Reproduce:
1.emerge =sys-auth/keystone-2013.2
2.stat /etc/keystone/keystone-paste.ini
3.stat /etc/keystone/policy.v3cloudsample.json
Actual Results:  
After issuing /etc/init.d/keystone start the service crashes

Expected Results:  
After issuing /etc/init.d/keystone start the auth service is up and running
Comment 1 Davide Rebeccani 2013-11-08 18:00:53 UTC
Created attachment 362792 [details]
sys-auth/keystone-2013.2 corrected build file

Added instruction to install the missing files and changed the slot definition to Havana to reflect the correct versioning of openstack.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-12 14:07:41 UTC
Comment on attachment 362792 [details]
sys-auth/keystone-2013.2 corrected build file

--- keystone-2013.2.ebuild      2013-11-12 15:06:17.529127109 +0100
+++ -   2013-11-12 15:07:19.855184915 +0100
@@ -14,7 +14,7 @@
 SRC_URI="http://launchpad.net/${PN}/havana/${PV}/+download/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
-SLOT="grizzly"
+SLOT="havana"
 KEYWORDS="~amd64 ~x86"
 IUSE="+sqlite mysql postgres ldap test"
 REQUIRED_USE="|| ( mysql postgres sqlite )"
@@ -97,4 +97,5 @@
        insinto /etc/keystone
        doins etc/keystone.conf.sample etc/logging.conf.sample
        doins etc/default_catalog.templates etc/policy.json
+       doins etc/policy.v3cloudsample.json etc/keystone-paste.ini
 }
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-11-18 03:24:16 UTC
fixed, thanks :D