Bug 1217672

Summary: Overridden default for Token Provider points to non-existent class
Product: [Fedora] Fedora Reporter: Adam Young <ayoung>
Component: openstack-keystoneAssignee: Alan Pevec (Fedora) <apevec>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: apevec, apevec, ayoung, bfilippov, itamar, jonathansteffan, jose.castro.leon, p, rbryant, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1217663 Environment:
Last Closed: 2016-12-20 13:37:30 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:
Bug Depends On: 1217663    
Bug Blocks:    

Description Adam Young 2015-05-01 01:29:53 UTC
+++ This bug was initially created as a clone of Bug #1217663 +++

Description of problem:
If a user installs and runs the Keystione packlage without packstack support, the token provider fails with:

ERROR keystone.common.wsgi [-] No module named backends.sql

This is due to the file /usr/share/keystone/keystone-dist.conf overriding the default config for the token provider, using old information.  The file has:

[token]
driver=keystone.token.backends.sql.Token


Which is no longer the correct path, it should be getting the default value which you can see in the sample config file:

driver = keystone.token.persistence.backends.sql.Token


If this value is explicitly st in /etc/keystone/keystone.conf  everything works correctly.

the keystone rpmshould not be shipping  /usr/share/keystone/keystone-dist.conf as it will continue to trip over default values that change from upstream.  For example, it has 


[database]
connection=mysql://keystone:keystone@localhost/keystone

Which is an example, but should not work;  it is a hardcoded password. 

The catalog section has:"

[catalog]
driver=keystone.catalog.backends.sql.Catalog
template_file=/etc/keystone/default_catalog.templates

This makes no sense:  the template value is only used if the template driver is enabled, not the SQL driver.

Comment 1 Jan Kurik 2015-07-15 14:12:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 2 Fedora End Of Life 2016-11-24 11:45:39 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2016-12-20 13:37:30 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.