← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1495669] [NEW] domain-specific drivers does not honor the list_limit set in domain-specific conf file

 

Public bug reported:

Step to reproduce:

1. enable domain_specific drivers in keystone.conf

  domain_specific_drivers_enabled = true
  domain_configurations_from_database = false
  domain_config_dir = /etc/keystone/domains

2. set the global list_limit to 2 in keystone.conf

  [default]
  list_limit = 2

3. create a new domain, along with the corresponding domain-specific
conf in /etc/keystone/domains/ and set the list_limit to 3 at the driver
level

[identity]
driver = ldap
list_limit = 5

[ldap]

url = ldap://localhost
...

4. restart Keystone and do user list for the specific domain and notice
that only 2 users are returned


Interestingly, the list_limit set in the [identity] section in keystone.conf works.  i.e.

  [default]
  list_limit = 2

  [identity]
  list_limit = 5

We just can't override it in the domain-specific conf file.

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  domain-specific drivers does not honor the list_limit set in domain-
  specific conf file

Status in Keystone:
  New

Bug description:
  Step to reproduce:

  1. enable domain_specific drivers in keystone.conf

    domain_specific_drivers_enabled = true
    domain_configurations_from_database = false
    domain_config_dir = /etc/keystone/domains

  2. set the global list_limit to 2 in keystone.conf

    [default]
    list_limit = 2

  3. create a new domain, along with the corresponding domain-specific
  conf in /etc/keystone/domains/ and set the list_limit to 3 at the
  driver level

  [identity]
  driver = ldap
  list_limit = 5

  [ldap]

  url = ldap://localhost
  ...

  4. restart Keystone and do user list for the specific domain and
  notice that only 2 users are returned

  
  Interestingly, the list_limit set in the [identity] section in keystone.conf works.  i.e.

    [default]
    list_limit = 2

    [identity]
    list_limit = 5

  We just can't override it in the domain-specific conf file.

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


Follow ups