NSX-mh: Failover controller connections on socket failures
Upon a socket connection failure, release the current connection
and acquire a new one to a different controller.
This is achieved by treating socket connection failures as 503
errors returned by the controller.
Also, ensure an even distribution of initial connection priorities
across controllers.
Cherry-picked from commit: 1602baf661b7e2cd951bf1603c6e99ab9638e1b0
Reviewed: https:/ /review. openstack. org/216261 /git.openstack. org/cgit/ openstack/ vmware- nsx/commit/ ?id=d8108779eaf 65e04e88e958c10 5d6ccb7eae0ca4
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit d8108779eaf65e0 4e88e958c105d6c cb7eae0ca4
Author: Salvatore Orlando <email address hidden>
Date: Tue Aug 18 00:55:32 2015 -0700
NSX-mh: Failover controller connections on socket failures
Upon a socket connection failure, release the current connection
and acquire a new one to a different controller.
This is achieved by treating socket connection failures as 503
errors returned by the controller.
Also, ensure an even distribution of initial connection priorities
across controllers.
Cherry-picked from commit: 1602baf661b7e2c d951bf1603c6e99 ab9638e1b0
Change-Id: I988b46a4d1f51e 4ad6b22ed3d892e ab6a96a3acd
Closes-Bug: 1485883