Retry connection to api-server on exceptions; have hooks wait for connection
ResourceApiDriver needs to retry connection to api-server on any
exception (like authentication error etc.) and any pre/post hook
handlers should wait till connection is established to execute any
updates.
Change-Id: Iddc0ff6b2898bb0b02f4fd36b6e2ce746e8bc0e0
Closes-Bug: #1508558
(cherry picked from commit a3e2adb241fd4d55768492aa33a598f6f69e90d5)
Reviewed: https:/ /review. opencontrail. org/14713 github. org/Juniper/ contrail- controller/ commit/ 3da6e824fbbac2f d15d5728629e443 df1fc7f41a
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 3da6e824fbbac2f d15d5728629e443 df1fc7f41a
Author: Hampapur Ajay <email address hidden>
Date: Tue Oct 27 17:13:47 2015 -0700
Retry connection to api-server on exceptions; have hooks wait for connection
ResourceApiDriver needs to retry connection to api-server on any
exception (like authentication error etc.) and any pre/post hook
handlers should wait till connection is established to execute any
updates.
Change-Id: Iddc0ff6b2898bb 0b02f4fd36b6e2c e746e8bc0e0 5768492aa33a598 f6f69e90d5)
Closes-Bug: #1508558
(cherry picked from commit a3e2adb241fd4d5