Comment 2 for bug 1154806

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

Reviewed: https://review.openstack.org/24370
Committed: http://github.com/openstack/python-keystoneclient/commit/db7603824ff541b4319bb193d5861ac6af570b37
Submitter: Jenkins
Branch: master

commit db7603824ff541b4319bb193d5861ac6af570b37
Author: Dan Prince <email address hidden>
Date: Wed Mar 13 17:33:22 2013 -0400

    Make auth_token lazy load the auth_version.

    Updates recent changes to the auth_token middleware (this
    is a regression in d782a99) so that self.auth_version is
    lazy loaded.

    This fixes issues where other openstack services would fail
    to startup correctly if Keystone is not running. The issue
    was auth_token was trying to make a request to '/' to get
    versions information on startup to "autodetect" the correct
    version to use.

    This patch fixes startup issues by moving the version detection
    so that it is lazy loaded right before it is actually used.

    This issue should fix SmokeStack :)

    Fixes LP Bug #1154806.

    Change-Id: Ib24f5386fa1ffe0e0365548840f0cfeaae36f548