Comment 2 for bug 1733502

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

Reviewed: https://review.openstack.org/521753
Committed: https://git.openstack.org/cgit/openstack/glance_store/commit/?id=9ace679c1dae5e8f68946a46ce1dfb2926539b52
Submitter: Zuul
Branch: master

commit 9ace679c1dae5e8f68946a46ce1dfb2926539b52
Author: kairat_kushaev <email address hidden>
Date: Tue Nov 21 12:14:27 2017 +0400

    Use cached auth_ref instead of gettin a new one each time

    The commit fixes an issue in renewing connections to Swift in case
    if a given token is about to expire soon. get_auth_ref() returned
     a new auth_ref each time it was called so the will_expire_soon()
     call was useless since it always returned False. Now the cached
    auth_ref property is used instead.
    Closes-Bug:#1733502

    Change-Id: I6cb53aec6798f965cf2a120d4f676a43bca5046a