yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49790
[Bug 1552397] Re: unable to set configuration file when running keystone as wsgi application
Reviewed: https://review.openstack.org/288216
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=c7cb72b20e181e7df0bed2370a48b3aea249162f
Submitter: Jenkins
Branch: master
commit c7cb72b20e181e7df0bed2370a48b3aea249162f
Author: Cristian Sava <Cristian_Sava@xxxxxxxxxxxx>
Date: Fri Mar 4 00:55:03 2016 +0000
Customize config file location when run as wsgi app.
Running keystone as a wsgi application should allow the same kind of
customization as when run from the command line. Setting sys.argv for
wsgi applications is difficult so that environment variables need to
be used for this purpose.
Closes-Bug: #1552397
Change-Id: I1cd8c7c9f8d4c748384f9b72511b677176672791
** Changed in: keystone
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1552397
Title:
unable to set configuration file when running keystone as wsgi
application
Status in OpenStack Identity (keystone):
Fix Released
Bug description:
Currently, the initialize_application() function defined inside
keystone/server/wsgi.py module does not allow defining custom
locations for configuration file:
def initialize_application(name, post_log_configured_function=lambda: None):
common.configure()
...
I think the initialize_application() prototype should allow passing
through arguments for the common.configure() function, that would
allow for instance defining alternate config file locations etc. Such
customization is possible when running keystone under eventlet model.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1552397/+subscriptions
References