Add retry on RuntimeError while connecting to api server
While connecting to API server, the library could raise RuntimeError if
authentication fails. During system init, it is possible that keystone server is
not yet up. We should retry on such failure.
Change-Id: I2cc84c1d6fbd3e78fb6cb42d3c21944b54c0061b
Closes-Bug: 1477907
(cherry picked from commit 44fe58f7857fb33020412e9b0bd832f505eb3978)
Reviewed: https:/ /review. opencontrail. org/13078 github. org/Juniper/ contrail- controller/ commit/ e6112b908d6b48d 3f8f458e2c8ade4 aa54ebb1bb
Committed: http://
Submitter: Zuul
Branch: R2.20
commit e6112b908d6b48d 3f8f458e2c8ade4 aa54ebb1bb
Author: Sachin Bansal <email address hidden>
Date: Thu Aug 13 17:49:30 2015 -0700
Add retry on RuntimeError while connecting to api server
While connecting to API server, the library could raise RuntimeError if
authentication fails. During system init, it is possible that keystone server is
not yet up. We should retry on such failure.
Change-Id: I2cc84c1d6fbd3e 78fb6cb42d3c219 44b54c0061b 020412e9b0bd832 f505eb3978)
Closes-Bug: 1477907
(cherry picked from commit 44fe58f7857fb33