← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1552397] [NEW] unable to set configuration file when running keystone as wsgi application

 

Public bug reported:

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.

** Affects: keystone
     Importance: Undecided
         Status: New

** Description changed:

  Currently, the initialize_application() function defined inside
- keystone/server/wsgi.py module does not allow defining custom for
- configuration file:
+ 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()
-     ...
+     common.configure()
+     ...
  
  I think the initialize_application prototype should allow passing
  through arguments for the common.configure() function, that would allow
- for instance customizing the config file location etc. Such
- customization is possible when running keystone under eventlet model.
+ for instance alternate config file locations etc. Such customization is
+ possible when running keystone under eventlet model.

** Description changed:

  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
+ I think the initialize_application() prototype should allow passing
  through arguments for the common.configure() function, that would allow
- for instance alternate config file locations etc. Such customization is
- possible when running keystone under eventlet model.
+ for instance defining alternate config file locations etc. Such
+ customization is possible when running keystone under eventlet model.

-- 
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):
  New

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


Follow ups