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.
Reviewed: https:/ /review. openstack. org/287302 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=fe922689877 2c4ff909f9c3f0c b05c271333b73a
Committed: https:/
Submitter: Jenkins
Branch: master
commit fe9226898772c4f f909f9c3f0cb05c 271333b73a
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: Ife6d9e51ea9647 e4658105c016867 efe769e5363
Closes-Bug: #1550284