← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1630435] Re: make the assignment/resource backend default to sql

 

Reviewed:  https://review.openstack.org/382428
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=4888a11c4ddad82f08baeac69c6522fde2ba4691
Submitter: Jenkins
Branch:    master

commit 4888a11c4ddad82f08baeac69c6522fde2ba4691
Author: Lance Bragstad <lbragstad@xxxxxxxxx>
Date:   Wed Oct 5 13:54:22 2016 +0000

    Default the assignment backend to SQL
    
    Previously, keystone had logic to default the assignment backend,
    without providing a default through configuration. This behavior was
    removed and we should provide a sensible default for the assignment
    backend.
    
    This commit defaults the assignment backend to `sql` since that is
    the only backend keystone currently supports. We also leave a warning
    that there isn't any reason to change the default unless a deployer
    is writing a proprietary or custom assignment backend.
    
    Change-Id: I6fb9b7fa401c0805a538b46141a4d8c8df2093cf
    Closes-Bug: 1630435


** 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/1630435

Title:
  make the assignment/resource backend default to sql

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  Currently, we do not provide a default for the assignment driver or
  the resource driver:

  https://github.com/openstack/keystone/blob/856bd73826d36731c611b6479d204816cde0b2e9/keystone/conf/assignment.py#L18-L28

  https://github.com/openstack/keystone/blob/856bd73826d36731c611b6479d204816cde0b2e9/keystone/resource/core.py#L56-L63

  Which results in a deprecation message:

  Deprecated: Use of the identity driver config to automatically
  configure the same assignment driver has been deprecated, in the "O"
  release, the assignment driver will need to be explicitly configured
  if different than the default (SQL).

  Some background... once upon a time, there was an LDAP backend for
  assignment, it was removed in the M release. We had logic built-in so
  deployers needed to only specify one backend (identity or assignment)
  and we would default to the one they picked. This is no longer the
  case since we only have a single assignment backend.

  
  We should provide sensible supported configuration defaults for both the resource driver and assignment driver.

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


References