Comment 3 for bug 1550284

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

Reviewed: https://review.openstack.org/287302
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=fe9226898772c4ff909f9c3f0cb05c271333b73a
Submitter: Jenkins
Branch: master

commit fe9226898772c4ff909f9c3f0cb05c271333b73a
Author: Johannes Grassler <email address hidden>
Date: Wed Mar 2 17:20:16 2016 +0100

    Make auth_url lookup dynamic

    If _get_auth_url() is run on heat-api startup, it can cause heat-api to crash
    in situations where Keystone is not running, yet or temporarily unavailable.
    This patch converts the auth_url attribute into a property method that is only
    run when it is needed, thus preventing this race condition.

    Change-Id: Ife6d9e51ea9647e4658105c016867efe769e5363
    Closes-Bug: #1550284