Comment 4 for bug 1493835

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/221738
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=556c1a6633931207370106478fa2d155fbffb126
Submitter: Jenkins
Branch: master

commit 556c1a6633931207370106478fa2d155fbffb126
Author: Jamie Lennox <email address hidden>
Date: Wed Sep 9 22:38:04 2015 +1000

    Identity plugin thread safety

    A common case is for Nova (or other service) to create a service
    authentication plugin from a configuration file and then have many
    greenlet threads that want to reuse that authentication. If a token
    expires then many threads all try and fetch a new token to use and can
    step over each other.

    I was hoping for a way to put a lock in so that all plugins were thread
    safe however fixing it for identity plugins solves almost all real world
    situations and anyone doing non-identity plugins will have to manage
    threads themselves.

    Change-Id: Ib6487de7de638abc69660c851bd048a8ec177109
    Closes-Bug: #1493835