← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1157515] Re: non-default auth plugins can't be configured

 

** Changed in: keystone/grizzly
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1157515

Title:
  non-default auth plugins can't be configured

Status in OpenStack Identity (Keystone):
  Fix Committed
Status in Keystone grizzly series:
  Fix Released

Bug description:
  Attempting to register a custom auth plugin has no effect.

  It looks like the code in keystone.config should actually be failing
  if it got that far ('config' does not exist). Instead, I'm guessing
  that when the for loop below is hit in keystone.config,
  CONF.auth.methods still has the default values (not what is defined in
  the config file):

    # register any non-default auth methods here (used by extensions, etc)
    for method_name in CONF.auth.methods:
      if method_name not in _DEFAULT_AUTH_METHODS:
        config.register_str(method_name, group='auth')

  So the condition inside the for loop can never be true, and no custom
  methods will be registered.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1157515/+subscriptions