components/openstack/keystone/patches/launchpad-1384775.patch
branchs11-update
changeset 4072 db0cec748ec0
equal deleted inserted replaced
4067:4be1f488dda8 4072:db0cec748ec0
       
     1 commit 8bd0f6ecd882a3119acb5fd7a760122c8931db94
       
     2 Author: wanghong <[email protected]>
       
     3 Date:   Sat Oct 25 10:26:55 2014 +0800
       
     4 
       
     5     default revoke driver should be the non-deprecated driver
       
     6     
       
     7     Have checked other config options that default is not the deprecated
       
     8     option, others are OK.
       
     9     
       
    10     Change-Id: Ie6e7351114d79eb25b392faaa0e6376c24c45fa0
       
    11     Closes-Bug: #1384775
       
    12 
       
    13 --- keystone-2014.2.2/etc/keystone.conf.sample.~1~	2014-12-04 21:03:56.000000000 -0800
       
    14 +++ keystone-2014.2.2/etc/keystone.conf.sample	2015-01-25 17:25:46.677132074 -0800
       
    15 @@ -1332,7 +1332,7 @@
       
    16  
       
    17  # An implementation of the backend for persisting revocation
       
    18  # events. (string value)
       
    19 -#driver=keystone.contrib.revoke.backends.kvs.Revoke
       
    20 +#driver=keystone.contrib.revoke.backends.sql.Revoke
       
    21  
       
    22  # This value (calculated in seconds) is added to token
       
    23  # expiration before a revocation event may be removed from the
       
    24 --- keystone-2014.2.2/keystone/common/config.py.~1~	2014-12-04 21:03:56.000000000 -0800
       
    25 +++ keystone-2014.2.2/keystone/common/config.py	2015-01-25 17:25:46.677474875 -0800
       
    26 @@ -275,7 +275,7 @@ FILE_OPTIONS = {
       
    27      ],
       
    28      'revoke': [
       
    29          cfg.StrOpt('driver',
       
    30 -                   default='keystone.contrib.revoke.backends.kvs.Revoke',
       
    31 +                   default='keystone.contrib.revoke.backends.sql.Revoke',
       
    32                     help='An implementation of the backend for persisting '
       
    33                          'revocation events.'),
       
    34          cfg.IntOpt('expiration_buffer', default=1800,