revocation events sync slows responses to all authenticated calls

Bug #1291423 reported by Adam Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
Adam Young

Bug Description

There is a noticable lag when doing multiple calls to Keystone. The server shows in the log:

 KVS lock acquired for: os-revoke-events acquire /opt/stack/keystone/keystone/common/kvs/core.py:375

Putting the following delay in mitigates it significantly

        delta = datetime.timedelta(seconds=1)
        if self._last_fetch and self._last_fetch > timeutils.utcnow() + delta:
            return

Tags: performance
Dolph Mathews (dolph)
tags: added: performance
Changed in keystone:
importance: Undecided → High
milestone: none → icehouse-rc1
status: New → Triaged
assignee: nobody → Adam Young (ayoung)
Revision history for this message
Dolph Mathews (dolph) wrote :

Reminder- this is the last RC blocker without a patch in review ;)

Revision history for this message
Adam Young (ayoung) wrote :

Fixed by 7c9746c49b7518f2a000f7e4822e822c6eeee81d

Revision history for this message
Dolph Mathews (dolph) wrote :
Changed in keystone:
status: Triaged → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: icehouse-rc1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.