** Also affects: puppet-keystone Importance: Undecided Status: New
** No longer affects: puppet-keystone ** Project changed: keystone => puppet-keystone ** Changed in: puppet-keystone Status: New => Confirmed ** Changed in: puppet-keystone Importance: Undecided => High ** Changed in: puppet-keystone Assignee: (unassigned) => Sofer Athlan-Guyot (sofer-athlan-guyot) ** Summary changed: - When kestone is slow to respond getting user fails + When keystone is slow to respond: getting user fails -- 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/1597357 Title: When keystone is slow to respond: getting user fails Status in puppet-keystone: Confirmed Status in tripleo: Confirmed Bug description: To test if an user exists we check the keystone db by using openstack show user 'foo' ... If the user doesn't exists then we get an error. The usual retry of openstack lib would imply that we wait the full request_timeout to get this. This is currently ~170s. So 170s times the number of user in the catalog! To overcome this a the call is wrapped inside a no retry outer function[1] The problem is that on very slow platform legit timeout can occur, this is especially true for CI. Here is an example of such failure: Error: /Stage[main]/Keystone::Roles::Admin/Keystone_user[admin]: Could not evaluate: Command: 'openstack ["user", "show", "--format", "shell", ["admin", "--domain", "default"]]' has been running for more then 20 seconds (tried 0, for a total of 0 seconds) From http://logs.openstack.org/58/322858/11/check-tripleo/gate- tripleo-ci-centos-7-ha/7e5b0a6/logs/postci.txt.gz [1] https://github.com/openstack/puppet-keystone/blob/master/lib/puppet/provider/keystone_user/openstack.rb#L81 To manage notifications about this bug go to: https://bugs.launchpad.net/puppet-keystone/+bug/1597357/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp