When keystone is slow to respond: getting user fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-keystone |
Fix Released
|
High
|
Sofer Athlan-Guyot | ||
tripleo |
Fix Released
|
Critical
|
Sofer Athlan-Guyot |
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[
no longer affects: | puppet-keystone |
affects: | keystone → puppet-keystone |
Changed in puppet-keystone: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Sofer Athlan-Guyot (sofer-athlan-guyot) |
summary: |
- When kestone is slow to respond getting user fails + When keystone is slow to respond: getting user fails |
Changed in tripleo: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
assignee: | nobody → Sofer Athlan-Guyot (sofer-athlan-guyot) |
tags: | added: ci |
Changed in tripleo: | |
milestone: | none → newton-2 |
Changed in tripleo: | |
status: | Confirmed → Fix Released |
Fix proposed to branch: master /review. openstack. org/335600
Review: https:/