|
@@ -117,7 +117,7 @@ def update_instance(create_client, slb_client, instance_id, version):
|
|
server_start_sh = os.path.join(rov_server_config.start_sh['target_dir'], rov_server_config.start_sh['name'])
|
|
server_start_sh = os.path.join(rov_server_config.start_sh['target_dir'], rov_server_config.start_sh['name'])
|
|
server_start_commend = f"sh {server_start_sh} {version}"
|
|
server_start_commend = f"sh {server_start_sh} {version}"
|
|
utils.run_command(client=create_client, instance_ids=[instance_id], command=server_start_commend)
|
|
utils.run_command(client=create_client, instance_ids=[instance_id], command=server_start_commend)
|
|
- # 5. 异步探活
|
|
|
|
|
|
+ # 5. 探活
|
|
global health_instances
|
|
global health_instances
|
|
health_instances = []
|
|
health_instances = []
|
|
server_health_check(slb_client, instance_id)
|
|
server_health_check(slb_client, instance_id)
|