keystone client is leaving hanging connections to the server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
High
|
Unassigned | ||
django-openstack-auth |
Invalid
|
High
|
Unassigned | ||
python-keystoneclient |
Fix Released
|
High
|
Jamie Lennox |
Bug Description
This is remarkable noticeable from Horizon which use keystoneclient to connect to the keystone server and at each request this later is left hanged there which consume the keystone server and at one point this will result to having keystone server process exceeding the limit of connection that is allowed to handle (ulimit of open filed).
## How to check:
If you have horizon installed so just keep using it normally (creating instances ....) while keeping an eye on the server number of opened files "lsof -p <keystone-pid>" you can see that the number increment pretty quickly.
To reproduce this bug very fast try launching 40 instances at the same time
for example using "Instance Count" field.
## Why:
This because keystone client doesn't reuse the http connection pool, so in a long running service (e.g. horizon) the effect will be a new connections created for each request no connection reuse.
Patch coming soon with more details.
Changed in python-keystoneclient: | |
importance: | Undecided → High |
milestone: | none → 0.6.1 |
description: | updated |
Changed in python-keystoneclient: | |
milestone: | 0.6.1 → 0.7.0 |
Changed in python-keystoneclient: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | juno-3 → juno-rc1 |
Changed in horizon: | |
milestone: | juno-rc1 → kilo-1 |
Changed in django-openstack-auth: | |
importance: | Undecided → High |
Changed in horizon: | |
milestone: | kilo-1 → kilo-2 |
Changed in django-openstack-auth: | |
assignee: | Florent Flament (florentflament) → nobody |
Changed in horizon: | |
milestone: | kilo-2 → kilo-3 |
Changed in django-openstack-auth: | |
assignee: | nobody → Romain Hardouin (romain-hardouin) |
Changed in horizon: | |
milestone: | kilo-3 → kilo-rc1 |
Changed in horizon: | |
milestone: | kilo-rc1 → liberty-1 |
Changed in horizon: | |
status: | Confirmed → In Progress |
status: | In Progress → Confirmed |
Changed in django-openstack-auth: | |
assignee: | Romain Hardouin (romain-hardouin) → nobody |
Changed in horizon: | |
milestone: | liberty-1 → liberty-2 |
Changed in django-openstack-auth: | |
status: | In Progress → Confirmed |
Changed in horizon: | |
milestone: | liberty-2 → liberty-3 |
Changed in horizon: | |
milestone: | liberty-3 → liberty-rc1 |
Changed in horizon: | |
milestone: | liberty-rc1 → next |
Changed in horizon: | |
milestone: | next → none |
Fix proposed to branch: master /review. openstack. org/74720
Review: https:/