← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1513102] Re: Useless deprecation message for driver import

 

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

commit c73907485a3d7c5319378d2e3a5e11593f66a930
Author: Brant Knudson <bknudson@xxxxxxxxxx>
Date:   Tue Nov 3 17:03:20 2015 -0600

    More useful message when using direct driver import
    
    In the Liberty release, we switched to using entrypoints for
    specifying the driver or auth plugin. The deprecation message
    didn't mention the driver name that was specified, nor did it
    mention where to look for the expected names, so it was not
    user friendly.
    
    Closes-Bug: 1513102
    Change-Id: I02e265684b26686523da9d648b37675feb052978


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

Title:
  Useless deprecation message for driver import

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  
  When a driver is specified using the full name (as in, the old config file is used), for example if I have:

   driver = keystone.contrib.federation.backends.sql.Federation

  I get a deprecation warning:

  31304 WARNING oslo_log.versionutils [-] Deprecated: direct import of
  driver is deprecated as of Liberty in favor of entrypoints and may be
  removed in N.

  The deprecation warning is pretty useless. It should at least include
  the string that was used so that I can figure out what to change.

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


References