- host: host health reconnect etcd add timeout
- region: request health status use 'GET' method
- region: only migrate running guests on host down
- etcd: keepalive use background context
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
* fix(region,host): auto migrate on host down
This patch fix source servers not shutdown on network unreachable.
Restart etcd session add timeout, and shutdown servers add force
option incase host stuck on scriptStop.
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
* host_health: add check network available
On host etcd keep alive failed, add check networks is available.
If networks available, may be is the etcd not work, in this case
we will net shutdowns servers and wait for etcd ready.
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>